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

14130 Commits

Author SHA1 Message Date
orklah
a75d26a3d4
Merge pull request #10417 from cgocast/tainted_extract
TaintedExtract
2023-12-10 09:40:49 +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
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
orklah
0e43c441d0
Merge pull request #10357 from robchett/inherit_conditional_function_templates
Inherit conditional returns
2023-11-30 19:25:45 +01:00
orklah
efdf425983
Merge pull request #10426 from nicelocal/fix_at_array_keys
Fix at in array keys
2023-11-29 18:26:08 +01:00
e0778fcc11 Fix parsing of array keys with @ 2023-11-29 13:33:11 +01:00
cgocast
c75e6da866 Fix coding style 2023-11-28 10:24:01 +01:00
cgocast
083584d115 TaintedExtract 2023-11-28 10:13:55 +01:00
robchett
626ec3592e Inherit conditional returns
Fixes #3593
2023-11-27 18:46:07 +00:00
orklah
a3024adc46
Merge pull request #10415 from nicelocal/improve_scan_progress
Improve scan progress
2023-11-27 19:22:34 +01:00
3b6ce27b93
Merge branch 'master' into improve_scan_progress 2023-11-27 18:44:00 +01:00
orklah
3295f17873
Merge pull request #10369 from nicelocal/origin_master
Merge 5.x
2023-11-27 18:16:47 +01:00
8058028394 Fix 2023-11-27 15:03:46 +01:00
8d6174cb99 Fix 2023-11-27 15:00:31 +01:00
2eed29209c Fix 2023-11-27 14:49:04 +01:00
48f2430774 Update baseline 2023-11-27 13:45:58 +01:00
cd110d549d Cleanup 2023-11-27 13:41:27 +01:00
d59a5493db cs-fix 2023-11-27 13:36:11 +01:00
62ed2b0cec Hotfix 2023-11-27 13:36:04 +01:00
a84be6465d Test 2023-11-27 13:27:23 +01:00
bd33348206 Minor fixes 2023-11-27 13:23:52 +01:00
af9649b42e Improve scanning progress output 2023-11-27 12:13:37 +01:00
851121b48c Fix 2023-11-27 12:03:38 +01:00
fa908e4ee1 Fixes 2023-11-27 11:55:38 +01:00
9e535682c4 Merge remote-tracking branch 'origin/5.x' into HEAD 2023-11-27 11:54:44 +01:00
orklah
982f95c87e
Merge pull request #10408 from tm1000/patch-2
Declare we do not support document highlighting
2023-11-26 21:36:07 +01:00
orklah
61405e485a
Merge pull request #10409 from nicelocal/fix_backtick_analysis
Fix backtick analysis
2023-11-26 20:04:51 +01:00
73a340fde8 Cleanup 2023-11-26 19:46:45 +01:00
1e2e2248d9 Fix wrong type 2023-11-26 19:34:49 +01:00
e386b072f3 Fix 2023-11-26 13:33:25 +01:00
35f194e9e8 Fix backtick analysis 2023-11-26 13:12:11 +01:00
Andrew Nagy
461ff956c5
Fixes #10397
Explicitly state that we do not support document highlighting.
2023-11-25 15:20:44 -08:00
orklah
b654545aa0
Merge pull request #10402 from alcaeus/mongodb-stubs
Update MongoDB stubs for 1.17
2023-11-23 19:03:48 +01:00
Andreas Braun
acf92537c1
Update MongoDB stubs for 1.17 2023-11-23 10:52:24 +01:00
orklah
2897ba6365
Merge pull request #10396 from danog/fix_circleci
Fix circleci builds
2023-11-22 21:38:47 +01:00
orklah
d92523d305
Merge pull request #10399 from niconoe-/fix-10398
Fix #10398: add missing methods of ReflectionProperty class in CallMap and CallMap deltas.
2023-11-22 21:22:39 +01:00
orklah
579cc084cc
Merge pull request #10370 from kkmuffme/fix-misc-callable-bugs
Fix misc callable bugs
2023-11-22 21:19:56 +01:00
orklah
baa6d5dd78
Merge pull request #10393 from cgocast/doc
Doc typo
2023-11-22 21:06:05 +01:00
Nicolas Giraud
ed1ea524c9 Fix #10398: add missing methods of ReflectionProperty class in CallMap and CallMap deltas. 2023-11-22 17:19:22 +01:00
29ac774b01 Fix 2023-11-22 15:35:48 +01:00
645e9afba2 Fix circleCI builds 2023-11-22 15:27:19 +01:00
cgocast
7be610ef8c Doc typo 2023-11-22 11:10:23 +01:00
orklah
07acefd0b6
Merge pull request #10388 from kkmuffme/temp-empty-reconciliations-failing-tests
Fix redundant condition mixed type escape hatch & loose comparison int type shouldnt be mixed
2023-11-21 18:02:53 +01:00
kkmuffme
0d7c5a2d8e Fix docblock mixed escape hatch
revert https://github.com/vimeo/psalm/pull/7663 including previous from_docblock Mixed assignments, as the tests required 2 suppressions and created an escape hatch via mixed on higher psalm error levels, where mixed isn't reported, thus hiding potentially fatal bugs.
It's still possible to run the validation of docblock docs though: a @var declaration that contains both possible types, to ensure later code won't escape any checks (and no @psalm-suppress needed at all)

This is also a required preparation to fix some isset issues of https://github.com/vimeo/psalm/issues/9759
2023-11-21 13:01:55 +01:00
kkmuffme
d94f7bd553 loose comparisons of int with string shouldn't change change the int to empty-mixed 2023-11-21 13:01:15 +01:00
orklah
5f0332b678
Merge pull request #10391 from tscni/fix/phar-build-failure
Fix Phar build failure
2023-11-21 07:21:25 +01:00
Tinjo Schöni
466bda088b
Fix Phar build failure
The issue was likely caused by Composer 2.6.4 making the autoloader generation (more) reproducible (composer/composer#11663)

We can either try to change the generated autoloader with an autoloader suffix, or just change the Psalm root directory for the smoke test. The latter approach seems easier. :P
2023-11-21 01:22:02 +01:00