Skip to content

Commit

Permalink
Add support for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
daanvanberkel committed Nov 24, 2024
1 parent 9f0cec0 commit 470d7d3
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
composer-dependency-versions:
- "lowest"
- "highest"
Expand Down
17 changes: 17 additions & 0 deletions .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,26 @@ services:
environment:
PHP_IDE_CONFIG: 'serverName=appserver'
XDEBUG_TRIGGER: '1'
php83:
type: 'php:8.3'
xdebug: true
overrides:
environment:
PHP_IDE_CONFIG: 'serverName=appserver'
XDEBUG_TRIGGER: '1'
php84:
type: 'php:8.4'
xdebug: true
overrides:
environment:
PHP_IDE_CONFIG: 'serverName=appserver'
XDEBUG_TRIGGER: '1'

tooling:
phpunit:
cmd:
- php80: 'vendor/bin/phpunit'
- php81: 'vendor/bin/phpunit'
- php82: 'vendor/bin/phpunit'
- php83: 'vendor/bin/phpunit'
- php84: 'vendor/bin/phpunit'
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- Add support for PHP 8.4

### Changed
- Add `catalog-info.yaml`

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "phpcodesniffer-standard",
"license": "MIT",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.6.0",
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<rule ref="IO"/>

<config name="php_version" value="80000"/>
<config name="testVersion" value="8.0-8.3"/>
<config name="testVersion" value="8.0-8.4"/>

<arg name="extensions" value="php"/>
<arg name="cache"/>
Expand Down

0 comments on commit 470d7d3

Please sign in to comment.