orklah
|
4a77f24869
|
Merge pull request #8825 from othercorey/fix-returns
Fix return types for date functions in callmap
|
2022-12-04 01:07:33 +01:00 |
|
Corey Taylor
|
d9b651a126
|
Fix return types for date functions in callmap
|
2022-12-03 17:55:29 -06:00 |
|
Alies Lapatsin
|
e0a7df4bad
|
Update dictionaties: use more specific boolean types
|
2022-12-03 21:28:03 +01:00 |
|
orklah
|
8f39de9001
|
Merge pull request #8739 from niconoe-/fix-8735
Fix #8735: IntlDateFormatter CallMaps.
|
2022-11-23 18:57:53 +01:00 |
|
Nicolas Giraud
|
98c60f4276
|
Add missing CallMap on some IntlDateFormatter related to PHP 8.0.
|
2022-11-23 14:25:46 +01:00 |
|
Nicolas Giraud
|
208b745ec4
|
Remove IntlDateFormatter::setTimeZoneId from CallMap_historical as this method is removed since PHP 7.0.0.
|
2022-11-23 13:47:37 +01:00 |
|
Nicolas Giraud
|
9f4ba8d834
|
#8735: Add missing updates of CallMap_historical regarding new changes of IntlDateFormatter.
|
2022-11-23 13:42:50 +01:00 |
|
Nicolas Giraud
|
18bd412dd5
|
Fix #8735: IntlDateFormatter CallMaps.
|
2022-11-23 13:33:02 +01:00 |
|
orklah
|
e83ac65e79
|
Merge pull request #8729 from lptn/fix-dictionary-for-strip_tags-function
Fix dictionary for strip_tags
|
2022-11-23 13:28:48 +01:00 |
|
Alies Lapatsin
|
7678b34945
|
Update CallMap to reflect the most up-to-date signature
|
2022-11-22 23:51:50 +01:00 |
|
Alies Lapatsin
|
d33c338072
|
strip_tags: allow nullable allowed_tags arguments from PHP80
|
2022-11-22 12:27:50 +01:00 |
|
Kamil Tekiela
|
810ef8b771
|
Argument 1 of curl_unescape
|
2022-11-21 22:59:22 +00:00 |
|
Alies Lapatsin
|
8dd76ded86
|
Fix dictionary for strip_tags
- allow null
- allow array from PHP 7.4 (see https://www.php.net/manual/en/function.strip-tags.php)
https://3v4l.org/VjbXO
https://3v4l.org/VWsPr
|
2022-11-21 23:33:25 +01:00 |
|
Fran Moreno
|
c3bd060f06
|
Fix DateTimeZone::listAbbreviations return type
Also fixes DateTimeZone::getOffset return type
|
2022-11-18 08:50:00 +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 |
|
Bram Leeda
|
66af7392fc
|
Update the historical CallMap data for MemcachePool::getExtendedStats
|
2022-11-11 14:18:53 +01:00 |
|
Bram Leeda
|
6000b0f327
|
Add extra types to Memcache::getExtendedStats and Memcached::getStats
|
2022-11-11 11:54:07 +01:00 |
|
|
68a5511057
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-11-08 10:25:04 +01:00 |
|
Marco Pivetta
|
5e9b921fc6
|
Making json_encode() always produce a non-empty-string , when successful
`json_encode()` never produces `''` as a value: that would be invalid JSON anyway
|
2022-11-07 20:42:47 +01:00 |
|
orklah
|
f630a0dc39
|
Merge pull request #8655 from come-nc/fix/reflectionextension-callmap
Fix return type of ReflectionExtension::getVersion
|
2022-11-07 13:23:42 +01:00 |
|
Côme Chilliet
|
8e70aa3a77
|
Fix ReflectionExtension::getVersion signature in CallMap_historical.php as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2022-11-07 09:12:36 +01:00 |
|
orklah
|
74111a3e93
|
adding openssl_x509_verify
|
2022-11-06 21:22:57 +01:00 |
|
Corey Taylor
|
b87ebd697f
|
Fix assert testing callmap return types
|
2022-11-06 00:59:55 -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 |
|
James Gilliland
|
a1f40c9cab
|
Fix Spl file handling signatures
Update SplFileInfo method signatures and related classes.
Fixes #8642
|
2022-11-04 07:11:05 +01:00 |
|
Côme Chilliet
|
24581dfecb
|
Fix return type of ReflectionExtension::getVersion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2022-11-03 15:08:27 +01:00 |
|
Benjamin Morel
|
ee7fc0fad8
|
Fix XMLReader::expand() nullable parameter $baseNode
|
2022-11-01 13:26:41 +01:00 |
|
Alies Lapatsin
|
9516baced6
|
Update str_split signature to reflect PHP 8.2 changes
|
2022-10-31 21:27:46 +03:00 |
|
Alies Lapatsin
|
b450eac812
|
Add PHP 8.2 functions to the main delta
|
2022-10-31 13:00:11 +03:00 |
|
Alies Lapatsin
|
ceb50e5cd5
|
Merge branch '4.x' into php82
|
2022-10-31 13:00:29 +04:00 |
|
Alies Lapatsin
|
61e95f948d
|
Add removed section
|
2022-10-31 01:42:05 +03:00 |
|
Alies Lapatsin
|
6cf0657c6a
|
Add dictionary delta for PHP 8.2
|
2022-10-31 00:43:40 +03:00 |
|
|
5427835fa5
|
Re-apply changes manually
|
2022-10-17 12:46:12 +02:00 |
|
|
15f5c593a7
|
Fix
|
2022-10-17 12:40:50 +02:00 |
|
|
748a74bb2c
|
Merge remote-tracking branch 'origin/4.x' into HEAD
|
2022-10-16 13:41:27 +02:00 |
|
Cristiano Baptista
|
f2ea9e5b3e
|
fix mapped property type for DOMNode childNodes
|
2022-10-13 13:36:23 +02:00 |
|
Tim van Dijen
|
7144551940
|
Fix parameter + return type for lookupNamespaceURI + lookupPrefix
|
2022-10-11 13:05:49 +02:00 |
|
Alies Lapatsin
|
ea5f4cb569
|
Add PHP 8.0 delta for hash_hkdf()
|
2022-10-09 17:40:52 +03:00 |
|
Alies Lapatsin
|
198a4ba9b0
|
Return non-empty-string by hash functions
|
2022-10-09 17:31:14 +03:00 |
|
Alies Lapatsin
|
ee86d6360c
|
Remove extra changes
|
2022-10-09 18:05:35 +04:00 |
|
Alies Lapatsin
|
3c3839b5cb
|
Update hash(), hash_file() and hash_init() types
see https://github.com/php/php-src/blob/php-8.1.5/ext/hash/hash.stub.php
|
2022-10-09 18:01:27 +04:00 |
|
Alies Lapatsin
|
dec8d0edc2
|
Mark hash functions as non-false
See https://github.com/php/php-src/issues/7759 and PR https://github.com/phpstan/phpstan-src/pull/822/files#
|
2022-10-09 17:49:17 +04:00 |
|
Peter de Blieck
|
ea5c2a1302
|
Changed signature of imap_undelete in 8.1 delta
|
2022-10-06 08:52:36 +02:00 |
|
Peter de Blieck
|
f1d1721fa7
|
Fixed function signatures of imap_delete and imap_undelete
|
2022-10-05 14:36:33 +02:00 |
|
kkmuffme
|
ce76158085
|
fix crash in <PHP8 with ResourceBundle
partially reverts https://github.com/vimeo/psalm/pull/8217
|
2022-09-22 01:01:08 +02:00 |
|
Ricardo Boss
|
bf1c0320fd
|
Cherry-pick: Try to provide literal int types when possible (fixes #6966) (#7071)
* Fixed vimeo/psalm#6966
* Only accept >= 0 values for mode argument in round()
* Made round() only return float or literal float values and remove unneeded test
* Registered RoundReturnTypeProvider
* Updated cast analyzer to handle single string literal int values as literal ints
* Fixed psalm errors
* Fix invalid property accesses
* Addressed comments
* Added Tests
* Marked RoundReturnTypeProvider as internal
* Fixed CS
|
2022-09-19 21:54:16 +02:00 |
|
orklah
|
8185260126
|
Merge pull request #8490 from tvdijen/setAttributeNS
Add null-type to several DOM-functions
|
2022-09-18 13:55:41 +02:00 |
|
Tim van Dijen
|
2a315bef45
|
Fix some more
|
2022-09-18 11:53:09 +02:00 |
|
Tim van Dijen
|
3b737480bd
|
Fix CallMap_historical
|
2022-09-18 11:51:39 +02:00 |
|
Tim van Dijen
|
eb93f69251
|
Add null-type to several DOM-functions
|
2022-09-18 11:51:36 +02:00 |
|