Skip to content

Commit

Permalink
feat: add PHP 8.4 support, drop PHP 7.4 and 8.0 support, update devel…
Browse files Browse the repository at this point in the history
…opment dependencies
  • Loading branch information
aadmathijssen committed Jan 22, 2025
1 parent c4c0044 commit dceb516
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
- "8.4"
composer-dependency-versions:
- "lowest"
- "highest"
Expand Down
4 changes: 2 additions & 2 deletions .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: composer-git-hooks

services:
appserver:
type: php:7.4
type: php:8.1
via: cli
xdebug: true
composer_version: '2.5.4'
composer_version: 2

# Add additional tooling
tooling:
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
}
},
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"composer-plugin-api": "^2.0"
},
"require-dev": {
"composer/composer": "^2.0",
"iodigital-com/php-code-sniffer-standard": "^29.0",
"slevomat/coding-standard": "^7.1.0 || ^8.0",
"phpstan/extension-installer": "^1.2.0",
"phpstan/phpstan": "^1.10.1",
"phpstan/phpstan-strict-rules": "^1.5.0"
"iodigital-com/php-code-sniffer-standard": "^29.2",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"slevomat/coding-standard": "^8.15"
},
"scripts": {
"post-install-cmd": "IODigital\\ComposerGitHooks\\ComposerPlugin::process",
Expand Down
4 changes: 2 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<rule ref="IO"/>

<!-- Set phpcs versions. -->
<config name="php_version" value="70400"/>
<config name="testVersion" value="7.4-8.3"/>
<config name="php_version" value="80100"/>
<config name="testVersion" value="8.1-8.4"/>
</ruleset>

0 comments on commit dceb516

Please sign in to comment.