Matthew Brown
|
9fa2db1b6c
|
Move Union::getTypes to Union::getAtomicTypes
|
2020-01-04 12:20:26 -05:00 |
|
Matthew Brown
|
55c2f7faa2
|
Fix #2508 - don’t replace templated types with generic ones inside own function
|
2019-12-28 18:38:02 -05:00 |
|
Matthew Brown
|
11433dc9d0
|
Fix references
|
2019-12-18 14:43:15 +00:00 |
|
Matthew Brown
|
cb797c6159
|
Fix inherited class methods as well
Ref #2478
|
2019-12-18 14:39:37 +00:00 |
|
Matthew Brown
|
f40b6625eb
|
Fix #2431 - allow null in template defaults
|
2019-12-13 21:40:09 -05:00 |
|
Matthew Brown
|
97de060df9
|
Fix #2279 - add parameter typehint by default
|
2019-12-03 01:49:43 -05:00 |
|
Brown
|
821f3528d2
|
Fix #701 - indicate issues fixable with Psalter
|
2019-12-02 15:24:01 -05:00 |
|
Matthew Brown
|
d1fbd1fa26
|
Add working arrow-functions implementation
|
2019-11-26 23:52:26 -05:00 |
|
Brown
|
1f07ea7ee7
|
Tighten up Psalm’s inference
|
2019-11-25 15:20:31 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Matthew Brown
|
2369bac943
|
Preserve self refs where possible
|
2019-11-16 19:59:08 -05:00 |
|
Brown
|
55bf6a2db3
|
Migrate static return types
|
2019-11-15 16:50:43 -05:00 |
|
Brown
|
4747ba709a
|
Migrate more things
|
2019-11-15 15:34:25 -05:00 |
|
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 |
|