rarila
|
1c298c4605
|
Conversion of Psalm\Type
|
2021-12-14 02:31:22 +01:00 |
|
ralila
|
e32af3c05a
|
Conversion of Psalm\Type\Atomic
|
2021-12-14 02:26:28 +01:00 |
|
Aaron Piotrowski
|
1f3a37ff02
|
Add support for first-class callables
|
2021-12-09 10:54:49 -06:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
Bruce Weirdan
|
e9d9481ea6
|
Merge pull request #7060 from rarila/codingstyle-convert-fqn
|
2021-12-05 02:46:03 +02:00 |
|
Matthew Brown
|
1956b85c41
|
Remove always-false args (#7056)
|
2021-12-04 10:40:52 -05:00 |
|
ralila
|
30a65685a2
|
Import instead of using fqn classes
|
2021-12-03 21:40:18 +01:00 |
|
ralila
|
2a956498bf
|
Import instead of using fqn functions
|
2021-12-03 21:07:25 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
Matthew Brown
|
175ba83332
|
Migrate most IssueBuffer::accepts calls to IssueBuffer::maybeAdd (#7020)
|
2021-11-29 14:54:17 -05:00 |
|
orklah
|
6e5f3db06c
|
makes $_SESSION possibly undefined
|
2021-11-04 22:45:46 +01:00 |
|
orklah
|
834d831915
|
allow assertion to work on $var::class
|
2021-11-04 20:44:42 +01:00 |
|
orklah
|
5282e4728b
|
allow assertion to work on $var::class
|
2021-11-04 20:33:30 +01:00 |
|
orklah
|
e8e2624c5f
|
Don't assert mixed type
|
2021-10-26 19:12:13 +02:00 |
|
Aleksandr Zhuravlev
|
b664850cdc
|
Added support of asserting properties of objects out of scope
|
2021-10-17 21:29:25 +13:00 |
|
orklah
|
e7cd2eac0a
|
Merge pull request #6641 from orklah/weird-assertion-count
Union::getAssertionString with multiple types
|
2021-10-13 08:15:28 +02:00 |
|
orklah
|
911076939c
|
Merge pull request #6628 from orklah/phpparser2
Php-Parser 4.13
|
2021-10-11 20:42:32 +02:00 |
|
orklah
|
2e64854a6c
|
don't allow getAssertionString to return a part of the Union
|
2021-10-11 16:07:57 +02:00 |
|
orklah
|
870ee4ff93
|
->args to ->getArgs
|
2021-10-09 23:37:04 +02:00 |
|
orklah
|
bac0217890
|
add "!" to invert the meaning of the errors
|
2021-10-09 21:15:27 +02:00 |
|
orklah
|
2c728546e4
|
Merge pull request #6485 from orklah/list-assert
assert that some type is a list
|
2021-10-04 13:31:34 +02:00 |
|
orklah
|
d3bc179abd
|
cover the case where the call to the function is namespaced but the function doesn't exists in the namespace
|
2021-10-02 10:02:24 +02:00 |
|
orklah
|
e0b2cb5028
|
consistency
|
2021-10-02 10:02:24 +02:00 |
|
orklah
|
0b8681c8bf
|
check namespace before adding assertions
|
2021-10-02 10:02:24 +02:00 |
|
orklah
|
fa9990ae55
|
fix wrong method name
|
2021-10-02 10:02:24 +02:00 |
|
orklah
|
e02eec932e
|
refactor Assertions for is_ functions
|
2021-10-02 10:02:24 +02:00 |
|
orklah
|
f641d9e95a
|
assert that some type is a list
|
2021-10-02 10:02:22 +02:00 |
|
orklah
|
7f0d25374f
|
add comment
|
2021-10-02 09:52:19 +02:00 |
|
orklah
|
83ad836e88
|
assert both sides of an equality
|
2021-10-02 09:52:19 +02:00 |
|
Bruce Weirdan
|
2e7e343ef8
|
Merge pull request #6423 from orklah/count-equal-0-negated-assertion
|
2021-10-02 00:53:03 +03:00 |
|
orklah
|
2315316b17
|
return types
|
2021-09-26 23:34:32 +02:00 |
|
orklah
|
46801c4b98
|
clearer string operations
|
2021-09-26 23:34:31 +02:00 |
|
orklah
|
ae1afd90c6
|
coalesce operator
|
2021-09-26 22:37:17 +02:00 |
|
orklah
|
153de33704
|
weird param always false
|
2021-09-26 22:37:16 +02:00 |
|
orklah
|
97e91e6bf0
|
code trimming
|
2021-09-25 02:34:21 +02:00 |
|
orklah
|
012b65de78
|
try to improve behaviour
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
2b56d52760
|
rename vars for better diff
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
efde3f9180
|
change order for better diff
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
ea80373006
|
AssertionFinder refactor
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
7bf9df4360
|
restore paradox checking
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
667eec2ac8
|
consider count === 0
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
994c927b6a
|
Merge pull request #6445 from TysonAndre/negate-in_array-v2
Fix false positive ParadoxicalCondition in negation of in_array
|
2021-09-20 16:49:15 +02:00 |
|
orklah
|
90e1662964
|
Merge pull request #6241 from orklah/range5
Range arithmetics and assertions
|
2021-09-20 07:15:43 +02:00 |
|
orklah
|
f789ab0655
|
add test and allow checking in already inferred types instead of just relying on statements from PHPParser for assertions
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
2dd16f9e22
|
simplify code
|
2021-09-19 19:30:01 +02:00 |
|
orklah
|
def7d31566
|
fix positive-numeric assertion
|
2021-09-19 19:30:01 +02:00 |
|
orklah
|
55b45853de
|
try not to remove null after a positive-numeric assertion
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
219e425894
|
handle nightmare isset assertions
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
ee75586fbf
|
expand test and fix assertions
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
d2e1388473
|
Allow inferior-to and superior-to even with negated numbers
|
2021-09-19 19:30:00 +02:00 |
|