Lock file maintenance #2818
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 20 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)
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
|
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
|
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
|
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
|
PHPUnit tests (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
|
PHPUnit tests (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
|
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 (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.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
|