Skip to content

Commit

Permalink
Use PHP 8.4 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Nov 27, 2024
1 parent 81a1725 commit 05cbd36
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ We accept contributions via Pull Requests on [GitHub](https://github.com/stauden
## Running Tests & Static Analysis

```
docker compose run --rm php8.3 composer install
docker compose run --rm php8.3 vendor/bin/phpunit
docker compose run --rm php8.3 vendor/bin/phpstan analyse --memory-limit=-1
docker compose run --rm php8.4 composer install
docker compose run --rm php8.4 vendor/bin/phpunit
docker compose run --rm php8.4 vendor/bin/phpstan analyse --memory-limit=-1
```
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@ jobs:
php: [ 8.4, 8.3, 8.2 ]
database: [ mysql, mariadb, pgsql, sqlite, sqlsrv, singlestore, oracle, firebird ]
release: [ stable, lowest ]
exclude:
- php: 8.4
database: oracle
- php: 8.4
database: firebird
include:
- php: 8.3
- php: 8.4
release: stable
coverage: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
php: [ 8.3 ]
php: [ 8.4 ]
release: [ stable ]

steps:
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ services:
volumes:
- .:/var/www/html:delegated
- ~/.cache/composer/files:/root/.composer/cache/files
php8.3-xdebug:
image: ghcr.io/staudenmeir/php:8.3
php8.4:
image: ghcr.io/staudenmeir/php:8.4
working_dir: /var/www/html
networks:
- test
volumes:
- .:/var/www/html:delegated
- .docker/xdebug.ci.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- ~/.cache/composer/files:/root/.composer/cache/files
php8.4:
php8.4-xdebug:
image: ghcr.io/staudenmeir/php:8.4
working_dir: /var/www/html
networks:
- test
volumes:
- .:/var/www/html:delegated
- .docker/xdebug.ci.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- ~/.cache/composer/files:/root/.composer/cache/files
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
- test
volumes:
- .:/var/www/html:delegated
#- .docker/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- .docker/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
mysql:
image: 'mysql:latest'
environment:
Expand Down

0 comments on commit 05cbd36

Please sign in to comment.