Matthew Brown
|
8154a9ef16
|
Fix #2340 - don’t stub functions unnecessarily
|
2019-11-14 09:27:19 -05:00 |
|
Brown
|
96586f16c0
|
Fix phpcs issues
|
2019-11-11 10:11:42 -05:00 |
|
Brown
|
1f42843d42
|
Fix #2296 - use case insensitive closure ids
|
2019-11-04 14:48:02 -05:00 |
|
Matthew Brown
|
a82e35a59f
|
Fix #2291 - extended covariant template param types should be treated as covariant
|
2019-11-01 18:25:07 +01:00 |
|
Matthew Brown
|
0ac5c32f2f
|
Fix #2277 - scan psalm-assert types always
|
2019-10-25 23:39:33 +02:00 |
|
Brown
|
b29227aaf6
|
Allow taints to be removed via annotation
|
2019-10-15 16:25:27 -04:00 |
|
Matthew Brown
|
03c39cbe7c
|
Fix #2223 - make sure lists are handled in more places
|
2019-10-10 20:16:43 -04:00 |
|
Brown
|
67b32f463e
|
Support assertions on lists
|
2019-10-10 10:57:43 -04:00 |
|
Brown
|
b75720c32b
|
Add more list types
|
2019-10-09 10:04:34 -04:00 |
|
Brown
|
f8f8b633b1
|
Suppress a bunch of PossiblyUndefinedArrayOffset issues
|
2019-10-01 15:44:43 -04:00 |
|
Matthew Brown
|
9af8a9ac38
|
Fix #2181 - prevent class template types being wiped by anonymous class use
|
2019-09-27 12:58:32 -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
|
0ac9108814
|
Fix #2139 - allow comprehension of constant ternaries
|
2019-09-17 11:29:41 -04:00 |
|
Matthew Brown
|
0b4981f01b
|
Fix #1551 - do better at inferring class constant types
|
2019-09-14 14:26:31 -04:00 |
|
Matthew Brown
|
4cac8cd70f
|
Don’t complain about mutating call when it was inferred during reflection
|
2019-09-08 10:36:57 -04:00 |
|
Matthew Brown
|
85ae8f93d2
|
Clear out property assignments when necessary
|
2019-09-07 18:34:18 -04:00 |
|
Matthew Brown
|
504ccdab8c
|
$a++, $a-- etc should be treated as assignments
|
2019-08-30 18:06:45 -04:00 |
|
Matthew Brown
|
6d07663d70
|
Annotate method getters more accurately
|
2019-08-30 16:40:32 -04:00 |
|
Brown
|
b7b4baff8f
|
Add support for @immutable
Fixes #1272
|
2019-08-30 12:36:35 -04:00 |
|
Brown
|
1cb8c3f6c4
|
Infer missing docblock-supplied types from constructor
Fixes #2071
|
2019-08-27 10:37:39 -04:00 |
|
Brown
|
9835943294
|
Fix #2041 - make sure property is always set
|
2019-08-21 11:25:08 -04:00 |
|
Matthew Brown
|
c5f62d261d
|
Remove redundant @psalm-suppress in Psalm’s codebsae
|
2019-08-18 16:10:12 -04:00 |
|
Matthew Brown
|
2146f73782
|
Prepare for tracking unused suppressions
Ref #1444
|
2019-08-18 12:25:48 -04:00 |
|
Brown
|
2b2988b072
|
Fix #2019 - allow union in @throws
|
2019-08-13 15:44:18 -04:00 |
|
Matthew Brown
|
ef3771d643
|
Fix #2015 - complain about invalid @throws classes
|
2019-08-12 23:42:51 -04:00 |
|
Matthew Brown
|
d5b026839c
|
Add support for different taint types ref #1990
|
2019-08-12 23:16:05 -04:00 |
|
Matthew Brown
|
7ed30cd5b0
|
Add support for @readonly annotation
|
2019-08-11 16:01:37 -04:00 |
|
Matthew Brown
|
e32b92be6b
|
Fix #1986 - do better inference after isset on array offsets
|
2019-08-10 23:22:48 -04:00 |
|
Brown
|
bdac01582d
|
Fix #1989 - support fully-qualified params in @method annotations
|
2019-08-08 17:25:56 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Matthew Brown
|
c356b579fd
|
Prevent empty @template-extends docblock from being a fatal error
Fixes #1963
|
2019-07-28 16:47:06 -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
|
3df248eea2
|
Add concept of purity to functions and methods
|
2019-07-18 01:31:48 -04:00 |
|
Brown
|
96ba4ad7d3
|
Fix #1925 - prevent LogicException when scanning files
|
2019-07-10 18:59:02 -04:00 |
|
Matthew Brown
|
6cbf499f14
|
Fix #1922 - ignore iterable/array when transforming assertions
|
2019-07-09 07:38:37 -04:00 |
|
Matthew Brown
|
5f8d4edc73
|
Remove unused param
|
2019-07-07 09:39:21 -04:00 |
|
Matthew Brown
|
bceb4efde9
|
Fix #1911 - allow proper namespaces in union assertions
|
2019-07-07 09:14:23 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
Matthew Brown
|
802016757c
|
Fix #1891 - don’t enter class_alias if the class doesn’t exist
|
2019-07-04 15:46:24 -04:00 |
|
Matthew Brown
|
efe096c7ab
|
Fix #1897 - add support for unions in @psalm-assert annotations
|
2019-07-04 15:05:55 -04:00 |
|
Matthew Brown
|
36e2ea6881
|
Fix #1822 - update use statements with classes
|
2019-06-30 11:12:50 -04:00 |
|
Matthew Brown
|
ca53019d6b
|
Simplify class completion lookup
Ref #1822
|
2019-06-29 21:32:26 -04:00 |
|
Tyson Andre
|
791b30a6d8
|
Fix redundant casts/conditions in psalm (#1874)
This includes a check for array_map that was accidentally an assignment
|
2019-06-29 12:32:44 -04:00 |
|
Matthew Brown
|
cb28c44228
|
Fix #1873 - allow spread operators in inferred property types
|
2019-06-28 22:28:35 -04:00 |
|
Brown
|
6514f2084c
|
Fix #1860 - be less restrictive about class_exists checks
|
2019-06-28 10:17:59 -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
|
372a512a86
|
Don’t convert trait self to trait name
|
2019-06-26 00:28:43 -04:00 |
|
Matthew Brown
|
c0b86bd40d
|
Use uppercase template_type_extends keys
|
2019-06-24 23:43:04 -04:00 |
|
Matthew Brown
|
31c8a2e4d7
|
Add offsets to type tokenisation
Ref #1832
|
2019-06-22 23:30:40 -04:00 |
|
Matthew Brown
|
2a4072b1be
|
Resolve docblock self refs as soon as possible
Fixes #1827
|
2019-06-20 23:38:10 -04:00 |
|