Refactor NodeScopeResolver unit tests data files with annotations #15708
static-analysis.yml
on: pull_request
Generate baseline
1m 20s
Generate PHP baseline
1m 21s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
103 errors
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan with result cache (8.1):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan with result cache (8.1)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan with result cache (8.2):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan with result cache (8.3):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.1, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
Generate baseline
Process completed with exit code 1.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.0, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L128
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L128
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L131
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L153
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L158
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L130
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L130
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L133
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L155
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L160
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L93
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L93
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L96
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L118
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Testing/TypeInferenceTestCase.php#L123
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.1, windows-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L138
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L141
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L163
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (8.0, windows-latest):
src/Testing/TypeInferenceTestCase.php#L168
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L128
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L128
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L131
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L153
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (7.4, windows-latest):
src/Testing/TypeInferenceTestCase.php#L158
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L130
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L130
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L133
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L155
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (7.3, windows-latest):
src/Testing/TypeInferenceTestCase.php#L160
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L93
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L93
Parameter #2 $subject of function preg_match expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L96
Only booleans are allowed in an if condition, int|false given.
|
PHPStan (7.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L118
Only booleans are allowed in an elseif condition, int|false given.
|
PHPStan (7.2, windows-latest):
src/Testing/TypeInferenceTestCase.php#L123
Method PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() throws checked exception Exception but it's missing from the PHPDoc @throws tag.
|
PHPStan (7.2, windows-latest)
Process completed with exit code 1.
|