|
597487c4c9
|
Assert that $lhs_var_id is defined
|
2021-10-28 10:50:43 +02:00 |
|
|
5fae548e62
|
Add template support to @psalm-self-out
|
2021-10-28 10:44:37 +02:00 |
|
orklah
|
9fb959150a
|
Merge pull request #6730 from orklah/int-template-arithmetics
don't emit issues when doing arithmetics on int templates
|
2021-10-24 20:39:54 +02:00 |
|
orklah
|
0161dedcdb
|
fix
|
2021-10-24 19:53:22 +02:00 |
|
orklah
|
2c5cec4a05
|
fix
|
2021-10-24 19:48:28 +02:00 |
|
orklah
|
af918a95a2
|
don't emit issues when doing arithmetics on int templates
|
2021-10-24 19:30:39 +02:00 |
|
orklah
|
d99f300043
|
fix concat
|
2021-10-24 19:15:18 +02:00 |
|
orklah
|
68528985d6
|
Merge pull request #6724 from orklah/impure_callstatic
flag impure calls made through __callstatic
|
2021-10-24 10:30:56 +02:00 |
|
orklah
|
a0681a4498
|
flag impure calls made through __callstatic
|
2021-10-24 09:55:40 +02:00 |
|
orklah
|
0339815070
|
fix type leaking when using ternaries
|
2021-10-23 18:58:05 +02:00 |
|
orklah
|
78a4c78187
|
Merge pull request #6718 from orklah/5651
fix literal string access on a non empty array
|
2021-10-23 12:11:39 +02:00 |
|
orklah
|
2cc5c555c2
|
fix literal string access on a non empty array
|
2021-10-22 18:17:08 +02:00 |
|
orklah
|
1c0b802abb
|
fix regression
|
2021-10-21 21:10:12 +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
|
c6fb81007c
|
Merge pull request #6629 from orklah/loops-tweaking
tweaking with loops
|
2021-10-11 20:45:54 +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
|
9e7d3a4cd6
|
sets the inside_conditional flag after creating another context from it
|
2021-10-11 16:38:39 +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
|
39b85f574b
|
revert back wrong change
|
2021-10-10 10:06:37 +02:00 |
|
orklah
|
70bfce769c
|
revert back wrong change
|
2021-10-10 10:00:44 +02:00 |
|
orklah
|
df34daee52
|
more consistency
|
2021-10-10 00:51:47 +02:00 |
|
orklah
|
7c99878f58
|
tweaking with loops
|
2021-10-10 00:21:15 +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
|
f35df421e2
|
Merge pull request #6604 from orklah/array-unshift-on-empty-array
Array unshift on empty array
|
2021-10-07 23:04:10 +02:00 |
|
orklah
|
87a5df6043
|
only put offset to 0 when there's only one argument
|
2021-10-07 20:38:10 +02:00 |
|