Skip to content

Commit

Permalink
Sync with latest Symfony version
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez committed Jan 16, 2024
1 parent 7e5f274 commit 2a377ac
Show file tree
Hide file tree
Showing 65 changed files with 406 additions and 925 deletions.
5 changes: 2 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=ad5e9ed11ff896949f234ec07bc075bf
APP_SECRET=c39972d23278f52101c810eea7d5a512
###< symfony/framework-bundle ###

###> app ###
BUSINESS_SHORTNAME=
BUSINESS_FULLNAME=
BUSINESS_NAME=Codeception
###< app ###

###> doctrine/doctrine-bundle ###
Expand Down
4 changes: 2 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ APP_ENV=test
APP_SECRET='$ecretf0rt3st'
DATABASE_URL=sqlite:///%kernel.project_dir%/var/test.db3
KERNEL_CLASS='App\Kernel'
SYMFONY_DEPRECATIONS_HELPER=999999
MAILER_DSN=null://null
MAILER_DSN=null://null
SYMFONY_DEPRECATIONS_HELPER=999999
4 changes: 2 additions & 2 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
run: composer install --no-progress

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

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

- name: Run functional tests
run: vendor/bin/codecept run Functional
11 changes: 6 additions & 5 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
namespace: App\Tests
support_namespace: Support
paths:
tests: tests
support: tests/_build/support
data: tests/_build/data
envs: tests/_build/envs
output: tests/_build/output
output: tests/_output
data: tests/Support/Data
support: tests/Support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
Expand All @@ -15,4 +16,4 @@ params:
settings:
shuffle: true
colors: true
report_useless_tests: true
report_useless_tests: true
30 changes: 12 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
"php": ">=8.1.0",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/annotations": "^2.0",
"doctrine/doctrine-bundle": "^2.6",
"doctrine/doctrine-bundle": "^2.11",
"symfony/apache-pack": "^1.0",
"symfony/console": "6.4.*",
"symfony/dotenv": "6.4.*",
"symfony/flex": "^2.1",
"symfony/flex": "^2.4",
"symfony/form": "6.4.*",
"symfony/framework-bundle": "6.4.*",
"symfony/mailer": "6.4.*",
Expand All @@ -30,27 +29,27 @@
"symfony/yaml": "6.4.*"
},
"require-dev": {
"codeception/codeception": "^5.0.0",
"codeception/codeception": "^5.0.8",
"codeception/module-asserts": "^3.0",
"codeception/module-doctrine2": "^3.0",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-symfony": "^3.0 | *@dev",
"doctrine/doctrine-fixtures-bundle": "^3.4.2",
"friendsofphp/php-cs-fixer": "^3.3",
"phpmd/phpmd": "^2.11",
"codeception/module-symfony": "^3.2 | *@dev",
"doctrine/doctrine-fixtures-bundle": "^3.5",
"friendsofphp/php-cs-fixer": "^3.46",
"phpmd/phpmd": "^2.15",
"phpstan/phpdoc-parser": "^1.25",
"phpunit/phpunit": "^10.0",
"rector/rector": "^0.12.5",
"squizlabs/php_codesniffer": "^3.6",
"rector/rector": "^0.18.13",
"squizlabs/php_codesniffer": "^3.8",
"symfony/debug-bundle": "6.4.*",
"symfony/maker-bundle": "^1.41",
"symfony/maker-bundle": "^1.52",
"symfony/twig-bundle": "6.4.*",
"symfony/var-dumper": "6.4.*",
"symfony/web-profiler-bundle": "6.4.*",
"vlucas/phpdotenv": "^5.4"
"vlucas/phpdotenv": "^5.6"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"php-http/discovery": true,
"symfony/flex": true,
"symfony/runtime": true
Expand All @@ -70,9 +69,6 @@
}
},
"autoload-dev": {
"classmap": [
"tests/_build/support"
],
"psr-4": {
"App\\Tests\\": "tests/"
}
Expand All @@ -97,8 +93,6 @@
"@psalm"
],
"test": "vendor/bin/codecept run --colors",
"psalm": "vendor/bin/psalm --no-cache",
"rector": "vendor/bin/rector process src -c rector.php --no-progress-bar -n",
"post-install-cmd": [
"@auto-scripts"
],
Expand Down
Loading

0 comments on commit 2a377ac

Please sign in to comment.