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 |
|
Brown
|
1ada15f6c6
|
Allow numeric-string to be identical to string
|
2018-11-16 13:31:53 -05:00 |
|
Brown
|
c8240cea77
|
Fix bug where int(0)|float was treated as float in some assertions
|
2018-11-16 12:26:55 -05:00 |
|
Brown
|
425b6321aa
|
Add better understanding of when floats and ints can be equal
|
2018-11-16 11:04:45 -05:00 |
|
Brown
|
029b6e5ac4
|
Allow assertions to be made on template params
|
2018-11-15 18:50:08 -05:00 |
|
Matthew Brown
|
4d79b61e93
|
Change _checker to _analyzer
|
2018-11-12 11:20:59 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Gabriel Caruso
|
abfceca3a9
|
Use dedicated assertContainsOnlyInstancesOf assertion
|
2018-11-04 19:27:21 -05:00 |
|
Brown
|
3fc67782a9
|
Fix #1055 - improve reconciliation of class-strings
|
2018-11-02 17:38:20 -04:00 |
|
Matthew Brown
|
03ed1a5135
|
Fix #1016 - load stdClass info when an object cast comes along
|
2018-10-11 09:14:34 -04:00 |
|
Matthew Brown
|
96768ffd48
|
Fix wrong redundant condition converting scalar to string
|
2018-10-10 01:57:11 -04:00 |
|
Matt Brown
|
661087d445
|
Allow float to be empty (0.00)
|
2018-09-10 15:38:31 -04:00 |
|
Matthew Brown
|
334c463e08
|
Fix #977 - improve handling of orred expressions
|
2018-09-10 00:13:59 -04:00 |
|
Matt Brown
|
4d676afaef
|
Fix #985 - strip null from object type where possible
|
2018-09-07 11:01:10 -04:00 |
|
Matt Brown
|
caf65ca8a9
|
Fix #957 - allow assertions on $_GET, $_POST, $_SERVER etc
|
2018-08-24 16:48:14 -04:00 |
|
Matthew Brown
|
3b12ce4a31
|
Fix #874 - add support for is_iterable
|
2018-07-09 08:31:43 -04:00 |
|
Matthew Brown
|
8bdeb5ed65
|
Fix #864 - only create intersection types when dealing with classes & interfaces
|
2018-07-05 19:46:33 -04:00 |
|
Matthew Brown
|
76e369d330
|
Allow multiple matching types to be captured in if
|
2018-07-02 22:53:17 -04:00 |
|