Matthew Brown
|
94d4b876ba
|
Fix #2177 - mark variables in try block as potentially undefined
|
2019-11-09 12:25:30 -05:00 |
|
Matthew Brown
|
62a3598ed3
|
Fix #2197 - prevent false positive from try in while
|
2019-11-09 11:01:48 -05:00 |
|
Matthew Brown
|
7028a64440
|
Fix #2204 - fix try/catch false-positive
|
2019-11-09 10:39:21 -05:00 |
|
Matthew Brown
|
233977a764
|
Fix undefined array offset when too few iterator params supplied
|
2019-10-21 07:13:33 -04:00 |
|
Matthew Brown
|
4aeb28aceb
|
Fix #2244 - correctly check do while expression before use
|
2019-10-20 14:18:30 -04:00 |
|
Brown
|
2be489c527
|
Fix regression when identifying clauses in error
|
2019-10-18 15:06:37 -04:00 |
|
Matthew Brown
|
e8618371fb
|
Refine isset checks
|
2019-10-17 01:09:21 -04:00 |
|
Matthew Brown
|
54a31f8cff
|
Be more scrupulous about mixed vars
|
2019-10-17 00:29:51 -04:00 |
|
Matthew Brown
|
29902c8b99
|
Fix #2237 - suppress reconciling issues when inherited clauses couldn’t be resolved into types
|
2019-10-16 21:55:11 -04:00 |
|
Brown
|
16c33d1565
|
Add support for list type
Fixes #2209
|
2019-10-08 18:44:46 -04:00 |
|
Brown
|
6b012f8fa6
|
Use smarter type merging when analysing if statements
|
2019-10-08 13:07:28 -04:00 |
|
Brown
|
f8f8b633b1
|
Suppress a bunch of PossiblyUndefinedArrayOffset issues
|
2019-10-01 15:44:43 -04:00 |
|
Brown
|
cf799d0926
|
Fix #2173 - remove @var annotations automatically
|
2019-09-26 15:08:05 -04:00 |
|
Matthew Brown
|
fdbea45534
|
Fix #2159 - only apply elseif conditions to vars that exist in main context
|
2019-09-21 16:58:31 -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
|
853e92e7fc
|
Fix #2073 - better understand assignments inside elseif
|
2019-08-26 22:55:28 -04:00 |
|
Matthew Brown
|
25487a5b63
|
Break out if conditional analysis
|
2019-08-26 22:55:01 -04:00 |
|
Brown
|
febd60dade
|
Add better handling of catch-reassigned vars
Ref #2052
|
2019-08-26 11:41:15 -04:00 |
|
Brown
|
80d9b5dc29
|
Add support for iterating over SimpleXMLElement
|
2019-08-23 14:15:20 -04:00 |
|
Brown
|
9835943294
|
Fix #2041 - make sure property is always set
|
2019-08-21 11:25:08 -04:00 |
|
Brown
|
95c61db513
|
Add a PossibleRawObjectIteration issue
|
2019-08-20 12:06:02 -04:00 |
|
Brown
|
b5614d03f8
|
Add detection for unused function calls
|
2019-08-13 13:15:23 -04:00 |
|
Brown
|
10b8a94564
|
Fix #2007 - improve unused variable detection in always-entered loops
|
2019-08-12 16:01:24 -04:00 |
|
Matthew Brown
|
50bd18c404
|
Fix #1985 - prevent complicatedExpressionException from breaking analysis
|
2019-08-06 22:58:53 -04:00 |
|
Brown
|
c67e38aded
|
Rename var to be more uniform
|
2019-07-31 17:14:00 -04:00 |
|
Matthew Brown
|
2c89a97f91
|
Fix #1970 - make sure reconciled types are templated
|
2019-07-25 08:33:27 -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
|
30ecde2272
|
Overwrite var when try exits
|
2019-07-07 14:00:49 -04:00 |
|
Matthew Brown
|
cd715a60fd
|
Fix #1909 - populate var scope if try always leaves
|
2019-07-07 13:52:43 -04:00 |
|
Matthew Brown
|
678d4e5286
|
Fix #1901 - improve loop-based handling of vars after continue
|
2019-07-04 20:38:52 -04:00 |
|
Matthew Brown
|
6dd549b8a6
|
Fix #1900 - discard old references to code after an assignment
|
2019-07-04 17:35:33 -04:00 |
|
Tyson Andre
|
af52ad245a
|
Remove unused variables (#1898)
|
2019-07-04 15:17:28 -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 |
|
Matthew Brown
|
c66a106622
|
Improve performance by doing less cloning
Ref #1837
|
2019-06-26 00:14:06 -04:00 |
|
Matthew Brown
|
c0b86bd40d
|
Use uppercase template_type_extends keys
|
2019-06-24 23:43:04 -04:00 |
|
Brown
|
0246f600f4
|
Fix #1813 - convert object&Foo into Foo after template resolution
|
2019-06-19 12:00:19 -04:00 |
|
Brown
|
ddd287fb3d
|
Move exception classes
|
2019-06-05 11:33:04 -04:00 |
|
Matthew Brown
|
ad4e2f72e2
|
Add means to guess PSR4 file path
|
2019-06-05 08:50:24 -04:00 |
|
Brown
|
f309c755f8
|
Add ability to move classes
|
2019-06-05 08:50:24 -04:00 |
|
Matthew Brown
|
2b0a17c1c8
|
Add simple tool to move static methods
|
2019-06-02 01:10:50 -04:00 |
|
Matthew Brown
|
909e02d441
|
Move var docblocks within function
|
2019-06-01 12:25:57 -04:00 |
|
Matthew Brown
|
dc5a5bcd9d
|
Simplify var docblock parsing signature
|
2019-06-01 11:53:32 -04:00 |
|
Matthew Brown
|
cd969c51e5
|
Generate missing param types from callers
Fixes #1707
|
2019-05-31 01:47:35 -04:00 |
|
Matthew Brown
|
962d8f30a1
|
Fix #710 - treat keyed intersections of iterators properly
|
2019-05-29 19:58:54 -04:00 |
|
Brown
|
0e6d07c4e9
|
Add ancillary var types
|
2019-05-28 11:58:15 -04:00 |
|
Matthew Brown
|
790bc53bfd
|
Fix #1681 - interpret parent annotation properly
|
2019-05-25 11:51:09 -04:00 |
|
Brown
|
8c653b0312
|
Improve dead code detection a little more
|
2019-05-20 18:25:11 -04:00 |
|
Brown
|
2637156f45
|
Properly fix #1128 with additional check
|
2019-05-20 12:01:18 -04:00 |
|