Brown
|
96586f16c0
|
Fix phpcs issues
|
2019-11-11 10:11:42 -05:00 |
|
Brown
|
895737d8be
|
Fix style
|
2019-11-08 12:49:53 -05:00 |
|
Brown
|
ac6256e645
|
Fix #2312, improve understanding of template replacement
|
2019-11-08 11:56:41 -05:00 |
|
Brown
|
1f42843d42
|
Fix #2296 - use case insensitive closure ids
|
2019-11-04 14:48:02 -05:00 |
|
Matthew Brown
|
5910a362ea
|
Improve report output of taint analysis
|
2019-10-19 17:59:10 -04:00 |
|
Brown
|
dda68228f3
|
Fix #2247 - don’t crash when yielding from class with too many template params
|
2019-10-18 11:01:16 -04:00 |
|
Matthew Brown
|
c419e0e798
|
Fix #2222 - check for @throws docblock inheritance
|
2019-10-10 22:44:21 -04:00 |
|
Brown
|
3658771bff
|
Fix #2221 - variadic args are lists
|
2019-10-10 17:46:20 -04:00 |
|
Matthew Brown
|
a9d0296252
|
Fix #2182 - allow modification to cloned objects inside
|
2019-09-30 22:07:20 -04:00 |
|
Matthew Brown
|
a5f79353ed
|
Fix #2157 - don’t merge closures and callable params
|
2019-09-22 00:58:30 -04:00 |
|
Brown
|
c5ef2516b5
|
Fix #2150 - add detection for unnecessary @var annotations
And also remove them from codebase
|
2019-09-19 11:59:43 -04:00 |
|
Matthew Brown
|
9ad6c36d9b
|
Conditionally verify that array offsets exist (#2147)
* Check array offsets idea
* Clean up some issues
* Add a few light fixes
* Add docs
|
2019-09-18 14:21:06 -04:00 |
|
Brown
|
b49444b8ad
|
Allow immutable objects to be cloned
Fixes #2111
|
2019-09-09 11:14:40 -04:00 |
|
Matthew Brown
|
4cac8cd70f
|
Don’t complain about mutating call when it was inferred during reflection
|
2019-09-08 10:36:57 -04:00 |
|
Matthew Brown
|
da1f36b57f
|
Fix #2089 - properly coerce arguments
|
2019-09-01 10:10:38 -04:00 |
|
Brown
|
b7b4baff8f
|
Add support for @immutable
Fixes #1272
|
2019-08-30 12:36:35 -04:00 |
|
Brown
|
7797bfd71c
|
Refactor FunctionLikeAnalyzer::analyze
|
2019-08-22 11:25:13 -04:00 |
|
Matthew Brown
|
43a9ff0735
|
Prevent erroneous unused suppressions from plugin
|
2019-08-18 17:18:03 -04:00 |
|
Matthew Brown
|
c5f62d261d
|
Remove redundant @psalm-suppress in Psalm’s codebsae
|
2019-08-18 16:10:12 -04:00 |
|
Matthew Brown
|
eb50aad3a1
|
Fix offsets when checking function suppressions
|
2019-08-18 14:44:45 -04:00 |
|
Matthew Brown
|
2a5e0d8f39
|
Fix #1444 - track unused suppressions
|
2019-08-18 14:27:50 -04:00 |
|
Matthew Brown
|
2146f73782
|
Prepare for tracking unused suppressions
Ref #1444
|
2019-08-18 12:25:48 -04:00 |
|
Matthew Brown
|
600999a3a8
|
Add better typing
|
2019-08-14 00:47:57 -04:00 |
|
Brown
|
2b2988b072
|
Fix #2019 - allow union in @throws
|
2019-08-13 15:44:18 -04:00 |
|
Brown
|
da230bc9f1
|
Change the type of @throws error to UndefinedDocblockClass
|
2019-08-13 13:41:12 -04:00 |
|
Matthew Brown
|
a4b9b7311b
|
Improve message a bit
|
2019-08-12 23:58:40 -04:00 |
|
Matthew Brown
|
ef3771d643
|
Fix #2015 - complain about invalid @throws classes
|
2019-08-12 23:42:51 -04:00 |
|
Matthew Brown
|
d5b026839c
|
Add support for different taint types ref #1990
|
2019-08-12 23:16:05 -04:00 |
|
Brown
|
6eb62591ab
|
Specialise calls when functions are pure
|
2019-08-05 18:33:33 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Tyson Andre
|
5d5a9c6eac
|
Remove redundant casts and unused use statements (#1955)
* Remove redundant casts
(not sure about older versions of php-parser)
* Remove unused use statements
|
2019-07-18 23:37:36 -04:00 |
|
Matthew Brown
|
3df248eea2
|
Add concept of purity to functions and methods
|
2019-07-18 01:31:48 -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
|
d96246a824
|
Improve template handling robustness
|
2019-06-25 09:06:23 -04:00 |
|
Matthew Brown
|
7fc11af49e
|
Fix docblocks with @andrew-demb’s suggestions
|
2019-06-16 09:12:32 -04:00 |
|
Matthew Brown
|
2d5f332ebf
|
Fix #1781 by improving handling of callmap options
|
2019-06-15 16:10:48 -04:00 |
|
Matthew Brown
|
c0a9ccb385
|
Fix handling of unused params in threaded mode
|
2019-06-09 17:02:21 -04:00 |
|
Matthew Brown
|
93f81f599e
|
Fix #1764 - prevent UndefinedInterfaceMethod error when checking initialisation
|
2019-06-09 09:18:05 -04:00 |
|
Brown
|
4660beb28e
|
Still look at param defaults even without param types
|
2019-06-07 14:24:15 -04:00 |
|
Matthew Brown
|
20c66f693e
|
Fix handling of class const types
|
2019-06-06 18:46:40 -04:00 |
|
Matthew Brown
|
4fc5d1d5c8
|
Rewrite use statements
|
2019-06-05 22:13:33 -04:00 |
|
Matthew Brown
|
c6063d1378
|
Only replace same-file param docblock types
|
2019-06-05 19:32:27 -04:00 |
|
Brown
|
f309c755f8
|
Add ability to move classes
|
2019-06-05 08:50:24 -04:00 |
|
Marco Pivetta
|
624c7bc6fb
|
Renamed Fn to TFn to allow for PHP 7.4 compatibility
|
2019-06-03 08:21:25 -04:00 |
|
Matthew Brown
|
2439a9f6a0
|
Allow instance method renaming, too
|
2019-06-02 12:02:39 -04:00 |
|
Matthew Brown
|
62be1cc1b0
|
Add rest of files
|
2019-06-01 16:57:33 -04:00 |
|
Matthew Brown
|
736f01c29e
|
Store more accurate return type location
|
2019-06-01 13:02:20 -04:00 |
|
Matthew Brown
|
bee87c25eb
|
Add transformations for new A, param A
|
2019-06-01 10:32:49 -04:00 |
|
Matthew Brown
|
cd969c51e5
|
Generate missing param types from callers
Fixes #1707
|
2019-05-31 01:47:35 -04:00 |
|