1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
Commit Graph

11968 Commits

Author SHA1 Message Date
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
Bruce Weirdan
efe36270f1
Merge pull request #8699 from andrew-demb/patch-1 2022-11-11 02:09:52 -04:00
Andrii Dembitskyi
5704087422 Cleanup outdated comment 2022-11-11 07:38:33 +02:00
Bruce Weirdan
c613e47c55
Merge pull request #8693 from weirdan/fix-8267
Fixes https://github.com/vimeo/psalm/issues/8267
2022-11-10 21:13:12 -04:00
Bruce Weirdan
f49ff60172
Merge pull request #8688 from weirdan/fix-stringable-object
Fixes https://github.com/vimeo/psalm/issues/8575
2022-11-10 20:27:49 -04:00
Bruce Weirdan
55933a5309
Merge pull request #8692 from weirdan/fix-8602
Fixes https://github.com/vimeo/psalm/issues/8602
2022-11-10 20:27:07 -04:00
Bruce Weirdan
0f528d05f7
Update docs/running_psalm/issues/InvalidEnumCaseValue.md 2022-11-10 20:26:37 -04:00
Bruce Weirdan
6faf4c99ab
Merge pull request #8694 from weirdan/fix-8242
Fixes https://github.com/vimeo/psalm/issues/8242
2022-11-10 20:25:18 -04:00
Bruce Weirdan
80750fd579 Implement subtype checks for stringable-object 2022-11-10 19:55:36 -04:00
Bruce Weirdan
512ad832f3 TObjectWithProperties::$methods have lowercase keys
Method names in PHP are case-insensitive.
2022-11-10 19:55:36 -04:00
Bruce Weirdan
d122cef1ca Mark inferred mutation-free constructor as such
Previously Psalm treated those constructors as explicitly mutation-free,
and thus required descendant constructors to be explicitly marked too.

Fixes vimeo/psalm#8602
2022-11-10 19:55:25 -04:00
Bruce Weirdan
6effd1bd2d Flag invalid enum case value types
Fixes vimeo/psalm#8267
2022-11-10 19:55:18 -04:00
Bruce Weirdan
290b65f6dd Allow enum cases to reference constants
Fixes vimeo/psalm#8242
2022-11-10 19:54:45 -04:00
Bruce Weirdan
410c7bb474
Merge pull request #8697 from Nicelocal/fix_psl_e2e 2022-11-10 19:54:01 -04:00
Bruce Weirdan
30efa4abe1
Merge pull request #8698 from ThomasLandauer/patch-1 2022-11-10 16:17:15 -04:00
Thomas Landauer
c51d3665eb
Removing list
see https://github.com/vimeo/psalm/pull/8696#issuecomment-1310677110
2022-11-10 20:19:02 +01:00
Bruce Weirdan
4d53d26f00
Merge pull request #8689 from Nicelocal/fix_formatting 2022-11-10 13:21:37 -04:00
Bruce Weirdan
e2e9d824e7
Merge pull request #8696 from ThomasLandauer/patch-1 2022-11-10 12:38:03 -04:00
0038387252 Fix PSL e2e tests 2022-11-10 17:10:46 +01:00
Thomas Landauer
0c102a244e
Fixing code formatting 2022-11-10 16:59:04 +01:00
Matthew Brown
d63da1f66e
Prevent array{a: Foo} going cleanly into array<Foo> (#8691)
* Prevent array{a: Foo} going cleanly into array<Foo>

* Add test for new behaviour

* Fix code style issues

* Allow unions to be cloned again

* Simplify params properties
2022-11-10 09:18:27 -05:00
f8b9e97592 Fix heading indentation 2022-11-09 12:28:57 +01:00
9c23824b08 Try fix formatting 2022-11-09 10:17:38 +01:00
orklah
0cd1f13c83
Merge pull request #8687 from weirdan/emit-deprecatedinterface-when-referenced-in-generics
Emit `DeprecatedInterface` when interface is referenced in a generic
2022-11-09 07:09:35 +01:00
Matthew Brown
708db38742
Include docs with vendor dist 2022-11-08 20:35:26 -05:00
Bruce Weirdan
d81543f83e
Emit DeprecatedInterface when an interface is referenced in a generic
Fixes vimeo/psalm#8617
2022-11-08 20:34:08 -04:00
orklah
65c31ce89e
Merge pull request #8685 from Nicelocal/merge_4.x_final
Last-minute docufix
2022-11-08 21:10:30 +01:00
2e04aff60f Fix docs 2022-11-08 20:34:26 +01:00
orklah
33c2d9d8ca
Merge pull request #8684 from Nicelocal/merge_4.x_final
Merge 4.x and documentation fixes
2022-11-08 19:54:22 +01:00
0d0e965042 Fix typo 2022-11-08 17:54:43 +01:00
a341863db2 Fix typo 2022-11-08 17:54:03 +01:00
c720e41469 Better docs 2022-11-08 16:00:00 +01:00
3c7e5be703 Mark as internal 2022-11-08 10:55:14 +01:00
65d6a469b6 Fix tests 2022-11-08 10:45:21 +01:00
fc00b6338a Fix tests 2022-11-08 10:37:48 +01:00
383cec6863 Add missing docs 2022-11-08 10:29:04 +01:00
940e00e57a Fix 2022-11-08 10:26:28 +01:00
68a5511057 Merge remote-tracking branch 'origin/4.x' into HEAD 2022-11-08 10:25:04 +01:00
orklah
493233776b
Merge pull request #8681 from Ocramius/stubs/better-json-encode-types
Making `json_encode()` always produce a `non-empty-string`, when successful
2022-11-07 20:53:01 +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
orklah
618d599283
Merge pull request #8678 from VincentLanglet/phpstanParamOut
Add support for phpstan-param-out
2022-11-07 13:15:45 +01:00
Vincent Langlet
6916d414e2 Add support for phpstan-param-out 2022-11-07 10:22:33 +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
d0bc6e25d8
Merge pull request #8677 from orklah/openssl
adding openssl_x509_verify
2022-11-06 21:37:08 +01:00
orklah
398cf99c6c revert wrong commit 2022-11-06 21:24:03 +01:00
orklah
74111a3e93 adding openssl_x509_verify 2022-11-06 21:22:57 +01:00
orklah
b48a713a48
Merge pull request #8676 from othercorey/fix-return-callmap
Fix assert testing callmap return types
2022-11-06 09:59:46 +01:00
Corey Taylor
b87ebd697f Fix assert testing callmap return types 2022-11-06 00:59:55 -05:00