Skip to content

Commit

Permalink
Adding PHP 8.3 and 8.4 to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Nov 27, 2024
1 parent 0458cae commit 645cef2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
extensions: bcmath, gmp, intl, dom, mbstring

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --no-suggest --prefer-lowest --classmap-authoritative
Expand All @@ -38,6 +38,8 @@ jobs:
php:
- 8.1
- 8.2
- 8.3
- 8.4

steps:
- name: Set up PHP
Expand All @@ -48,7 +50,10 @@ jobs:
ini-values: zend.assertions=1

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Remove psalm
run: composer remove psalm/plugin-phpunit psalm/plugin-symfony vimeo/psalm --dev

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand All @@ -74,7 +79,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/MoneyExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function testMoneyDoctrineMapping(): void
* @param array<class-string|string> $publicServices
* @param array<array-key, array<array-key, mixed>> $configs
*/
private function createContainer(array $publicServices = [], array $configs = [[]], \Closure $callback = null): ContainerInterface
private function createContainer(array $publicServices = [], array $configs = [[]], ?\Closure $callback = null): ContainerInterface
{
$parameters = [
'kernel.debug' => true,
Expand Down

0 comments on commit 645cef2

Please sign in to comment.