Matthew Brown
|
c79ba0b09e
|
Include non-empty-string type in more places
|
2019-12-30 07:25:36 -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
|
a4191171bf
|
Fix #2483 - treat intersecting PHPDocs from interfaces better
|
2019-12-20 01:42:57 +00:00 |
|
Brown
|
821f3528d2
|
Fix #701 - indicate issues fixable with Psalter
|
2019-12-02 15:24:01 -05:00 |
|
Matthew Brown
|
e40aaafe61
|
Allow explicit @var mixed docblocks
Fixes #2397
|
2019-12-01 10:19:42 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Brown
|
96586f16c0
|
Fix phpcs issues
|
2019-11-11 10:11:42 -05:00 |
|
Matthew Brown
|
233977a764
|
Fix undefined array offset when too few iterator params supplied
|
2019-10-21 07:13:33 -04:00 |
|
Brown
|
16c33d1565
|
Add support for list type
Fixes #2209
|
2019-10-08 18:44:46 -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 |
|
Brown
|
c5ef2516b5
|
Fix #2150 - add detection for unnecessary @var annotations
And also remove them from codebase
|
2019-09-19 11:59:43 -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 |
|
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 |
|
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
|
962d8f30a1
|
Fix #710 - treat keyed intersections of iterators properly
|
2019-05-29 19:58:54 -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
|
b83f540b15
|
Prevent crash when iterator class does not exist
|
2019-05-08 11:03:47 -04:00 |
|
Matthew Brown
|
419d1da98d
|
Fix issue where iterators weren’t processed recursively
|
2019-05-08 09:04:52 -04:00 |
|
bugreportuser
|
4fc7e4affc
|
Give errors for all uncaught exceptions
|
2019-03-31 14:22:19 -04:00 |
|
Brown
|
b9ba24929d
|
Refactor storage of template names to prevent clashes
|
2019-03-22 15:59:10 -04:00 |
|
bugreportuser
|
e31cfa503d
|
Allow reconciling superglobal types
|
2019-03-16 12:49:38 -04:00 |
|
Matthew Brown
|
a0659a02f1
|
Fix #1418 - support templated union types
|
2019-03-16 11:15:25 -04:00 |
|
Matthew Brown
|
1c8a573b5f
|
Change TGenericParam to TTemplateParam
|
2019-02-21 21:40:06 -05:00 |
|
Matthew Brown
|
c83afc1af2
|
Fix element type inference for DOMNodeList
|
2019-02-05 13:34:59 -05:00 |
|
Matthew Brown
|
22ee72808a
|
Remove a bunch of hacks around generic offsets
Also fixes #1245
|
2019-01-26 16:58:49 -05:00 |
|
Matthew Brown
|
8bc17e47be
|
Fix #1227 - allow genric params in @psalm-assert
|
2019-01-22 23:42:54 -05:00 |
|
Matthew Brown
|
5eb0bb8126
|
Make foreach var annotation use more cautious
|
2019-01-20 11:49:13 -05:00 |
|
Matthew Brown
|
545c7e3cba
|
Fix #1211 - allow docblocks to override foreach type earlier
|
2019-01-19 11:31:51 -05:00 |
|
Matthew Brown
|
6f1d56a80f
|
Upcast iterables to traversables when used in a templated class string
|
2019-01-05 10:32:39 -05:00 |
|
Matthew Brown
|
2dc3d9651f
|
Separate iterable into its own type
Fixes #1151
|
2019-01-04 14:54:40 -05:00 |
|
Matthew Brown
|
b32000fa05
|
Fix #689 - add checks for @internal annotations
|
2018-12-01 18:37:49 -05:00 |
|
Matthew Brown
|
a83387b187
|
Fall through after RawObjectIteration
|
2018-11-27 09:34:54 -05:00 |
|
Brown
|
3bcbd9d659
|
Don’t emit errors when iterating over array|iterator
|
2018-11-26 16:50:47 -05:00 |
|
Matthew Brown
|
9f79bdb86e
|
Allow iteration over iteratoraggregate directly
|
2018-11-21 18:35:41 -05:00 |
|
Matthew Brown
|
ef7298c62c
|
Improve treatment of getIterator calls
Fixes #991
|
2018-11-21 17:56:04 -05:00 |
|
Matthew Brown
|
37dedee7b6
|
Fix memory leak issues and disable garbage collection
|
2018-11-18 11:39:14 -05:00 |
|
Matthew Brown
|
4d79b61e93
|
Change _checker to _analyzer
|
2018-11-12 11:20:59 -05:00 |
|