Update dependency vimeo/psalm to ^6.6.1 #2820
continuous-integration.yml
on: push
Matrix: Check Backward Compatibility
Matrix: Run benchmarks
Matrix: Check Coding Standards
Matrix: Test Compatibility
Matrix: Check Demo Scripts
Matrix: Mutation tests
Matrix: PHPUnit tests
Matrix: Static Analysis by PHPStan
Matrix: Static Analysis by Psalm
Annotations
10 errors and 42 warnings
ClassMustBeFinal:
src/Identifier/Exception/InvalidIdentifierName.php#L11
src/Identifier/Exception/InvalidIdentifierName.php:11:7: ClassMustBeFinal: Class Roave\BetterReflection\Identifier\Exception\InvalidIdentifierName is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/Identifier/Identifier.php#L15
src/Identifier/Identifier.php:15:7: ClassMustBeFinal: Class Roave\BetterReflection\Identifier\Identifier is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/Identifier/IdentifierType.php#L15
src/Identifier/IdentifierType.php:15:7: ClassMustBeFinal: Class Roave\BetterReflection\Identifier\IdentifierType is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/NodeCompiler/CompileNodeToValue.php#L25
src/NodeCompiler/CompileNodeToValue.php:25:7: ClassMustBeFinal: Class Roave\BetterReflection\NodeCompiler\CompileNodeToValue is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/NodeCompiler/CompiledValue.php#L8
src/NodeCompiler/CompiledValue.php:8:7: ClassMustBeFinal: Class Roave\BetterReflection\NodeCompiler\CompiledValue is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/NodeCompiler/CompilerContext.php#L18
src/NodeCompiler/CompilerContext.php:18:7: ClassMustBeFinal: Class Roave\BetterReflection\NodeCompiler\CompilerContext is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/NodeCompiler/Exception/UnableToCompileNode.php#L17
src/NodeCompiler/Exception/UnableToCompileNode.php:17:7: ClassMustBeFinal: Class Roave\BetterReflection\NodeCompiler\Exception\UnableToCompileNode is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/Reflection/Adapter/Exception/NotImplementedBecauseItTriggersAutoloading.php#L7
src/Reflection/Adapter/Exception/NotImplementedBecauseItTriggersAutoloading.php:7:7: ClassMustBeFinal: Class Roave\BetterReflection\Reflection\Adapter\Exception\NotImplementedBecauseItTriggersAutoloading is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/Reflection/Adapter/ReflectionIntersectionType.php#L15
src/Reflection/Adapter/ReflectionIntersectionType.php:15:7: ClassMustBeFinal: Class Roave\BetterReflection\Reflection\Adapter\ReflectionIntersectionType is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
ClassMustBeFinal:
src/Reflection/Attribute/ReflectionAttributeHelper.php#L23
src/Reflection/Attribute/ReflectionAttributeHelper.php:23:7: ClassMustBeFinal: Class Roave\BetterReflection\Reflection\Attribute\ReflectionAttributeHelper is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
Run benchmarks (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-
|
Run benchmarks (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.4.4-composer-locked-tools-ci-
|
Check Demo Scripts (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-
|
Check Demo Scripts (locked, 8.4, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Test Compatibility (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-
|
Test Compatibility (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.4.4-composer-locked-tools-ci-
|
Test Compatibility (locked, 8.4, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Test Compatibility (locked, 8.4, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Check Coding Standards (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-tools-ci-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-tools-ci-
|
Static Analysis by Psalm (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-
|
Run benchmarks (locked, 8.4, windows-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Test Compatibility (locked, 8.4, windows-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.3.17-composer-locked-
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-locked-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.3.17-composer-locked-tools-ci-
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.3.17-composer-locked-
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-locked-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.3.17-composer-locked-tools-ci-
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
PHPUnit tests (locked, 8.2, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
PHPUnit tests (locked, 8.2, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
PHPUnit tests (highest, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-highest-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-highest-
|
PHPUnit tests (highest, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-highest-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.4.4-composer-highest-tools-ci-
|
PHPUnit tests (lowest, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-lowest-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-lowest-
|
PHPUnit tests (lowest, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-lowest-tools-ci-eb2987d0847b0fcc2946d84a61a38b577fd50133d06170412e1c1a361bbe1229, Linux-php-8.4.4-composer-lowest-tools-ci-
|
PHPUnit tests (highest, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-highest-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.3.17-composer-highest-
|
PHPUnit tests (highest, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-highest-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.3.17-composer-highest-tools-ci-
|
PHPUnit tests (lowest, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-lowest-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.3.17-composer-lowest-
|
PHPUnit tests (lowest, 8.3, ubuntu-latest)
Cache not found for keys: Linux-php-8.3.17-composer-lowest-tools-ci-eb2987d0847b0fcc2946d84a61a38b577fd50133d06170412e1c1a361bbe1229, Linux-php-8.3.17-composer-lowest-tools-ci-
|
Mutation tests (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-a77b7c939bb1b592210d1906216170fefede27e8e52f79aa6e4fcd17e1de7e8e, Linux-php-8.4.4-composer-locked-
|
Mutation tests (locked, 8.4, ubuntu-latest)
Cache not found for keys: Linux-php-8.4.4-composer-locked-tools-ci-141008482809cf9e3cb3014e161d5dd031ae52492571c876147ee12c0fc4264d, Linux-php-8.4.4-composer-locked-tools-ci-
|
Mutation tests (locked, 8.4, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Mutation tests (locked, 8.4, ubuntu-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L380
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
}
/** @psalm-var mixed $nodePropertyArrayItem */
foreach ($nodeProperty as $nodePropertyArrayItem) {
- if ($nodePropertyArrayItem instanceof Node && $this->nodeIsOrContainsYield($nodePropertyArrayItem)) {
+ if (true && $this->nodeIsOrContainsYield($nodePropertyArrayItem)) {
return true;
}
}
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert(true || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || true || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || true || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || true || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || true);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert(!$returnType instanceof Node\Identifier || !$returnType instanceof Node\Name || !$returnType instanceof Node\NullableType || !$returnType instanceof Node\UnionType || !$returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.4, ubuntu-latest):
src/SourceLocator/Type/AutoloadSourceLocator.php#L204
Escaped Mutant for Mutator "TrueValue":
@@ @@
}
private function silenceErrors(): void
{
- set_error_handler(static fn(): bool => true);
+ set_error_handler(static fn(): bool => false);
}
/**
* We can only load functions if they already exist, because PHP does not
|