Skip to content

Merge pull request #22 from script-development/engineer/log-builder-t… #49

Merge pull request #22 from script-development/engineer/log-builder-t…

Merge pull request #22 from script-development/engineer/log-builder-t… #49

Triggered via push May 20, 2026 14:55
Status Success
Total duration 2m 33s
Artifacts 4

ci.yml

on: push
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L144
Escaped Mutant for Mutator "LogicalNot": @@ @@ { if ( !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable + || $node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) {
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L144
Escaped Mutant for Mutator "InstanceOf_": @@ @@ { if ( !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable + || $node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) {
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalOr": @@ @@ if ( !$node->var instanceof PropertyFetch || !$node->var->var instanceof Variable - || $node->var->var->name !== 'this' - || !$node->var->name instanceof Identifier + || $node->var->var->name !== 'this' && !$node->var->name instanceof Identifier ) { return false; }
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalOr": @@ @@ { if ( !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable - || $node->var->var->name !== 'this' + || !$node->var->var instanceof Variable && $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) { return false;
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalOr": @@ @@ private function isOnNonDatabaseProperty(MethodCall $node, array $nonDatabaseProperties): bool { if ( - !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable + !$node->var instanceof PropertyFetch && !$node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) {
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalNot": @@ @@ private function isOnNonDatabaseProperty(MethodCall $node, array $nonDatabaseProperties): bool { if ( - !$node->var instanceof PropertyFetch + $node->var instanceof PropertyFetch || !$node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "InstanceOf_": @@ @@ private function isOnNonDatabaseProperty(MethodCall $node, array $nonDatabaseProperties): bool { if ( - !$node->var instanceof PropertyFetch + $node->var instanceof PropertyFetch || !$node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L125
Escaped Mutant for Mutator "LogicalAnd": @@ @@ $count = 0; $this->walkNodes($method->stmts ?? [], function(Node $node) use (&$count, $nonDatabaseProperties): void { if ( - $node instanceof MethodCall - && $node->name instanceof Identifier + ($node instanceof MethodCall || $node->name instanceof Identifier) && in_array($node->name->toString(), self::WRITE_METHODS, true) && !$this->isOnNonDatabaseProperty($node, $nonDatabaseProperties) ) {
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L94
Escaped Mutant for Mutator "LogicalOr": @@ @@ $executeMethod = $node->getMethod('execute'); - if ($executeMethod === null || $executeMethod->stmts === null) { + if ($executeMethod === null && $executeMethod->stmts === null) { return []; }
check (8.5): src/Rules/EnforceActionTransactionsRule.php#L88
Escaped Mutant for Mutator "LogicalOr": @@ @@ { $namespace = $scope->getNamespace(); - if ($namespace === null || !str_starts_with($namespace, 'App\Actions')) { + if ($namespace === null && !str_starts_with($namespace, 'App\Actions')) { return []; }
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L144
Escaped Mutant for Mutator "LogicalNot": @@ @@ { if ( !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable + || $node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) {
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L144
Escaped Mutant for Mutator "InstanceOf_": @@ @@ { if ( !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable + || $node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) {
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalOr": @@ @@ if ( !$node->var instanceof PropertyFetch || !$node->var->var instanceof Variable - || $node->var->var->name !== 'this' - || !$node->var->name instanceof Identifier + || $node->var->var->name !== 'this' && !$node->var->name instanceof Identifier ) { return false; }
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalOr": @@ @@ { if ( !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable - || $node->var->var->name !== 'this' + || !$node->var->var instanceof Variable && $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) { return false;
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalOr": @@ @@ private function isOnNonDatabaseProperty(MethodCall $node, array $nonDatabaseProperties): bool { if ( - !$node->var instanceof PropertyFetch - || !$node->var->var instanceof Variable + !$node->var instanceof PropertyFetch && !$node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier ) {
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "LogicalNot": @@ @@ private function isOnNonDatabaseProperty(MethodCall $node, array $nonDatabaseProperties): bool { if ( - !$node->var instanceof PropertyFetch + $node->var instanceof PropertyFetch || !$node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L143
Escaped Mutant for Mutator "InstanceOf_": @@ @@ private function isOnNonDatabaseProperty(MethodCall $node, array $nonDatabaseProperties): bool { if ( - !$node->var instanceof PropertyFetch + $node->var instanceof PropertyFetch || !$node->var->var instanceof Variable || $node->var->var->name !== 'this' || !$node->var->name instanceof Identifier
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L125
Escaped Mutant for Mutator "LogicalAnd": @@ @@ $count = 0; $this->walkNodes($method->stmts ?? [], function(Node $node) use (&$count, $nonDatabaseProperties): void { if ( - $node instanceof MethodCall - && $node->name instanceof Identifier + ($node instanceof MethodCall || $node->name instanceof Identifier) && in_array($node->name->toString(), self::WRITE_METHODS, true) && !$this->isOnNonDatabaseProperty($node, $nonDatabaseProperties) ) {
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L94
Escaped Mutant for Mutator "LogicalOr": @@ @@ $executeMethod = $node->getMethod('execute'); - if ($executeMethod === null || $executeMethod->stmts === null) { + if ($executeMethod === null && $executeMethod->stmts === null) { return []; }
check (8.4): src/Rules/EnforceActionTransactionsRule.php#L88
Escaped Mutant for Mutator "LogicalOr": @@ @@ { $namespace = $scope->getNamespace(); - if ($namespace === null || !str_starts_with($namespace, 'App\Actions')) { + if ($namespace === null && !str_starts_with($namespace, 'App\Actions')) { return []; }

Artifacts

Produced during runtime
Name Size Digest
clover-php-8.4
3.24 KB
sha256:986165b18809f000dfbd1150bfb537bbb3da246d4ebad979852b4230ebe8aee9
clover-php-8.5
3.24 KB
sha256:94626cd5612ed36ce7fe8e93521040ab9bcea2344e191948dbb04ddac97bd244
infection-php-8.4
148 KB
sha256:af934245ff8b201eb207fdb8a64aa868a0b60931fa7833ad955f2d9fb20abd6a
infection-php-8.5
148 KB
sha256:1e59cec5a44773016303dec0340fa9482688f05c1256ea173d976b171a906d2a