Skip to content

Commit

Permalink
feat(general)!: update to php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Timon Heuser committed Aug 31, 2022
1 parent f4bdbb9 commit 7121584
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 282 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
operating-system: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
php-versions: [ '7.4', '8.0', '8.1' ]
php-versions: [ '8.1' ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion Oneserv/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@
</rule>

<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.4-"/>
<config name="testVersion" value="8.1-"/>
</ruleset>
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"issues": "https://github.com/oneserv/phpcs-rules/issues"
},
"require": {
"php": "^7.4|^8.0",
"php": "^8.1",
"squizlabs/php_codesniffer": "^3.7",
"phpcompatibility/php-compatibility": "^9.3",
"dealerdirect/phpcodesniffer-composer-installer": "0.*"
},
"require-dev": {
"roave/security-advisories": "@dev",
"madewithlove/license-checker": "^0.10.0"
"madewithlove/license-checker": "^1.4.0"
},
"scripts": {
"check-license": "vendor/bin/license-checker check"
Expand Down
Loading

0 comments on commit 7121584

Please sign in to comment.