Skip to content

Commit

Permalink
Update to latest Symfony version (6.2)
Browse files Browse the repository at this point in the history
added commands for skills module
  • Loading branch information
alejandro-yakovlev committed Jul 30, 2023
1 parent 6a1c206 commit 2f378b7
Show file tree
Hide file tree
Showing 207 changed files with 5,261 additions and 1,560 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:

- name: Run deptrac
run: |
vendor/bin/deptrac analyze deptrac-layers.yaml
vendor/bin/deptrac analyze deptrac-modules.yaml
vendor/bin/deptrac analyze --config-file=deptrac-layers.yaml
vendor/bin/deptrac analyze --config-file=deptrac-modules.yaml
- name: Run phpstan
run: vendor/bin/phpstan analyse -c phpstan.neon
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ deptrac:
image: $CONTAINER_IMAGE_PATH
script:
- cd /var/www/
- vendor/bin/deptrac analyze deptrac-layers.yaml
- vendor/bin/deptrac analyze deptrac-modules.yaml
- vendor/bin/deptrac analyze --config-file=deptrac-layers.yaml
- vendor/bin/deptrac analyze --config-file=deptrac-modules.yaml

composer-validate:
stage: analyze
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ down:
${DOCKER_COMPOSE} down

restart: stop start
rebuild: down build up

dc_ps:
${DOCKER_COMPOSE} ps
Expand Down Expand Up @@ -65,6 +66,9 @@ db_diff:
${DOCKER_COMPOSE} exec -u www-data php-fpm bin/console doctrine:migrations:diff --no-interaction
diff: db_diff

db_migration_down:
${DOCKER_COMPOSE} exec -u www-data php-fpm bin/console doctrine:migrations:execute "App\Shared\Infrastructure\Database\Migrations\Version********" --down --dry-run

db_drop:
docker-compose -f ./docker/docker-compose.yml exec -u www-data php-fpm bin/console doctrine:schema:drop --force

Expand All @@ -78,8 +82,8 @@ phpstan:
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/phpstan clear-result-cache

deptrac:
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze deptrac-layers.yaml
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze deptrac-modules.yaml
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze --config-file=deptrac-layers.yaml
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze --config-file=deptrac-modules.yaml

cs_fix:
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/php-cs-fixer fix
Expand Down
46 changes: 26 additions & 20 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,44 @@
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.1",
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/doctrine-bundle": "^2.5",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.11",
"gesdinet/jwt-refresh-token-bundle": "1.0.*",
"gesdinet/jwt-refresh-token-bundle": "^1.1",
"lexik/jwt-authentication-bundle": "^2.14",
"symfony/console": "6.0.*",
"symfony/dotenv": "6.0.*",
"symfony/flex": "^2",
"symfony/framework-bundle": "6.0.*",
"symfony/messenger": "6.0.*",
"symfony/proxy-manager-bridge": "6.0.*",
"symfony/runtime": "6.0.*",
"symfony/uid": "6.0.*",
"symfony/yaml": "6.0.*",
"symfony/console": "6.*",
"symfony/dotenv": "6.*",
"symfony/flex": "^2.2",
"symfony/framework-bundle": "6.3.*",
"symfony/http-kernel": "6.3.*",
"symfony/messenger": "6.*",
"symfony/mime": "6.*",
"symfony/property-access": "6.*",
"symfony/property-info": "6.*",
"symfony/proxy-manager-bridge": "6.*",
"symfony/runtime": "6.*",
"symfony/serializer": "6.*",
"symfony/twig-bundle": "6.*",
"symfony/uid": "6.*",
"symfony/validator": "6.3.*",
"symfony/yaml": "6.*",
"webmozart/assert": "^1.11"
},
"require-dev": {
"dama/doctrine-test-bundle": "^6.7",
"dama/doctrine-test-bundle": "^7.2",
"doctrine/doctrine-fixtures-bundle": "^3.4",
"fakerphp/faker": "^1.19",
"friendsofphp/php-cs-fixer": "^3.8",
"jetbrains/phpstorm-attributes": "^1.0",
"friendsofphp/php-cs-fixer": "^3.16",
"liip/test-fixtures-bundle": "^2.2",
"phpstan/phpstan": "^1.5",
"phpunit/phpunit": "^9.5",
"qossmic/deptrac-shim": "^0.19.3",
"symfony/browser-kit": "6.0.*",
"symfony/css-selector": "6.0.*",
"symfony/phpunit-bridge": "^6.0"
"phpunit/phpunit": "^9.6.7",
"qossmic/deptrac-shim": "^1.0",
"symfony/browser-kit": "6.*",
"symfony/css-selector": "6.*",
"symfony/phpunit-bridge": "6.*"
},
"config": {
"allow-plugins": {
Expand Down Expand Up @@ -87,7 +93,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "6.0.*",
"require": "6.*",
"docker": false
}
}
Expand Down
Loading

0 comments on commit 2f378b7

Please sign in to comment.