From 1dabe6fe9d0a4030ea91e28cc02ca6383a103084 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 Jul 2023 07:36:05 +0200 Subject: update to 1.6.4 --- composer.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 5870ef6..66b9572 100644 --- a/composer.json +++ b/composer.json @@ -51,6 +51,7 @@ "require-dev": { "phpunit/phpunit": "^8.5 || ^9.3", "psalm/plugin-phpunit": "^0.18.4", + "symplify/easy-coding-standard": "^11.5.0", "vimeo/psalm": "^5.13.1" }, "conflict": { @@ -58,11 +59,11 @@ }, "autoload": { "psr-4": { - "Mockery\\": "src/Mockery" + "Mockery\\": "library/Mockery" }, "files": [ - "src/helpers.php", - "src/Mockery.php" + "library/helpers.php", + "library/Mockery.php" ] }, "autoload-dev": { @@ -85,9 +86,16 @@ "scripts": { "check": [ "@composer validate", + "@ecs", "@test" ], - "docs": "vendor/bin/phpdoc -d src -t docs/api", + "docs": "vendor/bin/phpdoc -d library -t docs/api", + "ecs": [ + "@ecs:fix", + "@ecs:check" + ], + "ecs:check": "ecs check --clear-cache || true", + "ecs:fix": "ecs check --clear-cache --fix", "phpunit": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure", "phpunit:coverage": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure --coverage-clover=coverage.xml", "psalm": [ -- cgit