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 |
|
|
cca276768e
|
List refactoring v5 (#8820)
* Squash
* Remove BC break
* Suppress
* Possibly fix
* Fixes
* Fix test
* Trigger build
* Update psl
* Update psl
* Fixes
* Fixes
* Cleanup
* fix
* Fix build
* Do not consider never when getting the max count
* Add assertion
* Cleanup
* Fix
* Cleanup
|
2022-12-13 21:40:19 +01:00 |
|
Matthew Brown
|
8d36bdc3ed
|
Make array shapes strict by default (#8701)
* Make array shapes strict by default
* Fix PSL tests
|
2022-11-11 20:14:21 -05: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 |
|
|
923f1d2eb7
|
Possible fix
|
2022-11-05 22:23:31 +01:00 |
|
|
748a74bb2c
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-10-16 13:41:27 +02:00 |
|
kkmuffme
|
d2be169ce5
|
update tests
|
2022-08-03 20:12:18 +02:00 |
|
Matthew Brown
|
c974f23852
|
Simplify context references
|
2022-01-24 16:35:42 -05: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 |
|
orklah
|
0747b48d06
|
remove TEmpty
|
2022-01-03 04:09:59 +02:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
orklah
|
b542daf233
|
more precise test
|
2021-09-23 21:24:17 +02:00 |
|
orklah
|
a7fa63547e
|
add tests, improve count behaviour on keyed arrays using integer range
|
2021-09-23 21:24:16 +02:00 |
|
Jack Robertson
|
c8574a6347
|
Simplify FQNs
|
2021-07-26 13:56:15 +01:00 |
|
Jack Robertson
|
8bec5fc743
|
Add expected behaviour tests
|
2021-07-26 08:50:12 +01: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
|
53c5e52ef2
|
Fix #3017 - use correct keys when converting list to array
|
2020-11-27 20:05:16 -05:00 |
|
Matt Brown
|
be1cd5275e
|
Fix #4349 - improve types for suggested unions
|
2020-10-16 17:56:31 -04:00 |
|
Matt Brown
|
bb7d7132f7
|
Do arithmetic for preg_split arguments
|
2020-10-12 20:26:02 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
Brown
|
c0b0036109
|
Fix #3934 - prevent unsafe use of new static
|
2020-08-05 19:39:27 -04:00 |
|
Matthew Brown
|
f94ab22a5f
|
Be better about strict inference
|
2020-03-25 09:18:49 -04:00 |
|
Matthew Brown
|
97a849b1be
|
Fix #1311 - narrow scalar properly, exploding constituent types
|
2020-02-22 20:25:13 -05:00 |
|
Matthew Brown
|
2635e57cde
|
Negation of numeric on array-key is fine too
|
2020-02-22 12:53:27 -05:00 |
|
Matthew Brown
|
ae1360a52f
|
An array-key can be numeric
|
2020-02-22 12:34:27 -05:00 |
|
Matthew Brown
|
1b7b71f2ca
|
Fix #2591 - always remove changed var from parent clauses
Even when there are no child clauses due to an assertion
|
2020-01-10 23:46:45 -05:00 |
|
Matthew Brown
|
0c7851ae21
|
Fix #2526 - always check for array assignment in assignop
|
2019-12-29 08:36:46 -05:00 |
|
Brown
|
6ec947b82b
|
Move some tests into special fodler
|
2019-12-06 14:58:18 -05:00 |
|