Skip to content

Merge pull request #33 from script-development/engineer/enforce-form-… #79

Merge pull request #33 from script-development/engineer/enforce-form-…

Merge pull request #33 from script-development/engineer/enforce-form-… #79

Triggered via push June 12, 2026 13:04
Status Success
Total duration 4m 26s
Artifacts 4

ci.yml

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

Annotations

20 warnings
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 []; }
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 []; }

Artifacts

Produced during runtime
Name Size Digest
clover-php-8.4 Expired
5.02 KB
sha256:3e2dc2eaea7316de8760f19ef7c0c9edaabe9b332c980d2512bd9aee233fd7e1
clover-php-8.5 Expired
5.02 KB
sha256:e19e7240c63fa3cfb61f60aafc3e819e892fc97e2fff94288e0d4e6dcd70cf46
infection-php-8.4 Expired
329 KB
sha256:12e03f281dc161bb2aaf667582d5240fd77c9a965ef7fa9b01516def54100333
infection-php-8.5 Expired
329 KB
sha256:487619eeadf368318976e4226dffc4990f385f8220a35573d18099b4234b7d19