Skip to content

Commit

Permalink
feat: add php 8.4 and add Symfony stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisros committed Nov 24, 2024
1 parent ba38853 commit c6801dd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1','8.2']
php-versions:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1','8.2']
php-versions:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
Expand All @@ -22,6 +26,8 @@ jobs:
run: php -v
- name: Composer
uses: php-actions/composer@v6
with:
args: "--ignore-platform-req=php"
- name: Tests
uses: php-actions/phpunit@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
}
],
"require": {
"php": ">=8.1",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/config": "^5.4|^6.0"
"php": "^8.1|^8.2|^8.3",
"symfony/http-kernel": "^5.4|^6.4|^7.1",
"symfony/dependency-injection": "^5.4|^6.4|^7.1",
"symfony/config": "^5.4|^6.4|^7.1"
},
"require-dev": {
"phpunit/phpunit": "^9.6|^10.0",
Expand Down
2 changes: 1 addition & 1 deletion src/BoilerPlateBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public function getContainerExtension(): ?ExtensionInterface
return new BoilerPlateBundleExtension();
}

return $this->extension;
return $this->extension ?: null;
}
}

0 comments on commit c6801dd

Please sign in to comment.