1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
Commit Graph

14362 Commits

Author SHA1 Message Date
cfac758b86 Experiment 2024-01-17 20:00:30 +01:00
878d078140 Bump 2024-01-17 19:56:04 +01:00
e5dbe32b28 Add box composer.lock to phar as well 2024-01-17 19:55:27 +01:00
781734d490 Cleanup 2024-01-17 19:49:53 +01:00
c3ef322116 Merge remote-tracking branch 'vimeo/master' into add_composer_lock 2024-01-17 19:46:08 +01:00
716da5c140 Use different autoloader for phar 2024-01-17 19:44:41 +01:00
b2c80219da Bump box 2024-01-17 19:41:59 +01:00
ab9fb506f7 Lock box to avoid breaking reproducible builds 2024-01-17 19:31:33 +01:00
9803db3002 Reproducible builds 2024-01-17 19:29:41 +01:00
ac95e2514f Add composer.lock to phar (fixes #10446) 2024-01-17 19:12:15 +01:00
67c7be3db2
Merge pull request #10305 from nicelocal/master
Apply rector fixes
2024-01-17 17:42:02 +01:00
3411dd8eb5 Skip opcache on windows 2024-01-17 17:07:48 +01:00
58c5598405 Try disabling opcache 2024-01-17 17:01:31 +01:00
0ba0928f94 Try bumping PHP on windows CI 2024-01-17 13:52:58 +01:00
2a7d6d2750 cs-fix 2024-01-17 13:45:40 +01:00
11e2163ce3 Update baseline 2024-01-17 13:43:35 +01:00
950293c6e7 Fixup test 2024-01-17 13:37:23 +01:00
823c9180fd Fixup 2024-01-17 13:32:15 +01:00
4e5e30633b Fixup 2024-01-17 13:29:08 +01:00
680c8cd39d
Merge pull request #10502 from kkmuffme/warn-for-non-strict-comparisons-on-truthy-falsy-types
report error for non-strict or empty comparison on truthy+falsy union
2024-01-17 13:00:11 +01:00
0504394e8b Fixup 2024-01-17 12:52:36 +01:00
kkmuffme
a3a13241a7 fix baseline somehow incorrect paths 2024-01-17 12:41:58 +01:00
645e59ee53 cs-fix 2024-01-15 17:36:32 +01:00
a1b8b3d281 Merge remote-tracking branch 'vimeo/master' 2024-01-15 14:11:53 +01:00
64868c5c9f
Merge pull request #10504 from danog/merge_5.x
Merge 5.x
2024-01-15 14:07:42 +01:00
adeca9341d Bump 2024-01-15 14:04:24 +01:00
3a263d2cd1 Bump 2024-01-15 13:58:32 +01:00
a032c6e1cd Ignore test issues bypassed by bypass-finals 2024-01-15 13:47:06 +01:00
556d24ec45 Update baseline 2024-01-15 13:45:08 +01:00
d12cdf6d42 Cleanup 2024-01-15 13:27:53 +01:00
c9fe76cadc Patch 2024-01-15 13:16:41 +01:00
3f82312ffa Merge remote-tracking branch 'vimeo/5.x' into merge_5.x 2024-01-15 13:08:20 +01:00
4dd06f7296 Revert #10361 2024-01-15 13:07:06 +01:00
kkmuffme
4b41891829 update baseline 2024-01-15 10:33:46 +01:00
kkmuffme
f34ec2c81e change error level to 2 2024-01-15 10:11:22 +01:00
kkmuffme
5643cf53d4 fix mixed test not actually checking mixed (since superglobals have a more specific type now) 2024-01-15 10:11:22 +01:00
kkmuffme
2414070849 simplify and remove redundant variable 2024-01-15 10:11:22 +01:00
kkmuffme
dca17bcb6a unrelated fix spelling 2024-01-15 10:11:22 +01:00
kkmuffme
93dc2219e0 fix bugs in tests 2024-01-15 10:11:22 +01:00
kkmuffme
19b1a33a20 fix possibly undefined array key in keyed array doesnt include null when not validated
Fix https://psalm.dev/r/b153d0d248 to return 'a'|null instead of 'a' - this is required as otherwise empty would report RedundantCondition errors now which would bring back https://github.com/vimeo/psalm/issues/2681
2024-01-15 10:11:22 +01:00
kkmuffme
63ea734f26 fix shepherd issue 2024-01-15 10:11:22 +01:00
kkmuffme
fb93aede12 create a separate issue type 2024-01-15 10:11:21 +01:00
kkmuffme
f3543ca9ab add the fix for empty() too and fix empty returning bool on true/false only cases hiding errors when functions called 2024-01-15 10:11:21 +01:00
kkmuffme
d5b713e439 Fix https://github.com/vimeo/psalm/issues/10501 - report error for non-strict comparison on truthy+falsy union 2024-01-15 10:11:21 +01:00
orklah
b9583493b0
Merge pull request #10499 from kkmuffme/fix-empty-string-becomes-non-empty-string-when-literal-strings-disabled
Fix empty literal string becomes non-empty-string
2024-01-14 23:41:50 +01:00
orklah
c04eb4c96d
Merge pull request #10542 from kkmuffme/remove-duplicate-directory-separator-in-error-message
remove redundat directory separator which caused "//" in path not found errors
2024-01-14 23:41:06 +01:00
orklah
6e8692513a
Merge pull request #10544 from kkmuffme/improve-extract-variable-assignments
add support for extract to set variables for keyed arrays and respect EXTR_SKIP
2024-01-14 23:40:39 +01:00
orklah
48ef3c474c
Merge pull request #10545 from kkmuffme/basename-dirname-return-type-more-specific
make basename & dirname return types more specific
2024-01-14 23:39:59 +01:00
kkmuffme
f940c029e1 make basename & dirname return types more specific 2024-01-14 19:01:46 +01:00
kkmuffme
02467fbb6a add support for extract to set variables for keyed arrays and respect EXTR_SKIP 2024-01-14 10:54:02 +01:00