orklah
|
0339815070
|
fix type leaking when using ternaries
|
2021-10-23 18:58:05 +02:00 |
|
orklah
|
2cc5c555c2
|
fix literal string access on a non empty array
|
2021-10-22 18:17:08 +02:00 |
|
Aleksandr Zhuravlev
|
b664850cdc
|
Added support of asserting properties of objects out of scope
|
2021-10-17 21:29:25 +13:00 |
|
orklah
|
64df00baba
|
Merge pull request #6660 from orklah/cleanup4
Code trimming
|
2021-10-14 00:12:21 +02:00 |
|
orklah
|
ae193ca4da
|
replace elvis operator by coalesce operator when applicable
|
2021-10-13 20:16:06 +02:00 |
|
orklah
|
dbc6f503b1
|
use of strtolower only once
|
2021-10-13 20:16:06 +02:00 |
|
orklah
|
e17290a9bc
|
Merge pull request #6613 from orklah/string-unpacking
String unpacking
|
2021-10-13 15:18:11 +02:00 |
|
orklah
|
91c3d788f6
|
Merge pull request #6656 from orklah/setAttribute
use Attribute feature of PHP-Parser to avoid dealing with dynamic properties
|
2021-10-13 14:46:22 +02:00 |
|
orklah
|
bee5b69f7f
|
use Attribute feature of PHP-Parser to avoid dealing with dynamic properties
|
2021-10-13 13:27:56 +02:00 |
|
orklah
|
9bb731182a
|
reintroduce errors for older versions
|
2021-10-13 11:22:40 +02:00 |
|
orklah
|
6e7aafe9b8
|
better behaviour in SimpleTypeInferer
|
2021-10-13 11:22:40 +02:00 |
|
orklah
|
66bbcc212c
|
remove unneeded argument
|
2021-10-13 11:22:40 +02:00 |
|
orklah
|
690c24f824
|
array unpacking with strings
|
2021-10-13 11:22:40 +02: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
|
af414ffe59
|
Merge pull request #6642 from orklah/inside-conditional
Inside conditional
|
2021-10-11 20:45:14 +02:00 |
|
orklah
|
911076939c
|
Merge pull request #6628 from orklah/phpparser2
Php-Parser 4.13
|
2021-10-11 20:42:32 +02:00 |
|
orklah
|
c4ebc34695
|
suppress or use the return type
|
2021-10-11 17:27:52 +02:00 |
|
orklah
|
2e64854a6c
|
don't allow getAssertionString to return a part of the Union
|
2021-10-11 16:07:57 +02:00 |
|
orklah
|
3aee938910
|
Merge pull request #6636 from orklah/possibly-undefined-satisfy-nullable
Allow sending possibly_undefined inputs to optional params
|
2021-10-10 23:12:38 +02:00 |
|
orklah
|
cc82e6cf41
|
suppress warning
|
2021-10-10 13:58:09 +02:00 |
|
orklah
|
1b24b0309c
|
reduce complexity
|
2021-10-10 13:52:14 +02:00 |
|
orklah
|
69d412bfcb
|
fix error message when input is possibly undefined
|
2021-10-10 13:42:28 +02:00 |
|
orklah
|
fb8b07613d
|
Allow sending possibly_undefined inputs to optional params
|
2021-10-10 12:44:04 +02:00 |
|
orklah
|
f159ca76de
|
Merge pull request #6624 from orklah/float-always-float
invert the meaning of the errors
|
2021-10-10 10:42:37 +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
|
f62c76a334
|
Merge pull request #6622 from orklah/return_0
fix @return 0
|
2021-10-09 18:25:46 +02:00 |
|
orklah
|
a1df08f718
|
fix an old test
|
2021-10-09 18:18:15 +02:00 |
|
orklah
|
950b21d10a
|
Merge pull request #6621 from orklah/incompatible-types-found-for-T
add a little details to the Incompatible types found for T error
|
2021-10-09 15:10:27 +02:00 |
|
orklah
|
b1f20dffa0
|
fix brackets
|
2021-10-09 15:02:49 +02:00 |
|
orklah
|
e9f3e8795f
|
add a little details to the Incompatible types found for T error
|
2021-10-09 15:01:13 +02:00 |
|
orklah
|
87a5df6043
|
only put offset to 0 when there's only one argument
|
2021-10-07 20:38:10 +02:00 |
|
orklah
|
3a2eddf2d7
|
pass the method_id to be able to set the new offset type to 0 for array_unshift
|
2021-10-07 09:46:49 +02:00 |
|
orklah
|
6627055f3b
|
make TypeCombiner override empty-array
|
2021-10-07 09:46:17 +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
|
ac6a75ea7f
|
Merge pull request #6473 from orklah/double-assert2
assert both sides of an equality
|
2021-10-04 13:30:38 +02:00 |
|
orklah
|
0e83afdb86
|
Merge pull request #6518 from orklah/fix-truthy
improvements of alwaysTruthy/alwaysFalsy
|
2021-10-04 13:29:49 +02:00 |
|
orklah
|
8b07e69645
|
Merge pull request #6514 from zoonru/if-this-is
Add if-this-is
|
2021-10-04 09:49:26 +02:00 |
|
orklah
|
53c0a4e63a
|
cleanup
|
2021-10-04 00:03:06 +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
|
f8628ef68c
|
fix errors
|
2021-10-02 10:01:05 +02:00 |
|
orklah
|
b9e65f066a
|
refactor paradoxical conditions
|
2021-10-02 10:01:04 +02:00 |
|
orklah
|
85f16e9710
|
handle the case where analysis failed
|
2021-10-02 10:01:04 +02:00 |
|
orklah
|
597e9a99d7
|
Makes BooleanNot smarter
|
2021-10-02 10:01:04 +02:00 |
|
orklah
|
7f0d25374f
|
add comment
|
2021-10-02 09:52:19 +02:00 |
|