Skip to content

Commit 2a377ac

Browse files
committed
Sync with latest Symfony version
1 parent 7e5f274 commit 2a377ac

Some content is hidden

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

65 files changed

+406
-925
lines changed

.env

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
###> symfony/framework-bundle ###
22
APP_ENV=dev
3-
APP_SECRET=ad5e9ed11ff896949f234ec07bc075bf
3+
APP_SECRET=c39972d23278f52101c810eea7d5a512
44
###< symfony/framework-bundle ###
55

66
###> app ###
7-
BUSINESS_SHORTNAME=
8-
BUSINESS_FULLNAME=
7+
BUSINESS_NAME=Codeception
98
###< app ###
109

1110
###> doctrine/doctrine-bundle ###

.env.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ APP_ENV=test
22
APP_SECRET='$ecretf0rt3st'
33
DATABASE_URL=sqlite:///%kernel.project_dir%/var/test.db3
44
KERNEL_CLASS='App\Kernel'
5-
SYMFONY_DEPRECATIONS_HELPER=999999
6-
MAILER_DSN=null://null
5+
MAILER_DSN=null://null
6+
SYMFONY_DEPRECATIONS_HELPER=999999

.github/workflows/symfony.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
run: composer install --no-progress
5151

5252
- name: Update database schema
53-
run: php bin/console d:s:u -f
53+
run: php bin/console doctrine:schema:update --force
5454

5555
- name: Load Doctrine fixtures
56-
run: php bin/console d:f:l -q
56+
run: php bin/console doctrine:fixtures:load --quiet
5757

5858
- name: Run functional tests
5959
run: vendor/bin/codecept run Functional

codeception.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
namespace: App\Tests
2+
support_namespace: Support
23
paths:
34
tests: tests
4-
support: tests/_build/support
5-
data: tests/_build/data
6-
envs: tests/_build/envs
7-
output: tests/_build/output
5+
output: tests/_output
6+
data: tests/Support/Data
7+
support: tests/Support
8+
envs: tests/_envs
89
actor_suffix: Tester
910
extensions:
1011
enabled:
@@ -15,4 +16,4 @@ params:
1516
settings:
1617
shuffle: true
1718
colors: true
18-
report_useless_tests: true
19+
report_useless_tests: true

composer.json

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
"php": ">=8.1.0",
1515
"ext-ctype": "*",
1616
"ext-iconv": "*",
17-
"doctrine/annotations": "^2.0",
18-
"doctrine/doctrine-bundle": "^2.6",
17+
"doctrine/doctrine-bundle": "^2.11",
1918
"symfony/apache-pack": "^1.0",
2019
"symfony/console": "6.4.*",
2120
"symfony/dotenv": "6.4.*",
22-
"symfony/flex": "^2.1",
21+
"symfony/flex": "^2.4",
2322
"symfony/form": "6.4.*",
2423
"symfony/framework-bundle": "6.4.*",
2524
"symfony/mailer": "6.4.*",
@@ -30,27 +29,27 @@
3029
"symfony/yaml": "6.4.*"
3130
},
3231
"require-dev": {
33-
"codeception/codeception": "^5.0.0",
32+
"codeception/codeception": "^5.0.8",
3433
"codeception/module-asserts": "^3.0",
3534
"codeception/module-doctrine2": "^3.0",
3635
"codeception/module-phpbrowser": "^3.0",
37-
"codeception/module-symfony": "^3.0 | *@dev",
38-
"doctrine/doctrine-fixtures-bundle": "^3.4.2",
39-
"friendsofphp/php-cs-fixer": "^3.3",
40-
"phpmd/phpmd": "^2.11",
36+
"codeception/module-symfony": "^3.2 | *@dev",
37+
"doctrine/doctrine-fixtures-bundle": "^3.5",
38+
"friendsofphp/php-cs-fixer": "^3.46",
39+
"phpmd/phpmd": "^2.15",
40+
"phpstan/phpdoc-parser": "^1.25",
4141
"phpunit/phpunit": "^10.0",
42-
"rector/rector": "^0.12.5",
43-
"squizlabs/php_codesniffer": "^3.6",
42+
"rector/rector": "^0.18.13",
43+
"squizlabs/php_codesniffer": "^3.8",
4444
"symfony/debug-bundle": "6.4.*",
45-
"symfony/maker-bundle": "^1.41",
45+
"symfony/maker-bundle": "^1.52",
4646
"symfony/twig-bundle": "6.4.*",
4747
"symfony/var-dumper": "6.4.*",
4848
"symfony/web-profiler-bundle": "6.4.*",
49-
"vlucas/phpdotenv": "^5.4"
49+
"vlucas/phpdotenv": "^5.6"
5050
},
5151
"config": {
5252
"allow-plugins": {
53-
"composer/package-versions-deprecated": true,
5453
"php-http/discovery": true,
5554
"symfony/flex": true,
5655
"symfony/runtime": true
@@ -70,9 +69,6 @@
7069
}
7170
},
7271
"autoload-dev": {
73-
"classmap": [
74-
"tests/_build/support"
75-
],
7672
"psr-4": {
7773
"App\\Tests\\": "tests/"
7874
}
@@ -97,8 +93,6 @@
9793
"@psalm"
9894
],
9995
"test": "vendor/bin/codecept run --colors",
100-
"psalm": "vendor/bin/psalm --no-cache",
101-
"rector": "vendor/bin/rector process src -c rector.php --no-progress-bar -n",
10296
"post-install-cmd": [
10397
"@auto-scripts"
10498
],

0 commit comments

Comments
 (0)