From dfb878a319f7c7fae9b5e64e7dc39d64b83aa8da Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:15:58 +0100 Subject: [PATCH 1/8] try infection dev-version --- composer.json | 2 +- composer.lock | 172 +++++++++++++++++++++++++++----------------------- 2 files changed, 95 insertions(+), 79 deletions(-) diff --git a/composer.json b/composer.json index 84c3de7..fb821a3 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ ], "require": { "php": "^8.2", - "infection/infection": "^0.31.9" + "infection/infection": "dev-master as 0.31.10-dev" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", diff --git a/composer.lock b/composer.lock index 163dc84..a38e9b6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "082e75c6c1ccf97093f65db125eae235", + "content-hash": "e75e4fe95ec786466ce5e770811b4d31", "packages": [ { "name": "colinodell/json5", @@ -479,16 +479,16 @@ }, { "name": "infection/infection", - "version": "0.31.9", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "f9628fcd7f76eadf24726e57a81937c42458232b" + "reference": "bef95c62652e25f16d44e3dd568d6709beeec0d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/f9628fcd7f76eadf24726e57a81937c42458232b", - "reference": "f9628fcd7f76eadf24726e57a81937c42458232b", + "url": "https://api.github.com/repos/infection/infection/zipball/bef95c62652e25f16d44e3dd568d6709beeec0d2", + "reference": "bef95c62652e25f16d44e3dd568d6709beeec0d2", "shasum": "" }, "require": { @@ -505,7 +505,7 @@ "infection/include-interceptor": "^0.2.5", "infection/mutator": "^0.4", "justinrainbow/json-schema": "^6.0", - "nikic/php-parser": "^5.3", + "nikic/php-parser": "^5.6.2", "ondram/ci-detector": "^4.1.0", "php": "^8.2", "sanmai/di-container": "^0.1.4", @@ -527,19 +527,22 @@ "require-dev": { "ext-simplexml": "*", "fidry/makefile": "^1.0", + "phpbench/phpbench": "^1.4", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.1", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpstan/phpstan-webmozart-assert": "^2.0", "phpunit/phpunit": "^11.5.27", - "rector/rector": "^2.0", + "rector/rector": "^2.2.4", "shipmonk/dead-code-detector": "^0.12.0", "shipmonk/name-collision-detector": "^2.1", "sidz/phpstan-rules": "^0.5.1", "symfony/yaml": "^6.4 || ^7.0", - "thecodingmachine/phpstan-safe-rule": "^1.4" + "thecodingmachine/phpstan-safe-rule": "^1.4", + "webmozarts/strict-phpunit": "^7.15" }, + "default-branch": true, "bin": [ "bin/infection" ], @@ -594,7 +597,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.31.9" + "source": "https://github.com/infection/infection/tree/master" }, "funding": [ { @@ -606,7 +609,7 @@ "type": "open_collective" } ], - "time": "2025-10-27T12:00:54+00:00" + "time": "2025-11-15T14:26:28+00:00" }, { "name": "infection/mutator", @@ -663,16 +666,16 @@ }, { "name": "justinrainbow/json-schema", - "version": "6.6.0", + "version": "6.6.1", "source": { "type": "git", "url": "https://github.com/jsonrainbow/json-schema.git", - "reference": "68ba7677532803cc0c5900dd5a4d730537f2b2f3" + "reference": "fd8e5c6b1badb998844ad34ce0abcd71a0aeb396" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/68ba7677532803cc0c5900dd5a4d730537f2b2f3", - "reference": "68ba7677532803cc0c5900dd5a4d730537f2b2f3", + "url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/fd8e5c6b1badb998844ad34ce0abcd71a0aeb396", + "reference": "fd8e5c6b1badb998844ad34ce0abcd71a0aeb396", "shasum": "" }, "require": { @@ -732,9 +735,9 @@ ], "support": { "issues": "https://github.com/jsonrainbow/json-schema/issues", - "source": "https://github.com/jsonrainbow/json-schema/tree/6.6.0" + "source": "https://github.com/jsonrainbow/json-schema/tree/6.6.1" }, - "time": "2025-10-10T11:34:09+00:00" + "time": "2025-11-07T18:30:29+00:00" }, { "name": "marc-mabe/php-enum", @@ -1301,16 +1304,16 @@ }, { "name": "sanmai/pipeline", - "version": "7.4", + "version": "7.5", "source": { "type": "git", "url": "https://github.com/sanmai/pipeline.git", - "reference": "6a73545f09b9b475a3735ecdee5e98476a063179" + "reference": "c3b87db671ee0bc286860bd13bdb7cfc108b7d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/pipeline/zipball/6a73545f09b9b475a3735ecdee5e98476a063179", - "reference": "6a73545f09b9b475a3735ecdee5e98476a063179", + "url": "https://api.github.com/repos/sanmai/pipeline/zipball/c3b87db671ee0bc286860bd13bdb7cfc108b7d7e", + "reference": "c3b87db671ee0bc286860bd13bdb7cfc108b7d7e", "shasum": "" }, "require": { @@ -1357,7 +1360,7 @@ "description": "General-purpose collections pipeline", "support": { "issues": "https://github.com/sanmai/pipeline/issues", - "source": "https://github.com/sanmai/pipeline/tree/7.4" + "source": "https://github.com/sanmai/pipeline/tree/7.5" }, "funding": [ { @@ -1365,7 +1368,7 @@ "type": "github" } ], - "time": "2025-10-11T07:22:29+00:00" + "time": "2025-11-05T10:54:07+00:00" }, { "name": "sebastian/diff", @@ -1436,16 +1439,16 @@ }, { "name": "symfony/console", - "version": "v7.3.4", + "version": "v7.3.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2b9c5fafbac0399a20a2e82429e2bd735dcfb7db" + "reference": "c28ad91448f86c5f6d9d2c70f0cf68bf135f252a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2b9c5fafbac0399a20a2e82429e2bd735dcfb7db", - "reference": "2b9c5fafbac0399a20a2e82429e2bd735dcfb7db", + "url": "https://api.github.com/repos/symfony/console/zipball/c28ad91448f86c5f6d9d2c70f0cf68bf135f252a", + "reference": "c28ad91448f86c5f6d9d2c70f0cf68bf135f252a", "shasum": "" }, "require": { @@ -1510,7 +1513,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.3.4" + "source": "https://github.com/symfony/console/tree/v7.3.6" }, "funding": [ { @@ -1530,7 +1533,7 @@ "type": "tidelift" } ], - "time": "2025-09-22T15:31:00+00:00" + "time": "2025-11-04T01:21:42+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1601,16 +1604,16 @@ }, { "name": "symfony/filesystem", - "version": "v7.3.2", + "version": "v7.3.6", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd" + "reference": "e9bcfd7837928ab656276fe00464092cc9e1826a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/edcbb768a186b5c3f25d0643159a787d3e63b7fd", - "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/e9bcfd7837928ab656276fe00464092cc9e1826a", + "reference": "e9bcfd7837928ab656276fe00464092cc9e1826a", "shasum": "" }, "require": { @@ -1647,7 +1650,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.3.2" + "source": "https://github.com/symfony/filesystem/tree/v7.3.6" }, "funding": [ { @@ -1667,20 +1670,20 @@ "type": "tidelift" } ], - "time": "2025-07-07T08:17:47+00:00" + "time": "2025-11-05T09:52:27+00:00" }, { "name": "symfony/finder", - "version": "v7.3.2", + "version": "v7.3.5", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe" + "reference": "9f696d2f1e340484b4683f7853b273abff94421f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2a6614966ba1074fa93dae0bc804227422df4dfe", - "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe", + "url": "https://api.github.com/repos/symfony/finder/zipball/9f696d2f1e340484b4683f7853b273abff94421f", + "reference": "9f696d2f1e340484b4683f7853b273abff94421f", "shasum": "" }, "require": { @@ -1715,7 +1718,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.3.2" + "source": "https://github.com/symfony/finder/tree/v7.3.5" }, "funding": [ { @@ -1735,7 +1738,7 @@ "type": "tidelift" } ], - "time": "2025-07-15T13:41:35+00:00" + "time": "2025-10-15T18:45:57+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2139,16 +2142,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.6.0", + "version": "v3.6.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4" + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4", - "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", "shasum": "" }, "require": { @@ -2202,7 +2205,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.1" }, "funding": [ { @@ -2213,12 +2216,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-25T09:37:31+00:00" + "time": "2025-07-15T11:30:57+00:00" }, { "name": "symfony/string", @@ -2451,16 +2458,16 @@ }, { "name": "webmozart/assert", - "version": "1.12.0", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "541057574806f942c94662b817a50f63f7345360" + "reference": "9be6926d8b485f55b9229203f962b51ed377ba68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/541057574806f942c94662b817a50f63f7345360", - "reference": "541057574806f942c94662b817a50f63f7345360", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/9be6926d8b485f55b9229203f962b51ed377ba68", + "reference": "9be6926d8b485f55b9229203f962b51ed377ba68", "shasum": "" }, "require": { @@ -2503,9 +2510,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.12.0" + "source": "https://github.com/webmozarts/assert/tree/1.12.1" }, - "time": "2025-10-20T12:43:39+00:00" + "time": "2025-10-29T15:56:20+00:00" } ], "packages-dev": [ @@ -2750,11 +2757,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.31", + "version": "2.1.32", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ead89849d879fe203ce9292c6ef5e7e76f867b96", - "reference": "ead89849d879fe203ce9292c6ef5e7e76f867b96", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e126cad1e30a99b137b8ed75a85a676450ebb227", + "reference": "e126cad1e30a99b137b8ed75a85a676450ebb227", "shasum": "" }, "require": { @@ -2799,7 +2806,7 @@ "type": "github" } ], - "time": "2025-10-10T14:14:11+00:00" + "time": "2025-11-11T15:18:17+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -2850,21 +2857,21 @@ }, { "name": "phpstan/phpstan-phpunit", - "version": "2.0.7", + "version": "2.0.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "9a9b161baee88a5f5c58d816943cff354ff233dc" + "reference": "2fe9fbeceaf76dd1ebaa7bbbb25e2fb5e59db2fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/9a9b161baee88a5f5c58d816943cff354ff233dc", - "reference": "9a9b161baee88a5f5c58d816943cff354ff233dc", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/2fe9fbeceaf76dd1ebaa7bbbb25e2fb5e59db2fe", + "reference": "2fe9fbeceaf76dd1ebaa7bbbb25e2fb5e59db2fe", "shasum": "" }, "require": { "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.1.18" + "phpstan/phpstan": "^2.1.32" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -2897,9 +2904,9 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.7" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.8" }, - "time": "2025-07-13T11:31:46+00:00" + "time": "2025-11-11T07:55:22+00:00" }, { "name": "phpstan/phpstan-strict-rules", @@ -3286,16 +3293,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.43", + "version": "11.5.44", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c6b89b6cf4324a8b4cb86e1f5dfdd6c9e0371924" + "reference": "c346885c95423eda3f65d85a194aaa24873cda82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c6b89b6cf4324a8b4cb86e1f5dfdd6c9e0371924", - "reference": "c6b89b6cf4324a8b4cb86e1f5dfdd6c9e0371924", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c346885c95423eda3f65d85a194aaa24873cda82", + "reference": "c346885c95423eda3f65d85a194aaa24873cda82", "shasum": "" }, "require": { @@ -3367,7 +3374,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.43" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.44" }, "funding": [ { @@ -3391,7 +3398,7 @@ "type": "tidelift" } ], - "time": "2025-10-30T08:39:39+00:00" + "time": "2025-11-13T07:17:35+00:00" }, { "name": "sebastian/cli-parser", @@ -4366,16 +4373,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.3", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" + "reference": "d74205c497bfbca49f34d4bc4c19c17e22db4ebb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", - "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/d74205c497bfbca49f34d4bc4c19c17e22db4ebb", + "reference": "d74205c497bfbca49f34d4bc4c19c17e22db4ebb", "shasum": "" }, "require": { @@ -4404,7 +4411,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.3" + "source": "https://github.com/theseer/tokenizer/tree/1.3.0" }, "funding": [ { @@ -4412,17 +4419,26 @@ "type": "github" } ], - "time": "2024-03-03T12:36:25+00:00" + "time": "2025-11-13T13:44:09+00:00" + } + ], + "aliases": [ + { + "package": "infection/infection", + "version": "9999999-dev", + "alias": "0.31.10-dev", + "alias_normalized": "0.31.10.0-dev" } ], - "aliases": [], "minimum-stability": "dev", - "stability-flags": {}, + "stability-flags": { + "infection/infection": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { "php": "^8.2" }, "platform-dev": {}, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } From 450d7cd46cb5c6af69dd5167d174d6b864b29efa Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:19:40 +0100 Subject: [PATCH 2/8] fix whitespaces --- tests/Infection/TrinaryLogicMutatorTest.php | 5 +++++ .../TrueTruthyFalseFalseyTypeSpecifierContextMutatorTest.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/Infection/TrinaryLogicMutatorTest.php b/tests/Infection/TrinaryLogicMutatorTest.php index c204545..bbd6046 100644 --- a/tests/Infection/TrinaryLogicMutatorTest.php +++ b/tests/Infection/TrinaryLogicMutatorTest.php @@ -27,6 +27,7 @@ public static function mutationsProvider(): iterable yield 'It mutates trinary yes' => [ <<<'PHP' yes(); PHP @@ -43,6 +44,7 @@ public static function mutationsProvider(): iterable yield 'It mutates trinary no' => [ <<<'PHP' no(); PHP @@ -59,6 +61,7 @@ public static function mutationsProvider(): iterable yield 'It skips maybe' => [ <<<'PHP' maybe(); PHP @@ -68,6 +71,7 @@ public static function mutationsProvider(): iterable yield 'It mutates IsSuperTypeOfResult yes' => [ <<<'PHP' yes(); PHP @@ -84,6 +88,7 @@ public static function mutationsProvider(): iterable yield 'It does not double negate' => [ <<<'PHP' yes(); PHP diff --git a/tests/Infection/TrueTruthyFalseFalseyTypeSpecifierContextMutatorTest.php b/tests/Infection/TrueTruthyFalseFalseyTypeSpecifierContextMutatorTest.php index 6c1b161..82e7e90 100644 --- a/tests/Infection/TrueTruthyFalseFalseyTypeSpecifierContextMutatorTest.php +++ b/tests/Infection/TrueTruthyFalseFalseyTypeSpecifierContextMutatorTest.php @@ -27,6 +27,7 @@ public static function mutationsProvider(): iterable yield 'It mutates true()' => [ <<<'PHP' true(); PHP @@ -43,6 +44,7 @@ public static function mutationsProvider(): iterable yield 'It mutates truthy()' => [ <<<'PHP' truthy(); PHP @@ -59,6 +61,7 @@ public static function mutationsProvider(): iterable yield 'It mutates false()' => [ <<<'PHP' false(); PHP @@ -75,6 +78,7 @@ public static function mutationsProvider(): iterable yield 'It mutates falsey()' => [ <<<'PHP' falsey(); PHP @@ -91,6 +95,7 @@ public static function mutationsProvider(): iterable yield 'It skips null()' => [ <<<'PHP' null(); PHP From 50fc7b2b8a6abed162f06f651e2cdcfd3a9ab2a2 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:23:58 +0100 Subject: [PATCH 3/8] Update build.yml --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 442fbcf..3b092e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -188,6 +188,7 @@ jobs: infection \ --ignore-msi-with-no-mutations \ --log-verbosity=all \ + --debug \ --logger-text=php://stdout - name: "Save result cache" From 425ffe0760791709bec87d8bbab2602a7da3f6fe Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:25:54 +0100 Subject: [PATCH 4/8] trigger mutations --- src/Infection/LooseBooleanMutator.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Infection/LooseBooleanMutator.php b/src/Infection/LooseBooleanMutator.php index 485152e..29199a4 100644 --- a/src/Infection/LooseBooleanMutator.php +++ b/src/Infection/LooseBooleanMutator.php @@ -54,6 +54,15 @@ public function canMutate(Node $node): bool return false; } + if (rand(0,1)) { + if ( + $node->var->name instanceof Node\Identifier + && in_array($node->var->name->name, ['toBoolean'], true) + ) { + $x = in_array($node->var->name->name, ['toBoolean'], true); + } + } + if ($node->var instanceof Node\Expr\MethodCall) { if ( $node->var->name instanceof Node\Identifier From ea24263e7e8d13957a93a5e46c0a01eb40926f80 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:26:41 +0100 Subject: [PATCH 5/8] Update LooseBooleanMutator.php --- src/Infection/LooseBooleanMutator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infection/LooseBooleanMutator.php b/src/Infection/LooseBooleanMutator.php index 29199a4..b57deef 100644 --- a/src/Infection/LooseBooleanMutator.php +++ b/src/Infection/LooseBooleanMutator.php @@ -54,7 +54,7 @@ public function canMutate(Node $node): bool return false; } - if (rand(0,1)) { + if (rand(0,1) && $node->var instanceof Node\Expr\MethodCall) { if ( $node->var->name instanceof Node\Identifier && in_array($node->var->name->name, ['toBoolean'], true) From b2e9bfed5e94e973e68593c359dcbba64af6d4c1 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:30:42 +0100 Subject: [PATCH 6/8] Update build.yml --- .github/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b092e9..3714667 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,11 +167,6 @@ jobs: - name: "Checkout" uses: actions/checkout@v5 - - uses: ./.github/actions/setup-php - with: - php-version: "${{ matrix.php-version }}" - build-infection-path: "./" - - name: "Install dependencies" run: "composer install --no-interaction --no-progress" From 5409d87cb75541cb899ab4df1e14ba0134c834d8 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:33:08 +0100 Subject: [PATCH 7/8] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3714667..208f32d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -180,7 +180,7 @@ jobs: - name: "Run infection" run: | - infection \ + vendor/bin/infection \ --ignore-msi-with-no-mutations \ --log-verbosity=all \ --debug \ From 2392587c4a6b0fd30cc46d99678f99effc031147 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 16 Nov 2025 08:37:42 +0100 Subject: [PATCH 8/8] Discard changes to tests/Infection/TrinaryLogicMutatorTest.php --- tests/Infection/TrinaryLogicMutatorTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/Infection/TrinaryLogicMutatorTest.php b/tests/Infection/TrinaryLogicMutatorTest.php index bbd6046..c204545 100644 --- a/tests/Infection/TrinaryLogicMutatorTest.php +++ b/tests/Infection/TrinaryLogicMutatorTest.php @@ -27,7 +27,6 @@ public static function mutationsProvider(): iterable yield 'It mutates trinary yes' => [ <<<'PHP' yes(); PHP @@ -44,7 +43,6 @@ public static function mutationsProvider(): iterable yield 'It mutates trinary no' => [ <<<'PHP' no(); PHP @@ -61,7 +59,6 @@ public static function mutationsProvider(): iterable yield 'It skips maybe' => [ <<<'PHP' maybe(); PHP @@ -71,7 +68,6 @@ public static function mutationsProvider(): iterable yield 'It mutates IsSuperTypeOfResult yes' => [ <<<'PHP' yes(); PHP @@ -88,7 +84,6 @@ public static function mutationsProvider(): iterable yield 'It does not double negate' => [ <<<'PHP' yes(); PHP