Skip to content

Commit 6e1ee54

Browse files
committed
Update codebase
1 parent 43b93f4 commit 6e1ee54

Some content is hidden

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

61 files changed

+6831
-986
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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI
33
on:
44
push:
55
branches:
6-
- '5.4_codecept5'
6+
- '5.4'
77
pull_request:
88
branches:
9-
- '5.4_codecept5'
9+
- '5.4'
1010

1111
env:
1212
APP_ENV: test
@@ -18,10 +18,10 @@ jobs:
1818
strategy:
1919
fail-fast: true
2020
matrix:
21-
php-versions: ['8.0', '8.1', '8.2', '8.3']
21+
php-versions: ['8.1', '8.2', '8.3']
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: Setup PHP with extensions and Composer v2
2727
uses: shivammathur/setup-php@v2
@@ -40,7 +40,7 @@ jobs:
4040
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
4141

4242
- name: Cache composer dependencies
43-
uses: actions/cache@v2.1.7
43+
uses: actions/cache@v3
4444
with:
4545
path: ${{ steps.composer-cache.outputs.dir }}
4646
key: ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
@@ -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
59-
run: vendor/bin/codecept run Functional
59+
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: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"minimum-stability": "RC",
1313
"require": {
14-
"php": ">=8.0.2",
14+
"php": ">=8.1.0",
1515
"ext-ctype": "*",
1616
"ext-iconv": "*",
1717
"doctrine/doctrine-bundle": "^2.5",
@@ -34,7 +34,7 @@
3434
"codeception/codeception": "^5.0.0-RC3",
3535
"codeception/lib-innerbrowser": "^3.1",
3636
"codeception/module-asserts": "^3.0",
37-
"codeception/module-doctrine2": "^3.0",
37+
"codeception/module-doctrine": "^3.1",
3838
"codeception/module-phpbrowser": "^3.0",
3939
"codeception/module-symfony": "^3.0 | *@dev",
4040
"doctrine/doctrine-fixtures-bundle": "^3.4",
@@ -57,7 +57,7 @@
5757
},
5858
"sort-packages": true,
5959
"platform": {
60-
"php": "8.0.2"
60+
"php": "8.1.0"
6161
},
6262
"allow-plugins": {
6363
"symfony/flex": true,
@@ -70,9 +70,6 @@
7070
}
7171
},
7272
"autoload-dev": {
73-
"classmap": [
74-
"tests/_build/support"
75-
],
7673
"psr-4": {
7774
"App\\Tests\\": "tests/"
7875
}

0 commit comments

Comments
 (0)