orklah
|
3e50f68794
|
Merge pull request #9623 from klimick/contextual-inference-for-const-callable
Contextual inference for const callable
|
2023-04-14 16:22:53 +02:00 |
|
andrew
|
1f282fe7ba
|
Fix ClassTemplateTest.templateStaticWithParam test
|
2023-04-14 15:00:03 +03:00 |
|
andrew
|
8c09d1678b
|
Try to fix test ClassTemplateTest.templateStaticWithParam
|
2023-04-07 14:56:58 +03:00 |
|
orklah
|
06e085cf3f
|
fix coercion detection between two keyed arrays
|
2023-04-04 12:05:48 +02:00 |
|
Paweł Tomulik
|
3b4eb518a9
|
add tests for #9506
|
2023-03-17 15:56:30 +01:00 |
|
Vincent QUATREVIEUX
|
e5f297ddbb
|
fix: Handle template type on promoted property #8951
|
2023-01-10 10:41:48 +01:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
|
70d1a5a3c5
|
Add test
|
2022-12-18 18:14:43 +01: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 |
|
|
7b6e09afc9
|
Merge branch 'merge_4.x' into immutable_readonly_3
|
2022-10-17 12:58:41 +02:00 |
|
|
cbd1a27ea7
|
Merge branch 'master' into merge_4.x
|
2022-10-16 13:49:21 +02:00 |
|
|
748a74bb2c
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-10-16 13:41:27 +02:00 |
|
ADmad
|
9bd4d7a740
|
Fix template param for SplDoublyLinkedList.
It's key is always an integer.
|
2022-10-14 11:54:53 +05:30 |
|
|
ef60a0c88c
|
Fix properties-of on generics&intersections
|
2022-10-03 11:28:01 +02:00 |
|
|
3abd0b961f
|
Immutable Unions
|
2022-10-03 10:45:36 +02:00 |
|
kkmuffme
|
5c39e66b15
|
fix tests
|
2022-09-15 19:38:51 +02:00 |
|
Matthew Brown
|
d957ff2015
|
Fix mixed type hole when sending Foo<string> to Foo<mixed> (#8481)
* Fix mixed type hole when sending Foo<string> to Foo<mixed>
* Fix ifThisIs test
* Suppress bugs highlighted with fix
* Fix PHPDoc parsing
|
2022-09-13 13:13:06 -04:00 |
|
|
0220da0b32
|
Add tests
|
2022-08-17 13:30:36 +02:00 |
|
Teemu Koskinen
|
89b7b3234b
|
Add test for #8373
Undefined classes in function dockblocks should not crash psalm.
Test provided by @AndrolGenhald
|
2022-08-08 23:49:14 +03:00 |
|
kkmuffme
|
d2be169ce5
|
update tests
|
2022-08-03 20:12:18 +02:00 |
|
someniatko
|
0c652f72f6
|
#8330 - take into account that static type may have been unwrapped in ExistingAtomicStaticCallAnalyzer#hasStaticInType()
|
2022-07-29 12:31:37 +03:00 |
|
someniatko
|
1e0b572264
|
#8200 - bikeshedding the tests
|
2022-07-14 10:03:47 +03:00 |
|
someniatko
|
21a6dd9096
|
#8200 - move tests to the correct provider ("valid" instead of "invalid")
|
2022-07-12 21:53:14 +03:00 |
|
someniatko
|
ecbceb1d58
|
#8200 - move Issue8200Test to ClassTemplateTest
|
2022-07-12 21:38:23 +03:00 |
|
Bruce Weirdan
|
e0acf22e40
|
Merge branch '4.x' into update-master
|
2022-05-28 14:49:12 -04:00 |
|
Matt Brown
|
d064d9fc6c
|
Add test
|
2022-04-27 01:47:02 -04:00 |
|
Vincent Langlet
|
48bc030eec
|
Add test
|
2022-04-09 21:59:23 +02:00 |
|
|
8d0c1c62e8
|
Ensure all template parameters are specified in classes, interfaces, traits
|
2022-01-31 10:06:31 +01:00 |
|
Matthew Brown
|
61d450a267
|
Fix combination of templated types
|
2022-01-24 13:56:32 -05:00 |
|
Matthew Brown
|
944b281cbe
|
Prevent negation from removing unmatched template vars
|
2022-01-24 13:20:02 -05:00 |
|
orklah
|
0e891f25ad
|
refactor description of types in Atomic
|
2022-01-22 19:34:57 +01:00 |
|
Pete Walker
|
057a99c9f1
|
fix: Tests / minor bug
|
2022-01-22 00:00:45 +00:00 |
|
orklah
|
e8c8161dd6
|
fix merge induced errors
|
2022-01-15 20:32:09 +01:00 |
|
orklah
|
5b82082bbd
|
Merge remote-tracking branch 'upstream/4.x' into upstream-master2
|
2022-01-15 20:21:00 +01: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 |
|
Vincent
|
fe7665aaaf
|
Add support of template for docblock methods (fix #7320)
|
2022-01-13 11:04:37 +01:00 |
|
Bruce Weirdan
|
ab60d311c2
|
Merge pull request #7188 from vimeo/muglug-use-invalidscalarargument-less
|
2022-01-03 06:04:42 +02:00 |
|
orklah
|
0747b48d06
|
remove TEmpty
|
2022-01-03 04:09:59 +02:00 |
|
Matthew Brown
|
b419c299e3
|
Use InvalidScalarArgument only when we can be sure PHP attempts coercion
|
2022-01-02 14:56:18 +02:00 |
|
Bruce Weirdan
|
36d5a2a83c
|
Merge pull request #7019 from zoonru/no_ksort_list
|
2022-01-02 07:37:21 +02:00 |
|
orklah
|
8e5c9f02bb
|
fix test
|
2022-01-01 11:21:43 +01:00 |
|
|
ff7abec2bd
|
Fix tests
|
2021-12-30 12:01:25 +01: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 |
|
|
04bbd2acba
|
Fix tests
|
2021-11-26 21:47:17 +01:00 |
|
Matthew Brown
|
a205a23ccb
|
Fix #6212 - remove untested code, add test for reasonable behaviour
|
2021-07-31 19:50:56 -04:00 |
|