mu3ic
|
2ce340782e
|
Fix Uncaught RuntimeException: PHP Error: Uninitialized string offset 0 when $pattern is empty
|
2023-12-14 09:44:28 +03:00 |
|
orklah
|
3bc8cde539
|
Merge pull request #10488 from kkmuffme/invalidargument-false-not-true-param
add InvalidArgument error when passing false to true param
|
2023-12-13 18:48:51 +01:00 |
|
orklah
|
f7fe4cf026
|
Merge pull request #10484 from kkmuffme/literal-string-equality-removes-type-incorrectly-and-union-equality-incorrect-type
fix literal int/string comparisons only using one literal
|
2023-12-13 18:48:22 +01:00 |
|
kkmuffme
|
d04694f4d4
|
Fix https://github.com/vimeo/psalm/issues/9267
|
2023-12-13 15:30:43 +01:00 |
|
kkmuffme
|
cceb1fb8c4
|
add missing phpdoc in new tests
|
2023-12-13 15:21:46 +01:00 |
|
kkmuffme
|
af3978281e
|
remove previously broken test https://github.com/vimeo/psalm/issues/10487
|
2023-12-13 15:05:48 +01:00 |
|
kkmuffme
|
6363b57c33
|
fix bug equality assertion with int and float setting wrong type - required so previous commit works
|
2023-12-13 14:43:55 +01:00 |
|
kkmuffme
|
e6f24d91fd
|
Fix https://psalm.dev/r/aada187f50 where 2 union types are not intersected and the condition contains both types
|
2023-12-13 14:10:22 +01:00 |
|
kkmuffme
|
108f626712
|
fix literal int/string comparisons only using one literal
Fix https://github.com/vimeo/psalm/issues/9552
|
2023-12-13 13:59:26 +01:00 |
|
Floris Luiten
|
e981778383
|
Fix "Cannot locate enable" with Symfony project
Fixes the "Cannot locate enable" error when using psalm-plugin enable with a Symfony project
|
2023-12-13 13:27:35 +01:00 |
|
orklah
|
955e7fe6a6
|
Merge pull request #10481 from kkmuffme/invalid-array-key-types-and-literal-string-as-int-key
report error for invalid array key type
|
2023-12-13 07:24:51 +01:00 |
|
kkmuffme
|
9be7fceb59
|
Fix literal string keys int not handled as int as PHP does
Fix https://github.com/vimeo/psalm/issues/8680
See also https://github.com/vimeo/psalm/issues/9295
|
2023-12-13 00:24:50 +01:00 |
|
kkmuffme
|
82ff582280
|
add error for invalid array key type in docblock
|
2023-12-13 00:23:14 +01:00 |
|
orklah
|
1df5b3580b
|
Merge pull request #10454 from kkmuffme/unsealed-not-nonempty-callable-param-should-be-valid
fix false positive ArgumentTypeCoercion for callback param
|
2023-12-12 21:26:24 +01:00 |
|
orklah
|
a5e15795ad
|
Merge pull request #10480 from danog/fix_10479
Use same parameter names in stubs
|
2023-12-12 21:23:26 +01:00 |
|
orklah
|
cdb9c54403
|
Merge pull request #10477 from kkmuffme/unused-variable-taint-should-not-modify-type-equals
Fix type not equal when parent
|
2023-12-12 21:23:03 +01:00 |
|
orklah
|
9a57645d7b
|
Merge pull request #10475 from kkmuffme/fix-old-psalm-version-in-tests
fix psalm v4 hardcoded in tests
|
2023-12-12 21:22:14 +01:00 |
|
|
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
|
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 |
|