|
19a5c01fbb
|
Fix
|
2023-10-19 14:16:41 +02:00 |
|
|
575db97c21
|
Revert tests
|
2023-10-19 14:00:20 +02:00 |
|
|
394e38599d
|
Strict types everywhere
|
2023-10-19 13:12:06 +02:00 |
|
tuqqu
|
8edb886ce3
|
Test cases for DuplicateProperty issue for Trait
|
2023-10-09 01:13:25 +02:00 |
|
Bruce Weirdan
|
468dd1be4c
|
PHP 8.2 attributes moved to 8.2 stub
|
2023-03-03 04:28:37 -04:00 |
|
Jack Worman
|
f9aa2d5ad3
|
Support constants in traits
|
2023-01-17 16:37:44 -05:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
Jack Worman
|
643542346b
|
Add codesniffer rules and expand php-cs-fixer to bin and test
|
2022-12-14 13:29:09 -06:00 |
|
Bruce Weirdan
|
a157743140
|
Prevent crashes on conditional traits
Fixes vimeo/psalm#7863
|
2022-12-03 01:21:10 -04:00 |
|
|
1986c8b4a8
|
Add support for strict arrays, fix type alias intersection, fix array_is_list assertion on non-lists (#8395)
* Immutable CodeLocation
* Remove excess clones
* Remove external clones
* Remove leftover clones
* Fix final clone issue
* Immutable storages
* Refactoring
* Fixes
* Fixes
* Fix
* Fix
* Fixes
* Simplify
* Fixes
* Fix
* Fixes
* Update
* Fix
* Cache global types
* Fix
* Update
* Update
* Fixes
* Fixes
* Refactor
* Fixes
* Fix
* Fix
* More caching
* Fix
* Fix
* Update
* Update
* Fix
* Fixes
* Update
* Refactor
* Update
* Fixes
* Break one more test
* Fix
* FIx
* Fix
* Fix
* Fix
* Fix
* Improve performance and readability
* Equivalent logic
* Fixes
* Revert
* Revert "Revert"
This reverts commit f9175100c8452c80559234200663fd4c4f4dd889.
* Fix
* Fix reference bug
* Make default TypeVisitor immutable
* Bugfix
* Remove clones
* Partial refactoring
* Refactoring
* Fixes
* Fix
* Fixes
* Fixes
* cs-fix
* Fix final bugs
* Add test
* Misc fixes
* Update
* Fixes
* Experiment with removing different property
* revert "Experiment with removing different property"
This reverts commit ac1156e077fc4ea633530d51096d27b6e88bfdf9.
* Uniform naming
* Uniform naming
* Hack hotfix
* Clean up $_FILES ref #8621
* Undo hack, try fixing properly
* Helper method
* Remove redundant call
* Partially fix bugs
* Cleanup
* Change defaults
* Fix bug
* Fix (?, hope this doesn't break anything else)
* cs-fix
* Review fixes
* Bugfix
* Bugfix
* Improve logic
* Add support for list{} and callable-list{} types, properly implement array_is_list assertions (fixes #8389)
* Default to sealed arrays
* Fix array_merge bug
* Fixes
* Fix
* Sealed type checks
* Properly infer properties-of and get_object_vars on final classes
* Fix array_map zipping
* Fix tests
* Fixes
* Fixes
* Fix more stuff
* Recursively resolve type aliases
* Fix typo
* Fixes
* Fix array_is_list assertion on keyed array
* Add BC docs
* Fixes
* fix
* Update
* Update
* Update
* Update
* Seal arrays with count assertions
* Fix #8528
* Fix
* Update
* Improve sealed array foreach logic
* get_object_vars on template properties
* Fix sealed array assertion reconciler logic
* Improved reconciler
* Add tests
* Single source of truth for test types
* Fix tests
* Fixup tests
* Fixup tests
* Fixup tests
* Update
* Fix tests
* Fix tests
* Final fixes
* Fixes
* Use list syntax only when needed
* Fix tests
* Cs-fix
* Update docs
* Update docs
* Update docs
* Update docs
* Update docs
* Document missing types
* Update docs
* Improve class-string-map docs
* Update
* Update
* I love working on psalm :)
* Keep arrays unsealed by default
* Fixup tests
* Fix syntax mistake
* cs-fix
* Fix typo
* Re-import missing types
* Keep strict types only in return types
* argc/argv fixes
* argc/argv fixes
* Fix test
* Comment-out valinor code, pinging @romm pls merge https://github.com/CuyZ/Valinor/pull/246 so we can add valinor to the psalm docs :)
|
2022-11-05 22:34:42 +01:00 |
|
orklah
|
2f3c150690
|
merge fixes
|
2022-02-26 21:28:15 +01:00 |
|
orklah
|
0fe6eaf5d9
|
Merge remote-tracking branch 'upstream/4.x' into upstream-master13
|
2022-02-26 21:26:59 +01:00 |
|
AndrolGenhald
|
1387f94324
|
Attribute analysis improvements.
|
2022-02-23 22:12:32 -06:00 |
|
Matthew Brown
|
b49682a485
|
Simplify issue suppression in tests
|
2022-01-13 14:38:17 -05:00 |
|
Matthew Brown
|
f439d6550b
|
Ensure that all entries in test arrays have explicit keys (#7386)
* Transformation that updates assertions
* Simplify transformation
* Ensure that all tests have keys
* Fix a few remaining keys
|
2022-01-13 13:49:37 -05:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
ralila
|
8fb2e0f885
|
Handle some partials
|
2021-12-04 21:55:53 +01:00 |
|
orklah
|
1efe272aed
|
stub for is_a
|
2021-10-12 22:12:51 +02:00 |
|
AndrolGenhald
|
d4590711d6
|
Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428)
* Fix object-like array keys (fixes #5427).
* Fix incorrect return types for tests.
* Fix false positive list with literal int key.
|
2021-03-19 21:44:44 -04:00 |
|
Matt Brown
|
b6dbc34523
|
Track final-ness of class when evaluating trait returns
|
2020-10-25 12:20:18 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
Brown
|
e808391f56
|
Fix #3943 - understand trait return types a bit better
|
2020-08-05 15:58:26 -04:00 |
|
Brown
|
0ef00f5756
|
Fix #3460 - allow isset checks on static properties
|
2020-05-26 17:40:27 -04:00 |
|
Brown
|
0cb211784d
|
Fix #3415 - flesh out Closure return type
|
2020-05-22 14:26:37 -04:00 |
|
Brown
|
27a009fd69
|
Fix #3417 - Treat $this as static-y
|
2020-05-22 13:32:26 -04:00 |
|
Pierre Grimaud
|
e7990390a6
|
Fix typos (#3255)
|
2020-04-28 09:17:31 -04:00 |
|
Matthew Brown
|
0f5b0fd65d
|
Fix location of traits
|
2020-03-02 23:07:21 -05:00 |
|
Matthew Brown
|
ce9435da19
|
Fix #2521 - use correct context class when analysing trait
|
2019-12-28 15:56:26 -05:00 |
|
Matthew Brown
|
59aeb6b6c3
|
Fix #2490 - allow overriding renamed trait methods in subclass
|
2019-12-20 20:11:27 +00:00 |
|
Matthew Brown
|
8bba5221b2
|
Remove dumb test
|
2019-12-20 18:09:26 +00:00 |
|
Matthew Brown
|
a5434aabfe
|
Fix #2491 - report trait issues at the most local place
|
2019-12-20 17:57:31 +00:00 |
|
Matthew Brown
|
914ef5a5dd
|
Fix #2091 - $this properties should be replaced in trait types
|
2019-09-01 15:45:28 -04:00 |
|
Matthew Brown
|
7c6b1581d3
|
Add warnings about uninitialised properties to mixed as well
|
2019-08-11 00:22:28 -04:00 |
|
Matthew Brown
|
90854c4094
|
Fix broken behaviour when analysing interface test methods
|
2019-07-28 19:44:36 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -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 |
|
Brown
|
4a434d9a2f
|
Add separate issue for undefined classes in docblocks
|
2019-05-15 18:41:26 -04:00 |
|
Matthew Brown
|
c772914910
|
Add some formatting
|
2019-03-23 14:27:54 -04:00 |
|
Matthew Brown
|
2f8bfffe95
|
Fix #1475 but, like, properly this time
|
2019-03-17 13:50:02 -04:00 |
|
Matthew Brown
|
f66af3e267
|
Fix #1475 - allow self params in traits
|
2019-03-17 11:31:04 -04:00 |
|
Matthew Brown
|
ab832207a4
|
Fix #1453 - traits are not valid classes
|
2019-03-15 22:12:35 -04:00 |
|
Matthew Brown
|
4ba15ec18d
|
Flip abstract trait analysis implementation checks
Fix #1414
|
2019-03-02 14:17:26 -05:00 |
|
Bruce Weirdan
|
9bdc9f774f
|
More provider typing
|
2019-03-02 08:43:19 -05:00 |
|
Brown
|
601f303de2
|
Fix position of invalid param
|
2019-02-27 16:00:44 -05:00 |
|
Matthew Brown
|
8650f9eb1a
|
Fix #1356 - improve assertion system to work better on function calls
|
2019-02-26 01:03:33 -05:00 |
|
Matthew Brown
|
f49be31aeb
|
Fix #1332 - use the correct identifier for trait property resolution
|
2019-02-18 16:52:09 -05:00 |
|
Matthew Brown
|
c6b3fc512f
|
Don’t throw exception when ignoring trait absence
|
2019-02-10 16:32:30 -05:00 |
|
Matthew Brown
|
22ec7e537c
|
Fix #1208 - respect inheritance when combining in boolean operation
Also fixes issue reconciling inside trait
|
2019-01-18 10:08:16 -05:00 |
|
Brown
|
ee366015f7
|
Fix #1205 - allow traits to override inheritance checks
|
2019-01-16 10:59:06 -05:00 |
|