1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00
Commit Graph

14351 Commits

Author SHA1 Message Date
761f390d9b Use same parameter names in stubs 2023-12-12 18:51:31 +01:00
kkmuffme
3c045b30a7 fix false positive ArgumentTypeCoercion for callback param when unsealed and all optional 2023-12-12 14:13:32 +01:00
kkmuffme
679a492609 other atomics 2023-12-12 13:54:35 +01:00
kkmuffme
0fd789cdcc Fix type not equal when parent
parent nodes are only populated if taint/unused variable analysis is enabled
2023-12-12 13:44:17 +01:00
kkmuffme
20ae081ee1 fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
orklah
a75d26a3d4
Merge pull request #10417 from cgocast/tainted_extract
TaintedExtract
2023-12-10 09:40:49 +01:00
orklah
f268dfa52d
Merge pull request #10456 from kkmuffme/update-cpu-counter-dependency
update fidry/cpu-core-counter dependency
2023-12-10 09:39:38 +01:00
orklah
c6cddbecbf
Merge pull request #10467 from still-dreaming-1/patch-1
Fixed docblock spacing in `@psalm-internal` documentation example
2023-12-09 14:14:41 +01:00
orklah
742052f40e
Merge pull request #10472 from nicelocal/fix_weakmap
Fix iteration over weakmaps
2023-12-09 14:14:19 +01:00
orklah
5e221f3430
Merge pull request #10459 from kkmuffme/dont-combine-empty-string-with-numeric-string
dont combine empty string with numeric-string
2023-12-09 12:11:00 +01:00
25be3c1d88 Fix 2023-12-08 12:48:46 +01:00
f980689d97 Fix iteration over weakmaps 2023-12-08 12:31:42 +01:00
still-dreaming-1
a0b31c5bf4
Fixed docblock spacing in supported_annotations.md @psalm-internal example 2023-12-07 15:22:56 -07:00
kkmuffme
5fccb33938 dont combine empty string with numeric-string
Fix https://github.com/vimeo/psalm/issues/6646
2023-12-07 20:05:16 +01:00
orklah
93c7a8fd63
Merge pull request #10452 from theodorejb/patch-1
Fix remaining POSIX-only absolute path detection
2023-12-07 18:08:57 +01:00
orklah
b87427ff6b
Merge pull request #10463 from kkmuffme/fix-scripts-running-with-inconsistent-php-versions
fix composer scripts running with inconsistent php versions
2023-12-07 18:08:23 +01:00
orklah
f4e9837e27
Merge pull request #10450 from nicelocal/fix_class_string_key
Fix shaped array class string key combination
2023-12-07 17:52:15 +01:00
orklah
0c6d9d37d1
Merge pull request #10455 from nicelocal/small_assertion_fix
Small assertion fix
2023-12-07 17:51:57 +01:00
orklah
ea06da7034
Merge pull request #10457 from nicelocal/always_emit_AfterCodebasePopulatedEvent
Emit AfterCodebasePopulatedEvent even on partial scans
2023-12-07 17:51:24 +01:00
orklah
bc71da47e7
Merge pull request #10464 from danog/fix_10460
Fix #10460
2023-12-07 17:37:10 +01:00
576ecd66e6 Fix #10460 2023-12-07 17:29:22 +01:00
kkmuffme
951fa2292a fix composer scripts running with inconsistent php versions 2023-12-07 17:20:37 +01:00
0d3485b588 Commit just first part of fix for now 2023-12-07 13:04:59 +01:00
d5bac4d51d Emit AfterCodebasePopulatedEvent even on partial scans 2023-12-07 12:46:34 +01:00
6650bd8a57 cs-fix 2023-12-07 12:31:21 +01:00
kkmuffme
bfd167515b the new version has no changes 2023-12-07 12:25:03 +01:00
dbded437ad Small assertion fix 2023-12-07 12:20:55 +01:00
Theodore Brown
b5ee6e0d8b Replace remaining POSIX only absolute path detection
These were missed in #10441. Fixes "Could not resolve config path" error on Windows (#10418).
2023-12-06 13:48:06 -06:00
76458e0b50 Add test 2023-12-06 14:52:54 +01:00
d3b7f3f0b4 Fix 2023-12-06 14:47:24 +01:00
527b04dde6 Fix 2023-12-06 14:24:17 +01:00
4ed0fe934f Fix shaped array class string key combination 2023-12-06 14:12:19 +01:00
orklah
c620f6e80d
Merge pull request #10439 from nicelocal/fix_literal_union_key
Use keyed arrays when assigning literal union keys & assertion fixes
2023-12-03 21:21:41 +01:00
390df68966
Merge branch '5.x' into fix_literal_union_key 2023-12-03 20:55:05 +01:00
orklah
1cca558a2b
Merge pull request #10419 from nicelocal/byref_closure_use
Implement by-ref closure use analysis
2023-12-03 20:53:55 +01:00
37cf82ea52
Merge branch '5.x' into fix_literal_union_key 2023-12-03 20:50:05 +01:00
75633cbc6d Merge remote-tracking branch 'hub/5.x' into byref_closure_use 2023-12-03 20:47:51 +01:00
orklah
62f32f4d09
Merge pull request #10431 from nicelocal/fix_unused_psalm_suppress
Emit UnusedPsalmSuppress issues for suppressed issues already removed
2023-12-03 20:44:55 +01:00
337c7af73b
Merge branch 'master' into master 2023-12-03 15:37:23 +01:00
a2d89d0990 Fixup 2023-12-03 15:32:20 +01:00
eb54624461 Fixup 2023-12-03 15:30:57 +01:00
18a6c0b6e9 Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
de53638295 Fixes 2023-12-03 13:06:36 +01:00
ee5e4b800f Update 2023-12-03 12:36:14 +01:00
b03b846682 Emit UnusedPsalmSuppress issues for suppressed issues already removed by plugins 2023-12-03 11:45:17 +01:00
orklah
bcb73f2c6f
Merge pull request #10441 from rarila/patch-1
Fix POSIX only detection of absolute paths
2023-12-03 00:16:21 +01:00
orklah
0659967d05
Merge pull request #10429 from tscni/fix/trait-call-static
Fix static magic method pureness not being inherited from traits
2023-12-02 14:30:49 +01:00
orklah
794bdaac4f
Merge pull request #10422 from tscni/fix/match-null-coalesce
Restore support for null coalesce on match expressions
2023-12-02 14:29:20 +01:00
orklah
fe34213267
Merge pull request #10434 from nicelocal/fix_virtual
Use correct file path while adding unused suppressions for virtual __…
2023-12-02 14:16:57 +01:00
orklah
8a180e6fc0
Merge pull request #10442 from kkmuffme/add-missing-r-to-args
Fix CLI -r error
2023-12-02 14:16:02 +01:00