|
96f2dde791
|
Merge remote-tracking branch 'origin/5.x'
|
2023-10-21 13:39:39 +02:00 |
|
|
394e38599d
|
Strict types everywhere
|
2023-10-19 13:12:06 +02:00 |
|
Rudolph Gottesheim
|
aa04c0063b
|
Allow Stringable in sprintf() values
|
2023-09-28 10:23:02 +02:00 |
|
Yannick Gottschalk
|
f93d23899d
|
Fix glob CallMap and stub to prevent crash on alpine (and possibly other systems)
|
2023-06-25 13:17:13 +02:00 |
|
Yannick Gottschalk
|
c74d431fdf
|
Fixed style issues
|
2023-06-07 08:52:54 +02:00 |
|
Yannick Gottschalk
|
a130e2f06c
|
Fixes #9820
|
2023-06-06 17:02:28 +02:00 |
|
RobChett
|
bd0ba6ee95
|
Narrow the type of haystack when strpos != false
|
2023-05-21 10:35:19 +01:00 |
|
fluffycondor
|
9730f2c073
|
Don't report InvalidLiteralArgument for paths
|
2023-03-18 00:05:44 +06:00 |
|
fluffycondor
|
f3e950bac7
|
str_* functions assert for non-empty-string
|
2023-03-17 17:58:44 +06:00 |
|
fluffycondor
|
723e40840e
|
Add InvalidLiteralArgument tests
|
2023-03-17 16:41:36 +06:00 |
|
fluffycondor
|
c2dae0e43f
|
Add php8 str_* functions signatures
|
2023-03-17 16:39:04 +06:00 |
|
fluffycondor
|
cfe8651bdd
|
Add tests for falsable return
|
2023-03-16 12:42:36 +06:00 |
|
fluffycondor
|
0c3fa5b5d0
|
Add depth range
According to
https://www.php.net/manual/en/function.json-decode.php#:~:text=The%20value%20must%20be%20greater%20than%200%2C%20and%20less%20than%20or%20equal%20to%202147483647
|
2023-03-16 12:08:48 +06:00 |
|
fluffycondor
|
d11c7cdb8e
|
Add JSON_THROW_ON_ERROR full support
|
2023-03-16 12:08:07 +06:00 |
|
fluffycondor
|
7ba0f9798c
|
Fix test
|
2023-03-10 11:44:53 +06:00 |
|
fluffycondor
|
2abefb9618
|
Return a non-empty-string with JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE
|
2023-03-10 11:34:23 +06:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
fluffycondor
|
dd76a1e481
|
Fix tests
|
2022-12-18 16:57:36 +06:00 |
|
fluffycondor
|
6f230edc8b
|
Add one more test
|
2022-12-18 16:53:19 +06:00 |
|
fluffycondor
|
987981b12a
|
Make sprintf return non-empty-string when arguments non-empty-strings too
|
2022-12-18 16:53:19 +06: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 |
|
|
53e3889745
|
Fixes
|
2022-10-17 10:21:26 +02:00 |
|
|
748a74bb2c
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-10-16 13:41:27 +02:00 |
|
Semyon
|
462ce7138a
|
Make DatePeriod implement Traversable oh PHP 7, rename constructor params
|
2022-07-25 17:11:36 +03:00 |
|
Semyon
|
9d3253482d
|
Add stub for DatePeriod
|
2022-07-25 17:11:36 +03:00 |
|
orklah
|
070a1cc7a3
|
fix merge induced errors
|
2022-01-22 18:05:32 +01:00 |
|
orklah
|
af1888b631
|
Merge remote-tracking branch 'upstream/4.x' into upstream-master4
|
2022-01-22 17:48:42 +01:00 |
|
Alberto Piai
|
9b22d63c5b
|
fix proc_open stub for php >= 8.0
The argument names are defined here:
https://github.com/php/php-src/blob/PHP-8.0.0/ext/standard/basic_functions_arginfo.h#L1773-L1780
|
2022-01-20 13:57:34 +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 |
|
ralila
|
8fb2e0f885
|
Handle some partials
|
2021-12-04 21:55:53 +01:00 |
|
Alessandro Lai
|
55cbbd4fe7
|
Add test
|
2021-09-09 16:04:12 +02:00 |
|