Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '8.3' ]
php-version: [ '8.3', '8.4' ]
symfony-version: ['6.4.*', '7.0.*' ]
symfony-deprecations-helper: [ 'max[direct]=0&baselineFile=./tests/allowed.json' ]
grumphp-testsuite: [ 'no-analyse' ]
Expand All @@ -34,6 +34,11 @@ jobs:
symfony-version: '6.4.*'
symfony-deprecations-helper: 'max[direct]=0&max[indirect]=99999&baselineFile=./tests/allowed.json'
grumphp-testsuite: 'main'
- php-version: '8.2'
symfony-version: '7.0.*'
symfony-deprecations-helper: 'max[indirect]=99999&baselineFile=./tests/allowed.json'
grumphp-flag: '-no-analyse'
grumphp-testsuite: 'no-analyse'

name: "PHP: ${{ matrix.php-version }}, Symfony: ${{ matrix.symfony-version }}, GrumPHP: ${{ matrix.grumphp-testsuite }}, Composer: ${{ matrix.composer-flag }}"

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"grumphp8.2": "grumphp run --testsuite=php8.2",
"grumphp8.2-no-analyse": "grumphp run --testsuite=php8.2-no-analyse",
"grumphp8.3-no-analyse": "grumphp run --testsuite=php8.3-no-analyse",
"grumphp8.4-no-analyse": "grumphp run --testsuite=php8.4-no-analyse",
"phpcs": "phpcs --standard=phpcs.xml",
"phpcbf": "phpcbf --standard=phpcs.xml --extensions=php --tab-width=4 -sp src tests",
"code-style:check": "php-cs-fixer --config=./.php-cs-fixer.dist.php fix --dry-run --diff --ansi --verbose src tests",
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.override.yml.osx
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ services:
resetter-bundle-php83:
volumes:
- php_volume:/srv/www

resetter-bundle-php84:
volumes:
- php_volume:/srv/www
24 changes: 22 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,35 @@ services:
# PHP
resetter-bundle-php82:
container_name: resetter-bundle-php82
build: ./docker/php82
build:
context: .
dockerfile: ./docker/php/Dockerfile
args:
PHP_TAG: 8.2-fpm
volumes:
- .:/srv/www:delegated
environment:
- XDEBUG_CONFIG=idekey=PHPSTORM

resetter-bundle-php83:
container_name: resetter-bundle-php83
build: ./docker/php83
build:
context: .
dockerfile: ./docker/php/Dockerfile
args:
PHP_TAG: 8.3-fpm
volumes:
- .:/srv/www:delegated
environment:
- XDEBUG_CONFIG=idekey=PHPSTORM

resetter-bundle-php84:
container_name: resetter-bundle-php84
build:
context: .
dockerfile: ./docker/php/Dockerfile
args:
PHP_TAG: 8.4-fpm
volumes:
- .:/srv/www:delegated
environment:
Expand Down
4 changes: 3 additions & 1 deletion docker/php81/Dockerfile → docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM php:8.1-fpm
ARG PHP_TAG="8.2-fpm"

FROM php:$PHP_TAG

RUN apt-get update && apt-get install -y git-core zlib1g-dev libzip-dev zip unzip
RUN docker-php-ext-install zip pdo_mysql
Expand Down
20 changes: 0 additions & 20 deletions docker/php82/Dockerfile

This file was deleted.

20 changes: 0 additions & 20 deletions docker/php83/Dockerfile

This file was deleted.

5 changes: 5 additions & 0 deletions grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ grumphp:
- phpparser
- phplint
- phpunit
php8.4-no-analyse:
tasks:
- phpparser
- phplint
- phpunit
tasks:
phpcs:
standard: 'phpcs.xml'
Expand Down
Loading