1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-29 20:28:59 +01:00
Commit Graph

13947 Commits

Author SHA1 Message Date
761f390d9b Use same parameter names in stubs 2023-12-12 18:51:31 +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
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
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
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
orklah
f7df43a79e
Merge pull request #10443 from nielsdos/5.x
Fix return type of DOMXPath::query
2023-12-02 14:13:37 +01:00
Niels Dossche
6eba2f564c Fix return type of DOMXPath::query
This can also return namespace nodes, which are not a child class of
DOMNode.
2023-12-02 12:02:56 +01:00
kkmuffme
c6bf949c71 Fix CLI -r error
Fix https://github.com/vimeo/psalm/issues/10418
2023-12-02 09:04:37 +01:00
rarila
59fd539ab9
Fix POSIX only detection of absolute paths 2023-12-01 18:01:57 +01:00
0aeb87c21c Simplify 2023-12-01 17:57:50 +01:00
9119ce0541 Fixup 2023-12-01 17:48:47 +01:00
17bf9a45a6 Fixup 2023-12-01 17:46:24 +01:00
147129345e Add failing test 2023-12-01 17:23:35 +01:00
ead2908464 Fixup tests 2023-12-01 17:05:23 +01:00
f652cf09d8 Merge branch 'fix_array_key_exists_negation' into fix_literal_union_key 2023-12-01 16:31:24 +01:00
1a4656564a Cleanup 2023-12-01 16:31:01 +01:00