orklah
|
3fc716ec3b
|
fix CS
|
2021-10-07 19:39:45 +02:00 |
|
orklah
|
a7c4f0052b
|
foreach on list gives a positive|0 offset
|
2021-10-07 19:32:25 +02:00 |
|
orklah
|
0e83afdb86
|
Merge pull request #6518 from orklah/fix-truthy
improvements of alwaysTruthy/alwaysFalsy
|
2021-10-04 13:29:49 +02:00 |
|
orklah
|
53c0a4e63a
|
cleanup
|
2021-10-04 00:03:06 +02:00 |
|
orklah
|
b9e65f066a
|
refactor paradoxical conditions
|
2021-10-02 10:01:04 +02:00 |
|
Bruce Weirdan
|
2e7e343ef8
|
Merge pull request #6423 from orklah/count-equal-0-negated-assertion
|
2021-10-02 00:53:03 +03:00 |
|
orklah
|
ab6efe49b2
|
fix CS
|
2021-09-26 23:41:26 +02:00 |
|
orklah
|
46801c4b98
|
clearer string operations
|
2021-09-26 23:34:31 +02:00 |
|
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
|
e6ba6092a6
|
turn inside_loop to true for do...while
|
2021-09-23 21:24:17 +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 |
|