Skip to content

Commit

Permalink
PHP 8.4 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsapone authored Nov 23, 2024
1 parent 08e5b84 commit 7b3ab75
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
coverage: none

- name: Install dependencies
Expand All @@ -27,7 +27,7 @@ jobs:
dependency-versions: ${{ matrix.dependencies }}

- name: PHP-CS-Fixer
run: php vendor/bin/php-cs-fixer fix --dry-run --diff --no-ansi
run: PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer fix --dry-run --diff --no-ansi

phpstan:
runs-on: ubuntu-latest
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
coverage: none

- name: Install dependencies
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
coverage: none

- name: Install dependencies
Expand All @@ -73,7 +73,7 @@ jobs:
strategy:
matrix:
operating-system: [ 'ubuntu-latest' ]
php-version: [ '8.1', '8.2', '8.3' ]
php-version: [ '8.1', '8.2', '8.3', '8.4' ]

runs-on: ${{ matrix.operating-system }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^10.0",
"rector/rector": "^0.15"
"rector/rector": "^1.2"
},
"autoload": {
"psr-4": { "IQ2i\\DataImporter\\": "src" }
Expand Down
2 changes: 1 addition & 1 deletion docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#syntax=docker/dockerfile:1.4

FROM php:8.3-cli-alpine
FROM php:8.4-cli-alpine

COPY --from=mlocati/php-extension-installer --link /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=composer/composer:2-bin --link /composer /usr/bin/composer
Expand Down
2 changes: 1 addition & 1 deletion tests/DataImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function testWithUnreadableArchivePath()

public function testAsyncProcessor()
{
$bus = new class() implements MessageBusInterface {
$bus = new class implements MessageBusInterface {
public array $messages = [];

public array $stamps = [];
Expand Down

0 comments on commit 7b3ab75

Please sign in to comment.