Skip to content

Commit 6ebed1f

Browse files
committed
Add support for PHP 8.2
1 parent a347f5c commit 6ebed1f

File tree

5 files changed

+24
-16
lines changed

5 files changed

+24
-16
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
operating-system: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
15-
php-versions: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
15+
php-versions: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' , '8.2']
1616
runs-on: ${{ matrix.operating-system }}
1717
steps:
1818
- name: Checkout
@@ -46,6 +46,8 @@ jobs:
4646
run: composer phpcs -- --no-cache
4747
PHP-CS-Fixer:
4848
runs-on: ubuntu-latest
49+
env:
50+
PHP_CS_FIXER_IGNORE_ENV: 1
4951
steps:
5052
- name: Checkout
5153
uses: actions/checkout@v2

.php-cs-fixer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
'no_short_bool_cast' => true,
5050
'no_singleline_whitespace_before_semicolons' => true,
5151
'no_spaces_around_offset' => true,
52-
'no_trailing_comma_in_list_call' => true,
53-
'no_trailing_comma_in_singleline_array' => true,
52+
'no_trailing_comma_in_singleline' => true,
5453
'no_unneeded_control_parentheses' => true,
5554
'no_unused_imports' => true,
5655
'no_useless_return' => true,

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog #
22

3+
## v1.1.5 (2022-12-09) ##
4+
5+
* Add support for PHP 8.2
6+
37
## v1.1.4 (2022-01-02) ##
48

59
* Improve Github action workflow

LICENSE

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
Copyright (c) 2016-2020 Riikka Kalliomäki
1+
MIT License
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of
4-
this software and associated documentation files (the "Software"), to deal in
5-
the Software without restriction, including without limitation the rights to
6-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7-
the Software, and to permit persons to whom the Software is furnished to do so,
8-
subject to the following conditions:
3+
Copyright (c) 2016-2022 Riikka Kalliomäki
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
911

1012
The above copyright notice and this permission notice shall be included in all
1113
copies or substantial portions of the Software.
1214

1315
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,6 @@ options also have additional effects on the encoders:
282282

283283
## Credits ##
284284

285-
This library is Copyright (c) 2017-2020 Riikka Kalliomäki.
285+
This library is Copyright (c) 2017-2022 Riikka Kalliomäki.
286286

287287
See LICENSE for license and copying information.

0 commit comments

Comments
 (0)