Matthew Brown
|
62451762fa
|
Preserve type params when negating array on iterable type
Fixes #2005
|
2019-08-12 00:44:26 -04:00 |
|
Matthew Brown
|
7c6b1581d3
|
Add warnings about uninitialised properties to mixed as well
|
2019-08-11 00:22:28 -04:00 |
|
Matthew Brown
|
e32b92be6b
|
Fix #1986 - do better inference after isset on array offsets
|
2019-08-10 23:22:48 -04:00 |
|
Matthew Brown
|
1586cb249d
|
Add protection for leaky assertions
|
2019-08-10 16:58:57 -04:00 |
|
Matthew Brown
|
af0331c251
|
Fix #1997 - fix reconciliation of arrays and traversables
|
2019-08-10 14:39:14 -04:00 |
|
Matthew Brown
|
60c0133fff
|
Break apart reconciler
|
2019-08-10 13:22:21 -04:00 |
|
Matthew Brown
|
90854c4094
|
Fix broken behaviour when analysing interface test methods
|
2019-07-28 19:44:36 -04:00 |
|
Brown
|
28fbafa207
|
Break out tests for algebra
|
2019-07-15 16:08:38 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
Brown
|
6b32565a9b
|
Allow references to deprecated class inside the class
|
2019-06-27 13:36:39 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
70a1696a04
|
Limit template expansion of possibly-mixed vars
|
2019-06-25 23:43:25 -04:00 |
|
Matthew Brown
|
3a52ccd5a6
|
Add tests for things that should work
|
2019-06-25 21:46:18 -04:00 |
|
Brown
|
ac06ea659e
|
Fix #1825 - improve behaviour of callable reconciliation
|
2019-06-20 19:46:42 -04:00 |
|
Matthew Brown
|
5b6c077c0b
|
Fix dupe test name
|
2019-06-20 08:59:04 -04:00 |
|
Matthew Brown
|
d845cdf0c5
|
Fix #1458 by making instanceof static same as === static
|
2019-06-20 08:37:57 -04:00 |
|
Matthew Brown
|
a553adb232
|
Fix test array spacing
|
2019-06-16 09:42:34 -04:00 |
|
Matthew Brown
|
4f48c6388d
|
Fix #1700 - interpret false===($a || $b) correctly
|
2019-05-29 07:47:31 -04:00 |
|
Matthew Brown
|
a001616753
|
Remove object-like array under falsy assertion when it contains a sure key
|
2019-05-28 00:32:27 -04:00 |
|
Brown
|
0bd4dbcbc4
|
Bump to PHP 7.1
Fixes #1650
|
2019-05-16 18:36:36 -04:00 |
|
Brown
|
4f26c8d749
|
Fix #1597 - ternary else should only know about first conditional expression
|
2019-05-02 13:43:18 -04:00 |
|
Brown
|
b6d0ee0777
|
Prevent impossible === false comparison
|
2019-04-12 10:30:56 -04:00 |
|
Matthew Brown
|
39af691d2f
|
Fix #1546 - catch impossible assertions to true
|
2019-04-12 09:38:56 -04:00 |
|
Brown
|
cadee4d988
|
Allow numeric to go into string|int|float
|
2019-04-11 11:25:18 -04:00 |
|
Brown
|
3dc3d659f1
|
Fix #1534 - allow unpacked args to be interpreted properly by overloaded functions
|
2019-04-09 14:48:51 -04:00 |
|
Matthew Brown
|
c772914910
|
Add some formatting
|
2019-03-23 14:27:54 -04:00 |
|
Matthew Brown
|
5e61f198e1
|
Fix #1419 - allow checks against empty arrays
|
2019-03-02 15:18:29 -05:00 |
|
Bruce Weirdan
|
9bdc9f774f
|
More provider typing
|
2019-03-02 08:43:19 -05:00 |
|
Bruce Weirdan
|
ec85096c96
|
Fixed identified issues
|
2019-03-02 08:43:19 -05:00 |
|
Brown
|
f8c2b2d81a
|
Fix #1399 - allow literal comparison to scalar
|
2019-02-27 16:21:23 -05:00 |
|
Brown
|
119687f934
|
Fix redundant condition message when negating a docblock type
|
2019-02-27 14:02:02 -05:00 |
|
Brown
|
dca8bf9d36
|
Fix #1329 - improve handling arrays with string offsets
|
2019-02-15 14:42:17 -05:00 |
|
Matthew Brown
|
7fdc226ac5
|
Always remove callable type
|
2019-02-11 01:44:07 -05:00 |
|
Matthew Brown
|
867ea1fa34
|
Fix #1320 - allow iterable comparison
|
2019-02-10 23:51:26 -05:00 |
|
Matthew Brown
|
dafc5feb5a
|
Limit callable::__invoke test to PHP71
|
2019-02-10 16:45:36 -05:00 |
|
Matthew Brown
|
af61e167f4
|
Add callable literal string
Fixes #1315
|
2019-02-10 16:27:37 -05:00 |
|
Matthew Brown
|
9a8f969d5c
|
Fix #1314 - make sure we always know what a closure is if we’re using one
|
2019-02-10 16:23:31 -05:00 |
|
Matthew Brown
|
7a1ff78bb3
|
Fix #1316 - is_iterable should remove arrays from union
|
2019-02-10 15:56:35 -05:00 |
|
Matthew Brown
|
17541b415f
|
Fix #1191 - allow Psalm to check against different versions of PHP
|
2019-02-07 12:25:57 -05:00 |
|
Matthew Brown
|
0be6aac30c
|
Fix #1262 - fix object check redundant condition
|
2019-01-31 20:31:40 -05:00 |
|
Matthew Brown
|
8bc17e47be
|
Fix #1227 - allow genric params in @psalm-assert
|
2019-01-22 23:42:54 -05:00 |
|
Matthew Brown
|
dc2f4929d4
|
Add changes from PHPStan, thanks @voku
|
2019-01-08 21:44:50 -05:00 |
|
Brown
|
2201380c52
|
Fix type transformation issues in templated class strings
|
2019-01-08 17:34:58 -05:00 |
|
Brown
|
546919a515
|
Allow reconciliation with nullable type string
|
2019-01-08 15:26:54 -05:00 |
|
Matthew Brown
|
a2ee2f12a4
|
Allow scalar to contain numeric
|
2019-01-07 21:52:58 -05:00 |
|
Matthew Brown
|
214fd7d461
|
Add DuplicateFunction issue
Fixes #49
|
2019-01-06 16:40:44 -05:00 |
|
Matthew Brown
|
9d8c2792e2
|
Add array-key type and improve general type handling
Fixes #1144
|
2019-01-05 00:15:53 -05:00 |
|
Brown
|
53749bd5c5
|
Do better at finding things that exit
|
2019-01-02 18:14:47 -05:00 |
|
Brown
|
bd59153ddb
|
Fix issue with empty mixed analysis with union
|
2018-12-10 11:17:35 -05:00 |
|
Matthew Brown
|
fd0ab47b80
|
Fix #1118 - detect possible issues with unions of mixed
|
2018-12-08 13:18:55 -05:00 |
|