Skip to content

Commit 2f378b7

Browse files
Update to latest Symfony version (6.2)
added commands for skills module
1 parent 6a1c206 commit 2f378b7

File tree

207 files changed

+5261
-1560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+5261
-1560
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838

3939
- name: Run deptrac
4040
run: |
41-
vendor/bin/deptrac analyze deptrac-layers.yaml
42-
vendor/bin/deptrac analyze deptrac-modules.yaml
41+
vendor/bin/deptrac analyze --config-file=deptrac-layers.yaml
42+
vendor/bin/deptrac analyze --config-file=deptrac-modules.yaml
4343
4444
- name: Run phpstan
4545
run: vendor/bin/phpstan analyse -c phpstan.neon

.gitlab-ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ deptrac:
7171
image: $CONTAINER_IMAGE_PATH
7272
script:
7373
- cd /var/www/
74-
- vendor/bin/deptrac analyze deptrac-layers.yaml
75-
- vendor/bin/deptrac analyze deptrac-modules.yaml
74+
- vendor/bin/deptrac analyze --config-file=deptrac-layers.yaml
75+
- vendor/bin/deptrac analyze --config-file=deptrac-modules.yaml
7676

7777
composer-validate:
7878
stage: analyze

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ down:
2525
${DOCKER_COMPOSE} down
2626

2727
restart: stop start
28+
rebuild: down build up
2829

2930
dc_ps:
3031
${DOCKER_COMPOSE} ps
@@ -65,6 +66,9 @@ db_diff:
6566
${DOCKER_COMPOSE} exec -u www-data php-fpm bin/console doctrine:migrations:diff --no-interaction
6667
diff: db_diff
6768

69+
db_migration_down:
70+
${DOCKER_COMPOSE} exec -u www-data php-fpm bin/console doctrine:migrations:execute "App\Shared\Infrastructure\Database\Migrations\Version********" --down --dry-run
71+
6872
db_drop:
6973
docker-compose -f ./docker/docker-compose.yml exec -u www-data php-fpm bin/console doctrine:schema:drop --force
7074

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

8084
deptrac:
81-
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze deptrac-layers.yaml
82-
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze deptrac-modules.yaml
85+
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze --config-file=deptrac-layers.yaml
86+
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/deptrac analyze --config-file=deptrac-modules.yaml
8387

8488
cs_fix:
8589
${DOCKER_COMPOSE_PHP_FPM_EXEC} vendor/bin/php-cs-fixer fix

composer.json

+26-20
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,44 @@
66
"minimum-stability": "stable",
77
"prefer-stable": true,
88
"require": {
9-
"php": ">=8.1",
9+
"php": ">=8.2",
1010
"ext-ctype": "*",
1111
"ext-iconv": "*",
1212
"doctrine/doctrine-bundle": "^2.5",
1313
"doctrine/doctrine-migrations-bundle": "^3.2",
1414
"doctrine/orm": "^2.11",
15-
"gesdinet/jwt-refresh-token-bundle": "1.0.*",
15+
"gesdinet/jwt-refresh-token-bundle": "^1.1",
1616
"lexik/jwt-authentication-bundle": "^2.14",
17-
"symfony/console": "6.0.*",
18-
"symfony/dotenv": "6.0.*",
19-
"symfony/flex": "^2",
20-
"symfony/framework-bundle": "6.0.*",
21-
"symfony/messenger": "6.0.*",
22-
"symfony/proxy-manager-bridge": "6.0.*",
23-
"symfony/runtime": "6.0.*",
24-
"symfony/uid": "6.0.*",
25-
"symfony/yaml": "6.0.*",
17+
"symfony/console": "6.*",
18+
"symfony/dotenv": "6.*",
19+
"symfony/flex": "^2.2",
20+
"symfony/framework-bundle": "6.3.*",
21+
"symfony/http-kernel": "6.3.*",
22+
"symfony/messenger": "6.*",
23+
"symfony/mime": "6.*",
24+
"symfony/property-access": "6.*",
25+
"symfony/property-info": "6.*",
26+
"symfony/proxy-manager-bridge": "6.*",
27+
"symfony/runtime": "6.*",
28+
"symfony/serializer": "6.*",
29+
"symfony/twig-bundle": "6.*",
30+
"symfony/uid": "6.*",
31+
"symfony/validator": "6.3.*",
32+
"symfony/yaml": "6.*",
2633
"webmozart/assert": "^1.11"
2734
},
2835
"require-dev": {
29-
"dama/doctrine-test-bundle": "^6.7",
36+
"dama/doctrine-test-bundle": "^7.2",
3037
"doctrine/doctrine-fixtures-bundle": "^3.4",
3138
"fakerphp/faker": "^1.19",
32-
"friendsofphp/php-cs-fixer": "^3.8",
33-
"jetbrains/phpstorm-attributes": "^1.0",
39+
"friendsofphp/php-cs-fixer": "^3.16",
3440
"liip/test-fixtures-bundle": "^2.2",
3541
"phpstan/phpstan": "^1.5",
36-
"phpunit/phpunit": "^9.5",
37-
"qossmic/deptrac-shim": "^0.19.3",
38-
"symfony/browser-kit": "6.0.*",
39-
"symfony/css-selector": "6.0.*",
40-
"symfony/phpunit-bridge": "^6.0"
42+
"phpunit/phpunit": "^9.6.7",
43+
"qossmic/deptrac-shim": "^1.0",
44+
"symfony/browser-kit": "6.*",
45+
"symfony/css-selector": "6.*",
46+
"symfony/phpunit-bridge": "6.*"
4147
},
4248
"config": {
4349
"allow-plugins": {
@@ -87,7 +93,7 @@
8793
"extra": {
8894
"symfony": {
8995
"allow-contrib": false,
90-
"require": "6.0.*",
96+
"require": "6.*",
9197
"docker": false
9298
}
9399
}

0 commit comments

Comments
 (0)