diff --git a/composer.json b/composer.json index 9077f12..cca9427 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "react/promise": "^3.2.0", "wyrihaximus/phpstan-react": "^2.0.0", "wyrihaximus/react-phpunit-run-tests-in-fiber": "^3.0.0", - "wyrihaximus/test-utilities": "^7.3.0" + "wyrihaximus/test-utilities": "^7.4.0" }, "require-dev": { "react/promise-timer": "^1.11.0", diff --git a/composer.lock b/composer.lock index 2a75c0a..ca3569f 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": "ec21b3922b068673cde76a7e3aad3595", + "content-hash": "c0bf682c6f1a6362bc99231887f63d4f", "packages": [ { "name": "azjezz/psl", @@ -5370,16 +5370,16 @@ }, { "name": "roave/better-reflection", - "version": "6.57.0", + "version": "6.59.0", "source": { "type": "git", "url": "https://github.com/Roave/BetterReflection.git", - "reference": "d5fa8e106a1a046ea9b9a79e4ce95c6b6c158ae0" + "reference": "e59267bf734297e1abfc4f7ddb3d35e4be95c0f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/d5fa8e106a1a046ea9b9a79e4ce95c6b6c158ae0", - "reference": "d5fa8e106a1a046ea9b9a79e4ce95c6b6c158ae0", + "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/e59267bf734297e1abfc4f7ddb3d35e4be95c0f6", + "reference": "e59267bf734297e1abfc4f7ddb3d35e4be95c0f6", "shasum": "" }, "require": { @@ -5392,8 +5392,8 @@ "thecodingmachine/safe": "<1.1.3" }, "require-dev": { - "phpbench/phpbench": "^1.4.0", - "phpunit/phpunit": "^11.5.7" + "phpbench/phpbench": "^1.4.1", + "phpunit/phpunit": "^11.5.21" }, "suggest": { "composer/composer": "Required to use the ComposerSourceLocator" @@ -5433,9 +5433,9 @@ "description": "Better Reflection - an improved code reflection API", "support": { "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.57.0" + "source": "https://github.com/Roave/BetterReflection/tree/6.59.0" }, - "time": "2025-02-12T20:28:58+00:00" + "time": "2025-05-27T21:09:39+00:00" }, { "name": "sanmai/later", @@ -6566,16 +6566,16 @@ }, { "name": "shipmonk/dead-code-detector", - "version": "0.11.1", + "version": "0.12.2", "source": { "type": "git", "url": "https://github.com/shipmonk-rnd/dead-code-detector.git", - "reference": "3c273e0ec3902ca35ba88a3e6c8fcc38367c58e1" + "reference": "71b842269e9a29634e34074e723023e4e151518b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shipmonk-rnd/dead-code-detector/zipball/3c273e0ec3902ca35ba88a3e6c8fcc38367c58e1", - "reference": "3c273e0ec3902ca35ba88a3e6c8fcc38367c58e1", + "url": "https://api.github.com/repos/shipmonk-rnd/dead-code-detector/zipball/71b842269e9a29634e34074e723023e4e151518b", + "reference": "71b842269e9a29634e34074e723023e4e151518b", "shasum": "" }, "require": { @@ -6635,9 +6635,9 @@ ], "support": { "issues": "https://github.com/shipmonk-rnd/dead-code-detector/issues", - "source": "https://github.com/shipmonk-rnd/dead-code-detector/tree/0.11.1" + "source": "https://github.com/shipmonk-rnd/dead-code-detector/tree/0.12.2" }, - "time": "2025-05-15T15:04:54+00:00" + "time": "2025-05-22T07:50:57+00:00" }, { "name": "shipmonk/phpstan-rules", @@ -9242,16 +9242,16 @@ }, { "name": "wyrihaximus/phpstan-rules-wrapper", - "version": "10.11.0", + "version": "10.13.0", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper.git", - "reference": "cd7a7a93345d0edb6c493ef0b22fc6d814571c8b" + "reference": "fb8b190f41603ca848fe86e970a1f3d0356887be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-phpstan-rules-wrapper/zipball/cd7a7a93345d0edb6c493ef0b22fc6d814571c8b", - "reference": "cd7a7a93345d0edb6c493ef0b22fc6d814571c8b", + "url": "https://api.github.com/repos/WyriHaximus/php-phpstan-rules-wrapper/zipball/fb8b190f41603ca848fe86e970a1f3d0356887be", + "reference": "fb8b190f41603ca848fe86e970a1f3d0356887be", "shasum": "" }, "require": { @@ -9263,7 +9263,7 @@ "phpstan/phpstan-mockery": "^2.0.0", "phpstan/phpstan-phpunit": "^2.0.6", "phpstan/phpstan-strict-rules": "^2.0.4", - "shipmonk/dead-code-detector": "^0.11.1", + "shipmonk/dead-code-detector": "^0.12.2", "shipmonk/phpstan-rules": "^4.1.2", "staabm/phpstan-psr3": "^1.0.3", "tomasvotruba/type-coverage": "^2.0.2", @@ -9290,7 +9290,7 @@ "description": "🌯 PHPStan rules wrapper", "support": { "issues": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper/issues", - "source": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper/tree/10.11.0" + "source": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper/tree/10.13.0" }, "funding": [ { @@ -9298,7 +9298,7 @@ "type": "github" } ], - "time": "2025-05-16T09:07:24+00:00" + "time": "2025-05-28T05:11:29+00:00" }, { "name": "wyrihaximus/react-phpunit-run-tests-in-fiber", @@ -9360,16 +9360,16 @@ }, { "name": "wyrihaximus/test-utilities", - "version": "7.3.0", + "version": "7.4.0", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-test-utilities.git", - "reference": "985967dcea0a814b4f1380186b2aa2ec772c138c" + "reference": "4ba203aa33f5b46e2c856472510f29c3ce554d0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-test-utilities/zipball/985967dcea0a814b4f1380186b2aa2ec772c138c", - "reference": "985967dcea0a814b4f1380186b2aa2ec772c138c", + "url": "https://api.github.com/repos/WyriHaximus/php-test-utilities/zipball/4ba203aa33f5b46e2c856472510f29c3ce554d0f", + "reference": "4ba203aa33f5b46e2c856472510f29c3ce554d0f", "shasum": "" }, "require": { @@ -9390,7 +9390,7 @@ "roave/backward-compatibility-check": "^8.13.0", "squizlabs/php_codesniffer": "^3.13.0", "wyrihaximus/coding-standard": "^2.18.2", - "wyrihaximus/phpstan-rules-wrapper": "^10.10.0" + "wyrihaximus/phpstan-rules-wrapper": "^10.13.0" }, "conflict": { "composer/pcre": "<3.3.2", @@ -9429,7 +9429,7 @@ "description": "🛠️ Test utilities for api-clients packages", "support": { "issues": "https://github.com/WyriHaximus/php-test-utilities/issues", - "source": "https://github.com/WyriHaximus/php-test-utilities/tree/7.3.0" + "source": "https://github.com/WyriHaximus/php-test-utilities/tree/7.4.0" }, "funding": [ { @@ -9437,7 +9437,7 @@ "type": "github" } ], - "time": "2025-05-26T16:41:32+00:00" + "time": "2025-05-28T05:31:05+00:00" }, { "name": "yamadashy/phpstan-friendly-formatter", diff --git a/etc/qa/composer-unused.php b/etc/qa/composer-unused.php index 00c4f0d..2350a3a 100644 --- a/etc/qa/composer-unused.php +++ b/etc/qa/composer-unused.php @@ -5,7 +5,5 @@ use ComposerUnused\ComposerUnused\Configuration\Configuration; use ComposerUnused\ComposerUnused\Configuration\NamedFilter; -return static function (Configuration $config): Configuration { - return $config - ->addNamedFilter(NamedFilter::fromString('wyrihaximus/phpstan-react')); -}; +return static fn (Configuration $config): Configuration => $config + ->addNamedFilter(NamedFilter::fromString('wyrihaximus/phpstan-react')); diff --git a/etc/qa/phpcs.xml b/etc/qa/phpcs.xml index f6c11d9..4153462 100644 --- a/etc/qa/phpcs.xml +++ b/etc/qa/phpcs.xml @@ -6,6 +6,7 @@ + ../../etc ../../src ../../tests diff --git a/etc/qa/phpunit.xml b/etc/qa/phpunit.xml index 87257ff..626b02f 100644 --- a/etc/qa/phpunit.xml +++ b/etc/qa/phpunit.xml @@ -1,5 +1,5 @@ - + ../../tests/ diff --git a/etc/qa/psalm.xml b/etc/qa/psalm.xml deleted file mode 100644 index 9cf4b0a..0000000 --- a/etc/qa/psalm.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/qa/rector.php b/etc/qa/rector.php new file mode 100644 index 0000000..ce6b5c9 --- /dev/null +++ b/etc/qa/rector.php @@ -0,0 +1,7 @@ +