Skip to content

Commit 3d45dd9

Browse files
committed
Remove unnecessary php 8 conditionals
1 parent eb3254b commit 3d45dd9

File tree

8 files changed

+12
-20
lines changed

8 files changed

+12
-20
lines changed

.github/workflows/symfony.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
php-versions: ['7.3', '7.4', '8.0']
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2.3.4
20+
uses: actions/checkout@v2
2121

2222
- name: Setup PHP with extensions and Composer v2
2323
uses: shivammathur/setup-php@v2
@@ -43,22 +43,14 @@ jobs:
4343
restore-keys: ${{ runner.os }}-${{ matrix.php-versions }}-composer-
4444

4545
- name: Install Composer dependencies
46-
if: matrix.php-versions < 8
4746
run: composer update --no-progress
4847

49-
- name: Install Composer dependencies
50-
if: matrix.php-versions == 8.0
51-
run: composer update --no-progress --ignore-platform-req=php
52-
53-
- name: Download Symfony CLI
54-
run: wget https://get.symfony.com/cli/installer -O - | bash
55-
5648
- name: Update database schema
57-
run: /home/runner/.symfony/bin/symfony console d:s:u -f
49+
run: php bin/console d:s:u -f
5850

5951
- name: Load Doctrine fixtures
60-
run: /home/runner/.symfony/bin/symfony console d:f:l -q
52+
run: php bin/console d:f:l -q
6153

62-
- name: Run functionnal tests
54+
- name: Run functional tests
6355
run: |
6456
vendor/bin/codecept run Functional

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Minimal site containing functional tests for [Codeception Module Symfony](https:
99
```
1010
2. Install Composer dependencies
1111
```shell
12-
composer install
12+
composer update
1313
```
1414
3. Update database schema and load Doctrine fixtures
1515
```shell

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Controller/.gitignore

Whitespace-only changes.

src/DataFixtures/.gitignore

Whitespace-only changes.

src/Entity/.gitignore

Whitespace-only changes.

src/Repository/.gitignore

Whitespace-only changes.

tests/Functional/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)