Brown
|
16c33d1565
|
Add support for list type
Fixes #2209
|
2019-10-08 18:44:46 -04:00 |
|
Brown
|
b0aaede9e1
|
Add support for checking integer array offsets
|
2019-10-04 11:08:08 -04:00 |
|
Matthew Brown
|
d85fbaec09
|
Add stricter checks after first isset
|
2019-10-03 21:34:56 -04:00 |
|
Brown
|
d225374d6d
|
Fix #2156 - do better inference after isset
|
2019-10-01 19:31:08 -04:00 |
|
Brown
|
a81c3067ad
|
Store the whole type
|
2019-10-01 17:09:32 -04:00 |
|
Matthew Brown
|
f8a2eae0e2
|
Fix #2186 - use expanded class name for aliased class
|
2019-09-30 22:15:48 -04:00 |
|
Brown
|
2c9a082b3e
|
Fix #2172 - only complain about missing offset if it’s really missing
|
2019-09-25 19:02:49 -04:00 |
|
Brown
|
648dda67ed
|
Fix Psalm issues
|
2019-09-25 13:12:29 -04:00 |
|
Brown
|
1a48be8e9c
|
Fix #2165 - coerce null array offset to zero
|
2019-09-25 12:17:37 -04:00 |
|
Brown
|
c68dcf2f74
|
Don’t coerce false to null when coming from ignore-false type
|
2019-09-20 15:30:29 -04:00 |
|
Brown
|
be4894c8e0
|
Fix #2155 - coerce false to 0, true to 1 in array offset
|
2019-09-20 15:21:38 -04:00 |
|
Matthew Brown
|
9ad6c36d9b
|
Conditionally verify that array offsets exist (#2147)
* Check array offsets idea
* Clean up some issues
* Add a few light fixes
* Add docs
|
2019-09-18 14:21:06 -04:00 |
|
Matthew Brown
|
0b4981f01b
|
Fix #1551 - do better at inferring class constant types
|
2019-09-14 14:26:31 -04:00 |
|
Matthew Brown
|
d941294a84
|
Move class const analysis
|
2019-09-14 13:12:54 -04:00 |
|
Matthew Brown
|
d27935d109
|
Improve accuracy around array addition
|
2019-09-08 10:23:12 -04:00 |
|
Brown
|
aba3659311
|
Add more specific key coercion rules when assigning to arrays
|
2019-08-27 15:12:25 -04:00 |
|
Brown
|
4db8ca6a1d
|
Cleanup extra issues from recent fixes
|
2019-08-27 14:16:34 -04:00 |
|
Brown
|
3b865f6509
|
Fix #2048 - allow mixed array to be assigned specific string keys
|
2019-08-27 10:18:58 -04:00 |
|
Brown
|
fef61e996e
|
Propagate possibly-null issues onto fetched properties
|
2019-08-23 13:27:38 -04:00 |
|
Matthew Brown
|
1b983babd0
|
Allow unset of potentially invalid array key type
|
2019-08-18 18:06:41 -04:00 |
|
Matthew Brown
|
62dff200d5
|
Fix redundant condition
|
2019-08-17 18:02:38 -04:00 |
|
Matthew Brown
|
b6dc8f547e
|
Fix #2031 - still get class const return type after defined check
|
2019-08-17 18:01:24 -04:00 |
|
Brown
|
538abbc54c
|
Fix #2020 - allow static::CONST_NAME to have non-mixed type in final class
|
2019-08-15 10:41:30 -04:00 |
|
Matthew Brown
|
600999a3a8
|
Add better typing
|
2019-08-14 00:47:57 -04:00 |
|
Brown
|
c3949e3194
|
Improve taint protection for exec-related commands
|
2019-08-13 19:18:50 -04:00 |
|
Matthew Brown
|
d5b026839c
|
Add support for different taint types ref #1990
|
2019-08-12 23:16:05 -04:00 |
|
Brown
|
37d93141c4
|
Only register taints on known magic properties
|
2019-08-06 13:05:34 -04:00 |
|
Brown
|
0dc6b74fb4
|
Add taintedness to magic property fetches
|
2019-08-06 12:54:12 -04:00 |
|
Matthew Brown
|
8f6d432dd0
|
Add support for magic property comprehension
|
2019-08-05 23:19:22 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Matthew Brown
|
1ae9ea5fed
|
Use object instead of by-ref params
|
2019-07-10 01:35:57 -04:00 |
|
Matthew Brown
|
d0f6f85dba
|
Fix #1899 - detect dead code after array assignment
|
2019-07-04 16:38:31 -04:00 |
|
Brown
|
5c76b3c82d
|
Fix #1888 - add go-to-variable
|
2019-07-01 18:48:33 -04:00 |
|
Matthew Brown
|
f5809ec24a
|
Only add node references to explicit locations
|
2019-07-01 11:12:12 -04:00 |
|
Brown
|
62c37a84f2
|
Fix tokenising bug found while analysing Phan cc @TysonAndre
|
2019-06-28 12:29:39 -04:00 |
|
Brown
|
6b32565a9b
|
Allow references to deprecated class inside the class
|
2019-06-27 13:36:39 -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
|
5ed49c0c03
|
Fixed #1848 - allow static class strings to be compared
|
2019-06-26 15:11:16 -04:00 |
|
Matthew Brown
|
31c8a2e4d7
|
Add offsets to type tokenisation
Ref #1832
|
2019-06-22 23:30:40 -04:00 |
|
Brown
|
bdf54ae1fa
|
Fix #1814 - warn about deprected ::class access
|
2019-06-19 12:42:51 -04:00 |
|
Brown
|
10613192c9
|
Fix #1803 - complain about DeprecatedClass when using its constants
|
2019-06-18 16:21:04 -04:00 |
|
Matthew Brown
|
f46ccf0a5d
|
Strip text from end of @psalm-type
|
2019-06-16 12:39:07 -04:00 |
|
Matthew Brown
|
06e913e37b
|
Fix #1791 - complain about missing class constants
|
2019-06-15 12:19:26 -04:00 |
|
Matthew Brown
|
b0678bdc74
|
Improve treatment of key-of
Ref #1698
|
2019-06-07 21:27:50 -04:00 |
|
Matthew Brown
|
0287adfd44
|
Fix const replacements when moving classes
|
2019-06-06 07:05:30 -04:00 |
|
Brown
|
3e15fa8bfe
|
Fix bad namespacing
|
2019-06-05 11:15:52 -04:00 |
|
Brown
|
f309c755f8
|
Add ability to move classes
|
2019-06-05 08:50:24 -04:00 |
|
Brown
|
c7f35c263c
|
Fix #1737 properly
|
2019-06-04 14:08:49 -04:00 |
|
Brown
|
67c9851b95
|
Fix Psalm bug, and add test to capture it
|
2019-06-04 13:43:11 -04:00 |
|
Brown
|
778b95d335
|
Add support for moving class constants
|
2019-06-04 11:14:49 -04:00 |
|