diff --git a/.gitignore b/.gitignore index 720af22..b60b399 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ test-coverage-report phpunit.xml .php-cs-fixer.php phpstan.neon +psalm.xml tests/Unit/var \ No newline at end of file diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php deleted file mode 100644 index ade2941..0000000 --- a/.php-cs-fixer.dist.php +++ /dev/null @@ -1,31 +0,0 @@ -in(__DIR__.'/src') - ->in(__DIR__.'/tests') -; - -return (new PhpCsFixer\Config()) - ->setRules(array( - '@Symfony' => true, - '@Symfony:risky' => true, - 'protected_to_private' => false, - 'semicolon_after_instruction' => false, - 'header_comment' => [ - 'header' => << - - For the full copyright and license information, please view the LICENSE - file that was distributed with this source code. -EOF - ], - 'phpdoc_to_comment' => false, // отключаем - )) - ->setRiskyAllowed(true) - ->setFinder($finder); \ No newline at end of file diff --git a/composer.json b/composer.json index 73e71d3..b8e9318 100755 --- a/composer.json +++ b/composer.json @@ -13,14 +13,6 @@ "php": "^8.2", "psr/container": "^2" }, - "require-dev": { - "ergebnis/composer-normalize": "^2", - "friendsofphp/php-cs-fixer": "^3", - "phpstan/phpstan": "^2", - "phpunit/php-code-coverage": "^10 || ^11 || ^12", - "phpunit/phpunit": "^10 || ^11 || ^12", - "vimeo/psalm": "^6" - }, "suggest": { "micro/autowire": "Autowire helper for dependency injection" }, @@ -36,7 +28,8 @@ }, "config": { "allow-plugins": { - "ergebnis/composer-normalize": true + "ergebnis/composer-normalize": true, + "micro/testing-tool": true }, "sort-packages": true }, @@ -64,5 +57,8 @@ "composer normalize", "@coverage" ] + }, + "require-dev": { + "micro/testing-tool": "^1.7" } } diff --git a/phpstan.neon.dist b/phpstan.neon.dist deleted file mode 100644 index 18d77f7..0000000 --- a/phpstan.neon.dist +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - level: 7 - paths: - - src \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist deleted file mode 100755 index a2cc4d5..0000000 --- a/phpunit.xml.dist +++ /dev/null @@ -1,23 +0,0 @@ - - - - - tests/Unit - - - - - - - - src/ - - - diff --git a/psalm.xml b/psalm.xml deleted file mode 100644 index 5dd061c..0000000 --- a/psalm.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file