1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Commit Graph

  • 0ce62a51ec Let's see what breaks without this hack Bruce Weirdan 2024-02-26 01:50:12 +0100
  • 4eec8bb5e8 Disabled wrong test Bruce Weirdan 2024-02-26 01:39:38 +0100
  • 27461c98f6 Strip null used to signify completed iterations in foreach context Bruce Weirdan 2024-02-12 07:47:58 +0100
  • 8a0bc19fa6 Forbid iterating over generators with non-nullable send() Bruce Weirdan 2024-02-12 05:14:17 +0100
  • e9ea999f50
    Merge pull request #10738 from MelechMizrachi/vimeo-fix-long-array-consts-false-flag Bruce Weirdan 2024-02-27 00:40:20 +0100
  • 3535324842 Fix new errors Evan Shaw 2024-02-26 21:28:59 +1300
  • 10ed0f3cd6 Set inside_isset false when analyzing ArrayDimFetch dim Evan Shaw 2024-02-26 21:19:29 +1300
  • 71707e6c4e
    Merge pull request #10748 from weirdan/10747-fix-loading-stubs-from-phar-on-windows Bruce Weirdan 2024-02-25 14:35:17 +0100
  • eb9e8d96cf
    Merge pull request #10749 from weirdan/6449-skip-symlink-test-on-windows Bruce Weirdan 2024-02-25 14:34:30 +0100
  • 57caade0d1 Skip symlink test on Windows Bruce Weirdan 2024-02-25 14:25:25 +0100
  • 01dc2fef84 Fix loading stubs from phar file on Windows Bruce Weirdan 2024-02-25 12:53:13 +0100
  • 6c10ad2355
    Merge pull request #10746 from ohader/taint-kind-const-5.x Bruce Weirdan 2024-02-25 11:11:55 +0100
  • de7b65ea8a
    Use TaintKind/TaintKindGroup constants instead of string values Oliver Hader 2024-02-24 14:44:16 +0100
  • f553392454 Fix a false flag issue with InvalidConstantAssignmentValue being thrown for constants over a certain length. Usually happens with arrays or lists over 100+ entries in length. Melech Mizrachi 2024-02-23 11:25:34 -0700
  • eeffee7aae
    Merge branch '5.22.x' into 5.x Bruce Weirdan 2024-02-23 00:41:03 +0100
  • d768d91415
    Merge pull request #10720 from vimeo/10706-catch-intersection-exceptions-during-scanning Bruce Weirdan 2024-02-22 19:39:07 -0400
  • 4b827d3847
    Add more tests for native intersection types in class properties Oliver Hader 2024-02-19 12:08:46 +0100
  • 7bd35be5d5
    Catch missing classlike exceptions during scanning Bruce Weirdan 2024-02-19 01:41:19 +0100
  • 4a5f433831
    Merge pull request #10729 from ohader/revert-10242-5.x Bruce Weirdan 2024-02-21 17:07:02 -0400
  • 2b642804b7
    Merge pull request #10734 from weirdan/override-attribute-in-pure-context Bruce Weirdan 2024-02-21 15:55:32 -0400
  • 3cd9658d29
    Allow Override attribute to be used in pure contexts Bruce Weirdan 2024-02-21 12:25:30 +0100
  • c401490265
    Merge pull request #10733 from kkmuffme/fix-false-positive-riskytruthyfalsycomparison Bruce Weirdan 2024-02-21 07:03:07 -0400
  • e482c078a7 code style whitespace fixes including for unrelated tests kkmuffme 2024-02-20 22:16:27 +0100
  • 9d8080096c Fix RiskyTruthyFalsyComparison reporting irrelevant errors when there is no explicit truthy/falsy type kkmuffme 2024-02-20 22:15:11 +0100
  • 679aaf0939
    Revert "Allow tainted numerics except for 'html' and 'has_quotes'" Oliver Hader 2024-02-20 13:55:31 +0100
  • 503ccd8235
    Merge pull request #10722 from kkmuffme/fix-uppercase-non-empty-lowercase-and-falsy-in-loop Bruce Weirdan 2024-02-20 07:07:09 -0400
  • 6129891cc7
    Merge pull request #10728 from ohader/10725-before-file-analysis-event-stmts Bruce Weirdan 2024-02-19 19:37:42 -0400
  • 1ff41e68a0
    Drop superfluous fetching of statements from event Oliver Hader 2024-02-20 00:22:14 +0100
  • 2943cfe11d
    Add list of statements to BeforeFileAnalysisEvent Oliver Hader 2024-02-19 23:55:01 +0100
  • a97a121f1e
    Merge pull request #10726 from gsteel/sensitive-parameter Bruce Weirdan 2024-02-19 17:12:49 -0400
  • 407c8b3084
    Update PHP 8.2 stubs to include SensitiveParameterValue George Steel 2024-02-19 17:59:38 +0000
  • 4ac18720aa Revert https://github.com/vimeo/psalm/pull/10039 and fix type and test kkmuffme 2024-02-19 11:41:29 +0100
  • f035c00a21 Fix non-empty-lowercase-string handling with literal non-lowercase strings kkmuffme 2024-02-19 11:32:52 +0100
  • d3c1222152
    Merge pull request #10704 from issidorov/fix-detecting-magic-static-methods Bruce Weirdan 2024-02-17 10:45:23 -0400
  • 5f2e9d1bd8
    Merge branch '5.22.x' into 5.x Bruce Weirdan 2024-02-15 23:54:45 +0100
  • e9dad66e11
    Merge pull request #10713 from weirdan/fix_psalm_type Bruce Weirdan 2024-02-15 18:52:31 -0400
  • 03fcf68d9e
    Allow multiple spaces between type name and type definition Bruce Weirdan 2024-02-15 23:23:40 +0100
  • 893b60ed0d
    Improve parsing of psalm-type Daniil Gentili 2024-02-15 13:34:28 +0100
  • a05a3a8aa9
    Merge pull request #10709 from vimeo/improve_randomizer Daniil Gentili 2024-02-15 11:57:45 +0100
  • b238bc7dc9 Improve randomizer stubs Daniil Gentili 2024-02-15 11:51:41 +0100
  • 8a70bc2506 Resolve tests with suppression "UndefinedMethod" Ivan Sidorov 2024-02-14 20:40:35 +0000
  • 5a66742e70 Failed and regression tests with suppression "UndefinedMethod" Ivan Sidorov 2024-02-14 16:51:31 +0000
  • 37240624f6 Fix description InvalidCodeAnalysisWithIssuesTestTrait Ivan Sidorov 2024-02-15 00:10:54 +0300
  • b7a20802da Fix description in InvalidCodeAnalysisWithIssuesTestTrait Ivan Sidorov 2024-02-14 15:45:04 +0000
  • 08a479aede Rename to TestCase::assertHasIssue Ivan Sidorov 2024-02-14 15:42:44 +0000
  • cfd0fd1554 Use snake_case in TestCase::assertHasIssueType Ivan Sidorov 2024-02-14 15:26:42 +0000
  • db929912fe
    Fix message in TestCase::assertHasIssueType Ivan Sidorov 2024-02-14 09:57:24 +0300
  • e940de5edd Resolve tests with creation of a list of issues Ivan Sidorov 2024-02-01 12:59:21 +0000
  • 9b6ef8beef Failed and regression tests with creation of a list of issues Ivan Sidorov 2024-02-13 14:21:57 +0000
  • d588b3d251 Support for testing with the creation of a list of issues Ivan Sidorov 2024-02-13 08:38:13 +0000
  • 4c645e186c Resolve tests for StaticInvocation and NonStaticSelfCall Ivan Sidorov 2024-02-07 16:04:52 +0000
  • 6f17469b24 Failed tests for StaticInvocation and NonStaticSelfCall Ivan Sidorov 2024-02-10 16:03:25 +0000
  • 6009631567 Fix invalid test Ivan Sidorov 2024-02-10 14:55:57 +0000
  • 14316f55ba Resolve testAnnotationWithoutCallConfigWithExtendsWithStatic Ivan Sidorov 2024-01-31 19:01:14 +0000
  • 4fce0700bf Failed and regression tests with usage config Ivan Sidorov 2024-02-07 12:37:54 +0000
  • 5f89fa1730 Resolved all tests Ivan Sidorov 2024-01-31 20:17:21 +0000
  • 0ba346c5a0 Delete code of replacing variable method_id Ivan Sidorov 2024-01-31 16:59:28 +0000
  • df2067dd74 Resolve testReferencedMethods Ivan Sidorov 2024-01-31 21:26:00 +0000
  • 2567a99347 Extract checking method "__callStatic" from block "if" Ivan Sidorov 2024-02-06 08:04:05 +0000
  • 083b8e26db Add issue message for magic methods Ivan Sidorov 2024-02-06 07:41:57 +0000
  • 29b4c38a94 Add argument with_pseudo for method finding Ivan Sidorov 2024-02-06 07:30:33 +0000
  • 6e361aa9e6 Failed and regression tests for magic static methods Ivan Sidorov 2024-02-07 08:59:49 +0000
  • fe2c67ec89
    Merge pull request #10699 from staabm/taint-doc Bruce Weirdan 2024-02-13 10:22:51 -0400
  • f5fb9498de Use IssueBuffer::maybeAdd() instead of throwing Markus Staab 2024-02-13 09:11:11 +0100
  • c3526b4463 fix test Markus Staab 2024-02-12 14:04:50 +0100
  • da69803823 Report invalid number of arguments for psalm-taint-* Markus Staab 2024-02-12 10:45:05 +0100
  • 395f3f7862
    Merge pull request #10690 from weirdan/9649-this-out-on-constructors Bruce Weirdan 2024-02-11 16:34:25 -0400
  • 13ebb91caf
    Merge pull request #10691 from weirdan/10170-reports-unknown-static-methods-in-first-class-callables Bruce Weirdan 2024-02-11 16:28:23 -0400
  • a8c093aea2
    Handle taking references to unspecified magic methods Bruce Weirdan 2024-02-11 02:45:24 +0100
  • d10e384338
    Report first class callables generated for unknown static methods Bruce Weirdan 2024-02-11 02:24:27 +0100
  • def0489b98
    Process @psalm-this-out on __construct() as well Bruce Weirdan 2024-02-11 01:47:08 +0100
  • ceaea625f3
    Merge pull request #10675 from robchett/prevent_nullable_mixed Bruce Weirdan 2024-02-10 14:20:36 -0400
  • 2a063ff843
    Merge pull request #10686 from weirdan/forbid-constructor-return-values Bruce Weirdan 2024-02-09 20:56:17 -0400
  • 6b405937ab
    Forbid constructors from returning any values Bruce Weirdan 2024-02-10 01:28:19 +0100
  • ba4e312594
    Merge pull request #10678 from weirdan/10669-class-consts-in-shapes Bruce Weirdan 2024-02-09 13:00:19 -0400
  • 5579fd469b Prevent mixed|null when function param is mixed with a null default value robchett 2024-02-07 20:37:00 +0000
  • 2f0b85ff65
    Support parsing constants in shapes Bruce Weirdan 2024-02-07 22:38:01 +0100
  • fa5f15058b
    Merge pull request #10091 from vudaltsov/improve-refelection-stubs Bruce Weirdan 2024-02-07 22:18:56 -0400
  • f9a23149fe
    Merge pull request #10679 from weirdan/8323-dont-show-backtrace-in-InvalidDocblock-issue-message Bruce Weirdan 2024-02-07 22:00:01 -0400
  • 6b6bed5850
    Don't show backtrace in InvalidDocblock issue message Bruce Weirdan 2024-02-08 01:20:57 +0100
  • aedea60827
    Merge pull request #10677 from robchett/template_union_object_incorrect_assertions Bruce Weirdan 2024-02-07 18:25:02 -0400
  • 06dbd4e4d3
    Merge pull request #10676 from weirdan/10667-narrow-ord-return-type Bruce Weirdan 2024-02-07 17:41:43 -0400
  • 7289f642d9 Fix other assertion errors with union templates robchett 2024-02-07 21:35:24 +0000
  • 2d48916f8a Fix is_object false positive when 'V as int|stdClass' robchett 2024-02-07 21:14:58 +0000
  • f9044cb4e4
    Narrow ord() return type to int<0,255> Bruce Weirdan 2024-02-07 21:49:59 +0100
  • f9ff9d34f0 Added ReflectionParameter::getPosition to CallMap_historical.php Valentin Udaltsov 2024-02-07 02:47:49 +0300
  • 07a64f6894 Improved Reflection stubs ReflectionParameter::getPosition() is non-negative-int. ReflectionMethod name property is always non-empty-string. ReflectionAttribute::getTarget() returns Attribute::TARGET_* instead of int-mask. Even for attributes of promoted properties (https://3v4l.org/rpM1t). *::getAttributes() always returns a list (https://3v4l.org/LYAMb). Valentin Udaltsov 2023-08-08 18:08:05 +0300
  • 4a5dbcaebc
    Merge pull request #10671 from danog/temp_revert Daniil Gentili 2024-02-06 23:52:24 +0100
  • b42c273556 Revert partial mistakenly pushed fix temp_revert Daniil Gentili 2024-02-06 23:42:11 +0100
  • 7d19f30961
    Fix #10667 Daniil Gentili 2024-02-06 23:35:18 +0100
  • b54e0b2fd6
    Merge pull request #10666 from weirdan/10662-strip-callmap-prefixes-from-parameter-names Bruce Weirdan 2024-02-06 16:07:48 -0400
  • 2fc2a37ca0
    Merge pull request #10665 from issidorov/parsing-magic-methods Bruce Weirdan 2024-02-06 16:00:22 -0400
  • 1c36da6dda
    Strip callmap prefixes from parameter names Bruce Weirdan 2024-02-06 20:52:42 +0100
  • afaaa3d6df Fix parsing magic method annotations Ivan Sidorov 2024-02-06 16:09:32 +0000
  • 6b3380b05f Regression and fail tests Ivan Sidorov 2024-02-06 15:20:02 +0000
  • 508da9abd4
    Merge pull request #10661 from vimeo/10018-flag-stdclass-constructor-with-arguments Bruce Weirdan 2024-02-05 20:31:26 -0400
  • 62b525993d
    Flag stdClass::__construct() calls that have arguments Bruce Weirdan 2024-02-06 01:24:18 +0100
  • 46217057a1
    Merge pull request #10659 from weirdan/7395-suppress-UndefinedClass-in-whatever_exists Bruce Weirdan 2024-02-05 15:58:25 -0400
  • b822c3339d
    Suppress UndefinedClass in whatever_exists() Bruce Weirdan 2024-02-05 20:44:09 +0100
  • f40e23faef
    Merge pull request #10655 from weirdan/late-binding-of-enum-properties Bruce Weirdan 2024-02-05 15:17:42 -0400