diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4a3fa4a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# Change Log + +## 0.1.0 July 4, 2025 + +- Initial release diff --git a/changelog.md b/changelog.md deleted file mode 100644 index 9a203e1..0000000 --- a/changelog.md +++ /dev/null @@ -1,2 +0,0 @@ -Change Log -========== diff --git a/composer.json b/composer.json index 4219351..7fe8f94 100644 --- a/composer.json +++ b/composer.json @@ -52,6 +52,7 @@ "check-dependencies": "./vendor/bin/composer-require-checker check", "ecs": "./vendor/bin/ecs --fix", "mutation": "./vendor/bin/infection --threads=4 --ignore-msi-with-no-mutations --only-covered --min-msi=100 --min-covered-msi=100", + "mutation-static": "./vendor/bin/infection --threads=4 --ignore-msi-with-no-mutations --only-covered --min-msi=100 --min-covered-msi=100 --static-analysis-tool=phpstan", "rector": "./vendor/bin/rector process src", "static": "./vendor/bin/phpstan --memory-limit=512M", "tests": "./vendor/bin/phpunit" diff --git a/docs/testing.md b/docs/testing.md index 57eac39..2c92040 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -27,9 +27,15 @@ Mutation testing is checked with [Infection](https://infection.github.io/). To r composer run mutation ``` +With PHPStan analysis, it will also check for static analysis issues during mutation testing. + +```shell +composer run mutation-static +``` + ## Static analysis -The code is statically analyzed with [Phpstan](https://phpstan.org/). To run static analysis. +The code is statically analyzed with [PHPStan](https://phpstan.org/). To run static analysis. ```shell composer run static diff --git a/infection.json5 b/infection.json5 index 15361d9..d6406fa 100644 --- a/infection.json5 +++ b/infection.json5 @@ -10,8 +10,5 @@ "directories": [ "src" ] - }, - "phpStan": { - "configDir": "." - }, + } }