Fix "Unsafe use of new static when trait enforces constructor via abstract method" #21883
static-analysis.yml
on: pull_request
Generate baseline
1m 41s
Generate PHP baseline
2m 1s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
32 errors
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
Generate baseline
Process completed with exit code 1.
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan with result cache (8.4):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.4, windows-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest):
src/Rules/Classes/NewStaticRule.php#L92
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/Rules/Classes/NewStaticRule.php#L91
Only booleans are allowed in &&, bool|PHPStan\TrinaryLogic given on the right side.
|
PHPStan (7.4, windows-latest)
The operation was canceled.
|
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-fix/9654 exists
|
Static Analysis
Canceling since a higher priority waiting request for sa-fix/9654 exists
|