orklah
|
53e4719c19
|
boolean cast
|
2021-09-26 22:39:01 +02:00 |
|
orklah
|
c11b32d414
|
redundant variable check
|
2021-09-26 22:37:17 +02:00 |
|
orklah
|
ae1afd90c6
|
coalesce operator
|
2021-09-26 22:37:17 +02:00 |
|
orklah
|
5b684309fd
|
unnecessary ternary
|
2021-09-26 22:37:16 +02:00 |
|
orklah
|
afbda6d0f6
|
Merge pull request #6535 from orklah/SA
Improvements
|
2021-09-25 20:16:38 +02:00 |
|
orklah
|
41ea541084
|
unset instead of reassign
|
2021-09-25 18:11:54 +02:00 |
|
orklah
|
cc77abaa40
|
unparsable types
|
2021-09-25 17:19:45 +02:00 |
|
orklah
|
3e6bf6f35f
|
remove unused nullable on param types
|
2021-09-25 16:05:47 +02:00 |
|
orklah
|
a92fee8ae3
|
better combining
|
2021-09-25 11:21:06 +02:00 |
|
orklah
|
97e91e6bf0
|
code trimming
|
2021-09-25 02:34:21 +02:00 |
|
orklah
|
44bfa2c21c
|
flag alwaysTruthy conditions as redundant
|
2021-09-12 22:53:44 +02:00 |
|
orklah
|
c8cf503367
|
introduce isAlwaysFalsy and isAlwaysTruthy
|
2021-09-04 13:56:13 +02:00 |
|
Matthew Brown
|
6cc5ba970a
|
Fix tests
|
2021-08-14 10:45:32 -04:00 |
|
Matthew Brown
|
a4479761a7
|
Fix #3660 - ensure mixed percentage for file never drops below 0
|
2021-08-14 10:35:31 -04:00 |
|
orklah
|
3fe678b914
|
ignore UnnecessaryVarAnnotation
|
2021-08-05 21:05:44 +02:00 |
|
orklah
|
d0fe1528b6
|
fix typos
|
2021-07-29 20:59:52 +02:00 |
|
Matt Brown
|
d18a4f4ccc
|
Don’t stop scanning loop contents due to possibly-null iterator
|
2021-06-28 13:13:12 -04:00 |
|
Matt Brown
|
67d68a5dc0
|
Use more accurate variable name
|
2021-06-25 09:54:39 -04:00 |
|
Bruce Weirdan
|
e552925af6
|
Emit separate type of issue when foreach value is unused (#5932)
* Emit separate type of issue when foreach value is unused
Fixes vimeo/psalm#5929
* Fixed var name case sensitivity
|
2021-06-17 00:40:24 -04:00 |
|
Matt Brown
|
8509999f3f
|
Remove some unused return values
|
2021-06-10 12:09:46 -04:00 |
|
Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Andrey Klimenko
|
e5e397a6c5
|
Type negation in generic context (#5879)
* Type negation in generic context
* Fix cs
|
2021-06-03 01:06:25 -04:00 |
|
orklah
|
de1bb954cf
|
Handle the case where a switch return on each case (#5819)
* Handle the case where a switch return on each case
* introduce a "hybrid" case exit type for cases where there's both "none" and something else
|
2021-05-23 16:24:29 -04:00 |
|
Matt Brown
|
7354ec9903
|
Fix #5298 - improve handling of method that may write properties
|
2021-05-23 16:22:52 -04:00 |
|
Matt Brown
|
f6bdeb6234
|
Fix switch-with-continue bug
|
2021-05-17 07:27:58 -05:00 |
|
Matthew Brown
|
bb8ce8817d
|
Simplify a bit of logic in switch analysis
|
2021-05-13 17:31:17 -04:00 |
|
Matt Brown
|
0f5b117534
|
Migrate ClassLikeName options to object
|
2021-04-30 15:01:33 -04:00 |
|
Matt Brown
|
40b6860881
|
Workaround Phar compaction error
|
2021-04-18 23:28:34 -04:00 |
|
Matt Brown
|
642f2f435c
|
Fix #5640 - improve handling of assignments in conditional
|
2021-04-18 16:16:54 -04:00 |
|
Matt Brown
|
bb0bfda7c5
|
Improve mic drop variable name
|
2021-04-18 15:50:50 -04:00 |
|
Matt Brown
|
0acc02e184
|
Use more descriptive names for properties & variables of if/else handling
|
2021-04-18 15:38:12 -04:00 |
|
Matt Brown
|
929f931c14
|
Taint mixed keys too
|
2021-03-24 16:42:30 -04:00 |
|
Matt Brown
|
10ccbdd8be
|
Add tainting for array keys
Fixes #5470
|
2021-03-24 15:32:56 -04:00 |
|
Bruce Weirdan
|
185827a7ab
|
Continue analysis after unknown exception being caught (#5348)
Fixes vimeo/psalm#5188
|
2021-03-11 00:08:02 -05:00 |
|
orklah
|
5191dac3fa
|
Introduce Virtual Nodes in order to differentiate real nodes in plugins (#5222)
|
2021-02-15 16:18:41 -05:00 |
|
Matt Brown
|
2dc86651a4
|
Check context var exists
|
2021-02-09 14:13:24 -05:00 |
|
Matt Brown
|
b9dac8c46c
|
Add slashes
|
2021-02-09 10:57:19 -05:00 |
|
Matt Brown
|
a955dabfe5
|
Account for context var not existing
|
2021-02-09 10:46:33 -05:00 |
|
Matt Brown
|
ecfc4726d7
|
Limit removal of vars further
|
2021-02-09 00:53:09 -05:00 |
|
Matt Brown
|
ad0b575080
|
Better fix for #5180
|
2021-02-08 23:31:49 -05:00 |
|
|
81b75a7884
|
Check iterator types on yield from (#5042)
* Check iterator types on yield from
* Switch to NodeAbstract
* Make Foo iterable
|
2021-01-20 17:41:15 -05:00 |
|
Matt Brown
|
2f58c6afc8
|
Fix #5020 - remove previous catch var assertions when assigning inside catch
|
2021-01-17 14:28:28 -05:00 |
|
orklah
|
f9fccb2b2d
|
implement DTO for plugins (#4881)
* implement DTO for plugins
* introduce EventHandler + reintroduce legacy API for plugins
|
2021-01-06 09:05:53 -05:00 |
|
orklah
|
1d9987e0ed
|
fix phpdoc (#4905)
|
2020-12-29 11:42:41 +00:00 |
|
Matt Brown
|
a27c674cee
|
Add test for #4825
|
2020-12-10 13:51:49 -05:00 |
|
Matt Brown
|
8cae4047b0
|
Fix #4825 - check for finally var set
|
2020-12-10 11:48:43 -05:00 |
|
Matt Brown
|
e702e472fc
|
Support simple list assignment in foreach
Ref #4741
|
2020-12-06 19:14:52 -05:00 |
|
Matt Brown
|
2feba22a00
|
Make more try vars potentially undefined
Fixes #4764
|
2020-12-03 11:44:10 -05:00 |
|
Matt Brown
|
1a629ccc82
|
Fix a few issues
|
2020-12-01 18:26:15 -05:00 |
|
Matt Brown
|
f5494bc407
|
Fix typos caused by Macbook Pro’s bad keyboard
|
2020-12-01 14:14:09 -05:00 |
|