Skip to content

Commit

Permalink
add more ci znalyze toools
Browse files Browse the repository at this point in the history
  • Loading branch information
roman.dykyi committed Jun 7, 2021
1 parent 7b8a1ae commit 3b6204c
Show file tree
Hide file tree
Showing 8 changed files with 642 additions and 93 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ postman-test:
cd ./docker && docker-compose run newman

ci-test:
cd ./docker && docker-compose -f docker-compose.test.yml run tests
cd ./docker && docker-compose -f docker-compose.test.yml run analyzer
cd ./docker && docker-compose -f docker-compose.test.yml run tests

pre-commit: deptrac phpcs psalm ecs rector php-test postman-test
@:
22 changes: 17 additions & 5 deletions code/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
"prefer-stable": true,
"require": {
"php": ">=8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
"ext-simplexml": "*",
"composer/package-versions-deprecated": "1.11.99.1",
"doctrine/annotations": "^1.12",
"doctrine/doctrine-bundle": "^2.3",
"doctrine/doctrine-migrations-bundle": "^3.1",
Expand All @@ -26,23 +23,23 @@
"symfony/framework-bundle": "5.2.*",
"symfony/messenger": "5.2.*",
"symfony/monolog-bundle": "^3.6",
"symfony/proxy-manager-bridge": "5.2.*",
"symfony/security-bundle": "5.2.*",
"symfony/twig-bundle": "5.2.*",
"symfony/uid": "5.2.*",
"symfony/yaml": "5.2.*",
"webmozart/assert": "^1.10",
"zircote/swagger-php": "^3.1"
},
"require-dev": {
"fzaninotto/faker": "^1.5",
"icanhazstring/composer-unused": "^0.7.5",
"object-calisthenics/phpcs-calisthenics-rules": "^3.9",
"phpunit/phpunit": "^9.5",
"qossmic/deptrac-shim": "^0.12.0",
"rector/rector": "^0.9.33",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.5",
"symfony/phpunit-bridge": "^5.2",
"symfony/yaml": "5.2.*",
"symplify/coding-standard": "^9.2",
"symplify/easy-coding-standard": "^9.2",
"vimeo/psalm": "^4.6"
Expand Down Expand Up @@ -88,12 +85,27 @@
"deptrac analyze src/Game/config/depfile.yaml"
],
"analyzer": [
"@composer",
"@symfony",
"@phpcs",
"@psalm",
"@ecs",
"@rector",
"@deptrac"
],
"symfony": [
"php lint.php src/Crossword/config",
"php lint.php src/Dictionary/config",
"php lint.php src/Game/config",
"php lint.php src/SharedKernel/config",
"php lint.php src/Swagger/config",
"bin/console debug:container --deprecations",
"bin/console doctrine:ensure-production-settings --env=prod"
],
"composer": [
"composer validate",
"composer unused"
],
"test": [
"@phpunit"
],
Expand Down
Loading

0 comments on commit 3b6204c

Please sign in to comment.