Skip to content

Commit

Permalink
Use PHP 8.4 by default (#109)
Browse files Browse the repository at this point in the history
* Sort Composer packages

* Improve types

* Use PHP 8.4 by default
  • Loading branch information
staudenmeir authored Nov 27, 2024
1 parent 54f4aa6 commit afb31ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ 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.3 vendor/bin/phpstan analyse --configuration=phpstan.types.neon.dist --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
docker compose run --rm php8.4 vendor/bin/phpstan analyse --configuration=phpstan.types.neon.dist --memory-limit=-1
```
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
php: [ 8.4, 8.3, 8.2 ]
release: [ stable, lowest ]
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 @@ -11,16 +11,16 @@ 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
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
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 @@ -16,4 +16,4 @@ services:
working_dir: /var/www/html
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

0 comments on commit afb31ea

Please sign in to comment.