Skip to content

Commit

Permalink
test: remove php 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saifulferoz committed Oct 11, 2024
1 parent c4f45d9 commit 488753c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '8.0', '8.1', '8.2', '8.3' ]
php-versions: [ '8.1', '8.2', '8.3' ]

steps:
- name: Checkout
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Install Other dependencies
run: |
curl -L https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar -o /usr/local/bin/php-coveralls
curl -L https://github.com/php-coveralls/php-coveralls/releases/download/v2.7.0/php-coveralls.phar -o /usr/local/bin/php-coveralls
chmod +x /usr/local/bin/php-coveralls
mkdir -p build/logs
- name: Run tests
Expand Down
6 changes: 1 addition & 5 deletions Tests/Functional/config/switchuser.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
imports:
- { resource: ./config.yml }
# Load validation config for PHP 8.0
- { resource: 'validation_php80.yaml', when@php: '<=8.1' }
# Load validation config for PHP 8.1 and higher
- { resource: 'validation_php81.yaml', when@php: '>=8.1' }

framework:

validation: { enabled: true, enable_attributes: true }
router:
resource: "%kernel.project_dir%/config/common/login_routing.yml"
csrf_protection: true
Expand Down
2 changes: 0 additions & 2 deletions Tests/Functional/config/validation_php80.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions Tests/Functional/config/validation_php81.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": "https://github.com/xiidea/EasyAuditBundle"
},
"require": {
"php": ">=8.0.2",
"php": ">=8.1",
"psr/log": "^1|^2|^3",
"symfony/framework-bundle": ">=5.4 <7.4.0",
"symfony/security-bundle": ">=5.4 <7.4.0"
Expand Down

0 comments on commit 488753c

Please sign in to comment.