Matthew Brown
|
b46e147735
|
Add some limits on switch case assertion calculation
Ref #2728
|
2020-03-30 00:20:00 -04:00 |
|
Matthew Brown
|
47c1470e3b
|
Refactor reference checks to use more appropriate properties
|
2020-03-28 16:30:56 -04:00 |
|
Matthew Brown
|
43189b3d55
|
Allow types to be traversed
|
2020-03-14 23:54:51 -04:00 |
|
Brown
|
15808458cc
|
Better understand nesting loops and switches
Fixes #2700
|
2020-01-27 12:17:12 -05:00 |
|
Matthew Brown
|
9fa2db1b6c
|
Move Union::getTypes to Union::getAtomicTypes
|
2020-01-04 12:20:26 -05:00 |
|
Brown
|
e476eed111
|
Fix issue where inside_conditional is forgotten
|
2019-12-11 12:06:10 -05:00 |
|
Matthew Brown
|
02fbf12337
|
Only warn about clauses in the currently-scanned conditional
|
2019-12-08 16:35:56 -05:00 |
|
Matthew Brown
|
83b10bb9af
|
Fix #2426, or at least some of it
|
2019-12-08 00:49:34 -05:00 |
|
Brown
|
1f07ea7ee7
|
Tighten up Psalm’s inference
|
2019-11-25 15:20:31 -05:00 |
|
Brown
|
1add42b691
|
Fix switch handling
|
2019-11-25 11:51:34 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Brown
|
b5614d03f8
|
Add detection for unused function calls
|
2019-08-13 13:15:23 -04:00 |
|
Matthew Brown
|
9ab3161675
|
Fix issues found by Psalm
|
2019-06-29 21:13:02 -04:00 |
|
Matthew Brown
|
436ccae819
|
Fix SwitchAnalyzer memory leak
|
2019-06-29 19:20:09 -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 |
|
bugreportuser
|
4fc7e4affc
|
Give errors for all uncaught exceptions
|
2019-03-31 14:22:19 -04:00 |
|
Matthew Brown
|
8bc17e47be
|
Fix #1227 - allow genric params in @psalm-assert
|
2019-01-22 23:42:54 -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 |
|
Brown
|
c378079db8
|
Make the length of possible string unions unlimited in conditionals
Fixes #1103
|
2018-11-28 15:12:08 -05:00 |
|
Matthew Brown
|
37dedee7b6
|
Fix memory leak issues and disable garbage collection
|
2018-11-18 11:39:14 -05:00 |
|
Brown
|
254a14f621
|
Allow assertion redundant conditions to be suppressed
|
2018-11-14 13:44:20 -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 |
|