Matthew Brown
|
85ae8f93d2
|
Clear out property assignments when necessary
|
2019-09-07 18:34:18 -04:00 |
|
Matthew Brown
|
37d09cdefa
|
Fix call to impure function
|
2019-08-31 15:01:53 -04:00 |
|
Brown
|
1cb8c3f6c4
|
Infer missing docblock-supplied types from constructor
Fixes #2071
|
2019-08-27 10:37:39 -04:00 |
|
Brown
|
fef61e996e
|
Propagate possibly-null issues onto fetched properties
|
2019-08-23 13:27:38 -04:00 |
|
Brown
|
4046b44903
|
fix #2010 - properties with defaults should work with static type
|
2019-08-12 14:29:14 -04:00 |
|
Matthew Brown
|
7ed30cd5b0
|
Add support for @readonly annotation
|
2019-08-11 16:01:37 -04:00 |
|
Matthew Brown
|
7c6b1581d3
|
Add warnings about uninitialised properties to mixed as well
|
2019-08-11 00:22:28 -04:00 |
|
Matthew Brown
|
f718c2fca1
|
Fix #1974 - prevent bad property defaults on static properties
|
2019-07-29 22:18:46 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
Matthew Brown
|
cb28c44228
|
Fix #1873 - allow spread operators in inferred property types
|
2019-06-28 22:28:35 -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 |
|
Brown
|
db38270a6a
|
Clone closure param types before combining
|
2019-06-20 19:09:10 -04:00 |
|
Brown
|
d1630863ad
|
Fix #1787 - prevent initialisation when nullable isn’t set
|
2019-06-14 16:53:40 -04:00 |
|
Brown
|
aa2fde521a
|
Fix #1703 - infer properties from class params
|
2019-06-10 12:00:32 -04:00 |
|
Matthew Brown
|
93f81f599e
|
Fix #1764 - prevent UndefinedInterfaceMethod error when checking initialisation
|
2019-06-09 09:18:05 -04:00 |
|
Matthew Brown
|
f5e4b9b45f
|
Fix #1713 - don’t crash when a property is unset
|
2019-05-31 19:49:24 -04:00 |
|
Brown
|
0bd4dbcbc4
|
Bump to PHP 7.1
Fixes #1650
|
2019-05-16 18:36:36 -04:00 |
|
Brown
|
4a434d9a2f
|
Add separate issue for undefined classes in docblocks
|
2019-05-15 18:41:26 -04:00 |
|
Brown
|
0e4c8ce482
|
Split apart TypeCoercion issues, allowing more granular issue filtering
|
2019-04-25 18:02:19 -04:00 |
|
Matthew Brown
|
f788fb10db
|
Fix line offset
|
2019-04-14 13:25:12 -04:00 |
|
Matthew Brown
|
e2c3eaebc5
|
Fix string syntax
|
2019-04-14 13:12:21 -04:00 |
|
Matthew Brown
|
934fb53d65
|
Improve error locations for PropertyNotSetInConstructor errors
|
2019-04-14 12:48:59 -04:00 |
|
Matthew Brown
|
ffec25da20
|
Fix #1556 - allow internal method calls when checking property initialisation s
|
2019-04-14 12:19:15 -04:00 |
|
Matthew Brown
|
c63886fc36
|
Fix Psalm errors
|
2019-04-08 21:51:18 -04:00 |
|
Matthew Brown
|
cb1ed5f1ca
|
Fix #1532 - ignore inaccessible method with implicit parent constructor call
|
2019-04-08 11:01:16 -04:00 |
|
Matthew Brown
|
c772914910
|
Add some formatting
|
2019-03-23 14:27:54 -04:00 |
|
Brown
|
8d06c6a700
|
Fix #1480 by remembering where a property was set
|
2019-03-19 19:43:18 -04:00 |
|
Bruce Weirdan
|
9bdc9f774f
|
More provider typing
|
2019-03-02 08:43:19 -05:00 |
|
Matthew Brown
|
5c76ab35c8
|
Allow properties to be set regardless of visibility
|
2019-03-01 17:30:55 -05:00 |
|
SignpostMarv
|
87021c315f
|
fixing some tests under windows again (following on from #1292)
|
2019-02-28 17:53:36 -05:00 |
|
Brown
|
601f303de2
|
Fix position of invalid param
|
2019-02-27 16:00:44 -05:00 |
|
bugreportuser
|
61e086ac7b
|
Ignore more redundant issues
|
2019-02-18 22:44:26 -05:00 |
|
Matthew Brown
|
6b419452af
|
Fix #1337 - don’t crash when examining __call methods in initialisation checks
|
2019-02-18 16:04:27 -05:00 |
|
Matthew Brown
|
a428b34a1a
|
Fix #1338 - ignore redundant issues when collecting initialisations
|
2019-02-16 20:27:42 -05:00 |
|
Brown
|
dca8bf9d36
|
Fix #1329 - improve handling arrays with string offsets
|
2019-02-15 14:42:17 -05:00 |
|
Brown
|
3deea3980d
|
Add checks for unitialized properties
Fixes #1328
|
2019-02-13 13:32:19 -05:00 |
|
Matthew Brown
|
62fb8035bf
|
Fix #1309 - no PropertyNotSetInConstructor warnings for grandchild of class
|
2019-02-10 15:01:10 -05:00 |
|
Matthew Brown
|
6033345694
|
Fix #1281 - improve handling of mixed property array assignment
|
2019-02-05 00:36:57 -05:00 |
|
Matthew Brown
|
509709d6bc
|
Fix #1267 - flesh out self static property types
|
2019-02-01 08:59:01 -05:00 |
|
Brown
|
e384fb0328
|
Fix premature property type
|
2019-01-31 18:05:21 -05:00 |
|
Brown
|
fd88f00526
|
Fix a few small bugs
|
2019-01-31 17:48:48 -05:00 |
|
Matthew Brown
|
03c5823051
|
Fix #1217 - allow protected property to be se by parent constructor
|
2019-01-20 11:20:39 -05:00 |
|
Matthew Brown
|
94af3b6c51
|
Add automatic inheritance to properties
Fixes #1210
|
2019-01-19 10:09:26 -05:00 |
|
Matthew Brown
|
11bfaaa5f7
|
Prevent crash in constructor checks
|
2019-01-09 08:35:53 -05:00 |
|
Matthew Brown
|
9d8c2792e2
|
Add array-key type and improve general type handling
Fixes #1144
|
2019-01-05 00:15:53 -05:00 |
|
Matthew Brown
|
116cbfd349
|
Fix #1090 - re-fix support for magic get properties
|
2018-11-21 16:57:54 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Brown
|
f56c76a8be
|
Fix #1015 with maybe slightly hacky solution? It’s an edge case, though
|
2018-10-10 11:45:56 -04:00 |
|
Matthew Brown
|
3b8e82cca1
|
Fix hydration of property types in property map
|
2018-10-10 00:54:50 -04:00 |
|
Matt Brown
|
dce8d14e1b
|
Fix syntax errors in tests
|
2018-09-17 12:15:45 -04:00 |
|