Fix PropertyExistsTypeSpecifyingExtension for union types #21961
static-analysis.yml
on: pull_request
Generate baseline
1m 38s
Generate PHP baseline
1m 39s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
46 errors
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.2, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
Generate baseline
Process completed with exit code 1.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan with result cache (8.3):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan with result cache (8.4):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan with result cache (8.4):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.3, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan with result cache (8.2):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.4, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.1, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.0, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.4, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.4, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.2, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.3, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.0, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L87
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (8.1, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L79
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L77
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (7.4, ubuntu-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L69
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L77
Parameter #1 $name of class PhpParser\Node\Identifier constructor expects non-empty-string, string given.
|
PHPStan (7.4, windows-latest):
src/Type/Php/PropertyExistsTypeSpecifyingExtension.php#L69
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\PropertyExistsTypeSpecifyingExtension.php is expected to occur 2 times, but occurred only 1 time.
|