WIP Psalm templates #34
Annotations
2 errors and 6 warnings
Infection
The operation was canceled.
|
Psalm
Process completed with exit code 2.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Infection:
src/Doctrine/PlatenumDoctrineType.php#L32
Escaped Mutant for Mutator "CastInt":
--- Original
+++ New
@@ @@
{
/** @psalm-suppress MissingClosureParamType */
$toInteger = function ($value) : int {
- return (int) $value;
+ return $value;
};
$sql = function (array $declaration, AbstractPlatform $platform) : string {
return $platform->getIntegerTypeDeclarationSQL([]);
|
Infection:
src/Doctrine/PlatenumDoctrineType.php#L91
Escaped Mutant for Mutator "DoWhile":
--- Original
+++ New
@@ @@
foreach (class_uses($class, true) as $fqcn) {
$traits[] = $fqcn;
}
- } while ($class = get_parent_class($class));
+ } while (false);
foreach ($traits as $same) {
foreach (class_uses($same, true) as $fqcn) {
$traits[] = $fqcn;
|
Infection:
src/Enum/EnumTrait.php#L123
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public static final function getInstances() : array
{
- static::resolveMembers();
+
foreach (static::$members[static::class] as $member => $value) {
static::fromMember($member);
}
|
Infection:
src/Enum/EnumTrait.php#L124
Escaped Mutant for Mutator "Foreach_":
--- Original
+++ New
@@ @@
public static final function getInstances() : array
{
static::resolveMembers();
- foreach (static::$members[static::class] as $member => $value) {
+ foreach (array() as $member => $value) {
static::fromMember($member);
}
return array_values(static::$instances[static::class]);
|
Infection:
src/Enum/EnumTrait.php#L125
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
static::resolveMembers();
foreach (static::$members[static::class] as $member => $value) {
- static::fromMember($member);
+
}
return array_values(static::$instances[static::class]);
}
|
The logs for this run have expired and are no longer available.
Loading