1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
Commit Graph

12643 Commits

Author SHA1 Message Date
Alies Lapatsin
76c1e413a1 Add suppressions for using a deprecated property 2023-01-16 23:13:52 +01:00
Alies Lapatsin
9271946dd6 Fully support Psalm 5 behaviour
asked by orklah, see
https://github.com/vimeo/psalm/pull/9112#issuecomment-1383239821
2023-01-16 23:01:22 +01:00
orklah
dedb4bba21
Merge pull request #9115 from BenMorel/getDefaultValueConstantName
Infer getDefaultValueConstantName() type when isDefaultValueConstant() is true
2023-01-15 19:44:30 +01:00
Benjamin Morel
951f0827a3 Infer getDefaultValueConstantName() type when isDefaultValueConstant() is true 2023-01-15 19:11:10 +01:00
orklah
f4b7ab9c62
Merge pull request #9113 from othercorey/callmap-returns
Clean up more callmap return types
2023-01-15 17:24:12 +01:00
Corey Taylor
66ee278de8 Update conditional test to use filter_input with mixed return 2023-01-15 07:43:26 -06:00
Corey Taylor
bbc522709b Clean up more callmap return types 2023-01-15 03:57:22 -06:00
Alies Lapatsin
077cd5d3ee Return getCurlErrorMessage() method as it can be used outside 2023-01-15 00:43:13 +01:00
Alies Lapatsin
9f81a5a060 Update cli help text 2023-01-15 00:28:10 +01:00
Alies Lapatsin
c494b58713 Fix coding style issues 2023-01-15 00:24:51 +01:00
Alies Lapatsin
9ee35983c3 Properly process HTTP response codes from shepherd servers 2023-01-15 00:21:57 +01:00
Alies Lapatsin
b95f428cef Follow redirects when submitting shepherd reports 2023-01-15 00:20:58 +01:00
Alies Lapatsin
f8e210f867 Update baseline (add DeprecatedProperty) 2023-01-14 17:29:39 +01:00
Alies Lapatsin
ce00951d65 Use safer type operations with cli $options array 2023-01-14 17:23:44 +01:00
Alies Lapatsin
5c2d06ea45 Allow to specify a custom shepherd endpoint (instead of domain) 2023-01-14 17:22:42 +01:00
orklah
3e66c6bb7c
Merge pull request #9107 from eopnetto/update-psalm-reserved-words
Add missing `int-range` aliases into the list of psalm reserved words
2023-01-14 02:04:21 +01:00
orklah
11942d7557
Merge pull request #9105 from maniaba/patch-1
Update ForbiddenCode.md
2023-01-13 19:38:05 +01:00
Ezequiel
423b1acbd6 Add tests for the remaining int-range aliases 2023-01-13 11:15:24 -03:00
Ezequiel
602d3ed53e Add missing int-range aliases into the list of psalm reserved words 2023-01-13 11:15:01 -03:00
maniaba
d9c66c93ca
Update ForbiddenCode.md 2023-01-13 11:21:34 +01:00
orklah
d1c2294252
Merge pull request #9099 from lptn/auto-load-random-ext-stub-on-php82
Automatically load stubs for random ext on PHP 8.2
2023-01-12 21:15:32 +01:00
Alies Lapatsin
f471ba9f36
Merge branch 'master' into auto-load-random-ext-stub-on-php82 2023-01-12 18:54:08 +01:00
Alies Lapatsin
fc72214bfc Automatically load stubs for random ext on PHP 8.2 2023-01-12 12:52:45 +01:00
orklah
f723e08221
Merge pull request #9095 from emmanuelGuiton/master
Additional test and fix when comparing nested templates
2023-01-11 18:44:04 +01:00
Emmanuel Guiton
a7c60072dd
Merge branch 'vimeo:master' into master 2023-01-11 13:17:45 +01:00
Emmanuel GUITON
7b212954a9 Additional test and fix when comparing nested templates (vimeo#9094). 2023-01-11 13:17:06 +01:00
orklah
6bcd3bffe3
Merge pull request #9089 from lptn/cleaunup-unsupported-extentions-message
Cleanup unsupported extensions message
2023-01-10 23:29:13 +01:00
Alies Lapatsin
3b5d1a4856 Fix coding-style issue 2023-01-10 23:01:40 +01:00
Alies Lapatsin
a051090658 Merge remote-tracking branch 'origin/cleaunup-unsupported-extentions-message' into cleaunup-unsupported-extentions-message 2023-01-10 19:29:39 +01:00
Alies Lapatsin
69b6409feb Fix coding-style issues 2023-01-10 19:24:33 +01:00
Alies Lapatsin
e21e38d5ac
Merge branch 'master' into cleaunup-unsupported-extentions-message 2023-01-10 18:59:58 +01:00
orklah
4e6474547d
Merge pull request #9092 from b2pweb/fix-8951-promoted-property-with-templace
Handle template type on promoted property
2023-01-10 18:43:17 +01:00
Vincent QUATREVIEUX
e5f297ddbb fix: Handle template type on promoted property #8951 2023-01-10 10:41:48 +01:00
orklah
9366c5ed32
Merge pull request #9012 from kkmuffme/ignore-missingfile-error-for-file_exists-files
dont report MissingFile error when file_exists is validated beforehand
2023-01-09 23:33:04 +01:00
orklah
f415ad56fc
Merge pull request #9073 from therealryanbonham/9066_fix_get_headers_signature
Update Call Maps and Signature for get_headers
2023-01-09 18:41:14 +01:00
orklah
e17ecc15c3
Merge pull request #9088 from lptn/unify-syntax-for-redis-ext
Internal cleanup: Unify syntax for redis.phpstub
2023-01-09 18:36:48 +01:00
Alies Lapatsin
2626827876
Merge branch 'master' into cleaunup-unsupported-extentions-message 2023-01-09 17:39:56 +04:00
Ryan Bonham
bf62ef8b72
Add assertions to check return types for get_headers 2023-01-09 08:39:19 -05:00
Alies Lapatsin
8b23919241 Extend a list of php ext, supported by CallMap files 2023-01-09 14:31:17 +01:00
Alies Lapatsin
63f328cb4c Unify syntax for redis.phpstub 2023-01-09 14:12:39 +01:00
Benjamin Morel
a669c89074 Fix ReflectionClass::newInstanceArgs() 2023-01-08 23:58:14 +01:00
Ryan Bonham
0ba821116e
Fix bad conflict resolution during merge from master. 2023-01-07 19:32:04 -05:00
therealryanbonham
e4e52da218
Merge branch 'master' into 9066_fix_get_headers_signature 2023-01-07 19:27:01 -05:00
Ryan Bonham
ec2f93f33e
Add Test for get_headers associative param in php 7 and php8. 2023-01-07 19:25:04 -05:00
orklah
729c0ba5ed
Merge pull request #9061 from lptn/cleaner_assertions
Make it more clear what do we test from Psalm output
2023-01-07 23:16:08 +01:00
orklah
4ec4ed75a6
Merge pull request #9026 from kkmuffme/fix-never-void-combined-null-return-type-false-positives
fix implicit return type
2023-01-07 22:32:08 +01:00
orklah
d64023548c
Merge pull request #9067 from weirdan/backed-enum-cases
fix `I::cases()` where `interface I extends BackedEnum`
2023-01-07 21:05:35 +01:00
Ryan Bonham
cb204edcdd
Correct Stubs for PHP 7 and PHP 8 2023-01-07 12:38:49 -05:00
Ryan Bonham
e7b5c99255
Remove 'get_headers' from InternalCallMapHandlerTest::$ignoredFunctions 2023-01-06 20:12:02 -05:00
orklah
13509929be
Merge pull request #9072 from MidnightDesign/domxpath-query-return-type
Narrow down the return type of DOMXPath::query()
2023-01-07 01:27:56 +01:00