Skip to content

Commit

Permalink
PHP 8.3 support (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antnee committed Jan 27, 2024
1 parent 9f9a391 commit 6ee7d5a
Show file tree
Hide file tree
Showing 12 changed files with 1,556 additions and 1,169 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
php-versions: [ '8.0', '8.1', '8.2' ]
php-versions: [ '8.0', '8.1', '8.2', '8.3' ]
name: PHP ${{ matrix.php-versions }} ${{ matrix.operating-system }}
steps:
- name: Git Configure
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -39,7 +39,7 @@ jobs:
continue-on-error: true
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -61,7 +61,7 @@ jobs:
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v
- name: CodeClimate
uses: paambaati/codeclimate-action@v2.7.5
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"phpunit/phpunit": "^9.5"
},
"require": {
"php": "8.0 - 8.2"
"php": "8.0 - 8.3"
},
"license": "MIT",
"authors": [
Expand All @@ -38,6 +38,7 @@
},
"scripts": {
"test": "vendor/bin/phpunit",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html docs",
"cs": "vendor/bin/phpcs --standard=psr12 src/ -s",
"cs-fix": "vendor/bin/phpcbf --standard=psr12 src/ -s"
}
Expand Down

0 comments on commit 6ee7d5a

Please sign in to comment.