Added ECS and PHPStan changed to PHP7.2+

With extensions and helper scrips
This commit is contained in:
Pen-y-Fan
2020-05-18 22:43:26 +01:00
parent 1b405f33c9
commit 8500dd433d
2 changed files with 3532 additions and 302 deletions
+24 -4
View File
@@ -2,8 +2,12 @@
"name": "sam/theatrical", "name": "sam/theatrical",
"type": "project", "type": "project",
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9", "phpunit/phpunit": "^8.5",
"approvals/approval-tests": "^1.4" "approvals/approval-tests": "^1.4",
"phpstan/phpstan": "^0.12.25",
"phpstan/phpstan-phpunit": "^0.12.8",
"symplify/easy-coding-standard": "^7.3",
"symplify/phpstan-extensions": "^7.3"
}, },
"authors": [ "authors": [
{ {
@@ -12,11 +16,27 @@
} }
], ],
"require": { "require": {
"php": "^7.4" "php": "^7.2",
"ext-intl": "*"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Theatrical\\": "src/" "Theatrical\\": "src/"
} }
} },
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"checkcode": "phpcs src tests --standard=PSR12",
"fixcode": "phpcbf src tests --standard=PSR12",
"test": "phpunit",
"tests": "phpunit",
"test-coverage": "phpunit --coverage-html build/coverage",
"check-cs": "ecs check src tests --ansi",
"fix-cs": "ecs check src tests --fix --ansi",
"phpstan": "phpstan analyse --ansi"
}
} }
+3507 -297
View File
File diff suppressed because it is too large Load Diff