Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Matthew Brown
|
f432cc0884
|
Fix #1846 - warn about missing interface return types
|
2019-07-28 19:03:12 -04:00 |
|
Matthew Brown
|
1ae9ea5fed
|
Use object instead of by-ref params
|
2019-07-10 01:35:57 -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
|
42cc201e9e
|
Fix #1698 - better understand inherited docblock return types
|
2019-06-08 09:44:22 -04:00 |
|
Matthew Brown
|
b0678bdc74
|
Improve treatment of key-of
Ref #1698
|
2019-06-07 21:27:50 -04:00 |
|
Matthew Brown
|
e512bc7ef6
|
Fix #1693 - use instanceof instead of assert
|
2019-05-27 08:34:03 -04:00 |
|
Matthew Brown
|
790bc53bfd
|
Fix #1681 - interpret parent annotation properly
|
2019-05-25 11:51:09 -04:00 |
|
Matthew Brown
|
cfff66efb7
|
Fix #1634 - don’t remove existing return types when preventing bc breaks
|
2019-05-15 00:34:56 -04:00 |
|
Ilija Tovilo
|
2c36a10ac8
|
Fix #1622 - add allow-backwards-incompatible-changes flag to psalter
The flag prevents psalter from adding native return types
|
2019-05-13 17:59:31 -04:00 |
|
Matthew Brown
|
f8b4b12ec2
|
Fix #1622 - don’t update return types in docblocks when overridden elsewhere
|
2019-05-13 09:04:26 -04:00 |
|
Matthew Brown
|
9b4d841414
|
Allow return type errors to be suppressed locally
|
2019-05-13 08:54:34 -04:00 |
|
Brown
|
24dbc34bbe
|
Use better solution for inherited more-specific return types
|
2019-05-09 10:41:30 -04:00 |
|
Brown
|
629eeed3e6
|
Fix incorrect message when inheriting parent docblock
|
2019-05-09 10:26:06 -04:00 |
|
Matthew Brown
|
4f8d6a50d8
|
Don’t emit MissingClosureReturnType when inside call and type can be inferred
|
2019-05-06 20:47:55 -04:00 |
|
Matthew Brown
|
cacced782d
|
Fix #1592 - allow methods with a simple exit to have the same treatment as those with a simple throw
|
2019-05-01 23:45:03 -04:00 |
|
Brown
|
0e4c8ce482
|
Split apart TypeCoercion issues, allowing more granular issue filtering
|
2019-04-25 18:02:19 -04:00 |
|
Brown
|
08a4573a1c
|
Fix #1525 - allow scalar return types to accept false
|
2019-04-03 10:56:29 -04:00 |
|
Matthew Brown
|
e84eec7275
|
Fix #1434 - allow local suppression of return type checks
|
2019-03-07 09:21:03 -05:00 |
|
Brown
|
079ac44263
|
Prevent pass by ref when type type is given
|
2019-02-20 17:43:12 -05:00 |
|
Matthew Brown
|
c765d0e969
|
Fix #1307 - improve generator array type
|
2019-02-09 15:48:15 -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
|
c758678022
|
Fix remaining issues
|
2019-02-06 16:08:41 -05:00 |
|
Brown
|
8b65acf15b
|
Make return type mismatch more clear
|
2019-02-01 10:55:28 -05:00 |
|
Brown
|
c5a0a3df86
|
Fix yielding from iterable
|
2019-01-31 17:58:53 -05:00 |
|
Matthew Brown
|
22ee72808a
|
Remove a bunch of hacks around generic offsets
Also fixes #1245
|
2019-01-26 16:58:49 -05:00 |
|
Matthew Brown
|
bf8f76671b
|
Don’t crash when suppressing UndefinedClass with bad params
|
2019-01-05 12:59:12 -05:00 |
|
Brown
|
cca0070d38
|
Allow function calls that exit to act themselves like exit
|
2019-01-02 17:16:04 -05:00 |
|
Brown
|
2b4b55fd33
|
Add support for @return no-return
Fixes #1155
|
2019-01-02 17:05:39 -05:00 |
|
Matthew Brown
|
0acad241ed
|
Improve return analysis messaging
|
2018-12-08 14:33:41 -05:00 |
|
Matthew Brown
|
fd0ab47b80
|
Fix #1118 - detect possible issues with unions of mixed
|
2018-12-08 13:18:55 -05:00 |
|
Matthew Brown
|
b32000fa05
|
Fix #689 - add checks for @internal annotations
|
2018-12-01 18:37:49 -05:00 |
|
Matthew Brown
|
59b9b5d65b
|
Move more classes into Internal namespace
|
2018-11-18 12:41:47 -05:00 |
|
Brown
|
0254322bed
|
Migrate Codebase-namespaced and FileManipulation-namespaced classes to internals
|
2018-11-12 11:20:59 -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 |
|