Skip to content

Commit 3be2dd0

Browse files
Merge pull request #7 from dereuromark/patch-1
PHP 8 compatibility
2 parents bb44258 + 6dad8d4 commit 3be2dd0

File tree

4 files changed

+7
-19
lines changed

4 files changed

+7
-19
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
php-version: ['7.4', '8.0']
12+
php-version: ['7.4', '8.2']
1313

1414
steps:
15-
- uses: actions/checkout@v1
16-
with:
17-
fetch-depth: 1
15+
- uses: actions/checkout@v2
1816

1917
- name: Setup PHP
2018
uses: shivammathur/setup-php@v2
@@ -52,9 +50,7 @@ jobs:
5250
runs-on: ubuntu-20.04
5351

5452
steps:
55-
- uses: actions/checkout@v1
56-
with:
57-
fetch-depth: 1
53+
- uses: actions/checkout@v2
5854

5955
- name: Setup PHP
6056
uses: shivammathur/setup-php@v2
@@ -70,8 +66,8 @@ jobs:
7066
- name: Phive install
7167
run: php config/composer_phive.php
7268

73-
- name: Run phpcs
74-
run: bin/phpcs --version && bin/phpcs --report=checkstyle --standard=phpcs.xml src/ tests/
75-
7669
- name: Run phpstan
7770
run: bin/phpstan -V && bin/phpstan analyse src -l 5 --error-format=github
71+
72+
- name: Run phpcs
73+
run: bin/phpcs --version && bin/phpcs --report=checkstyle --standard=phpcs.xml src/ tests/

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ext-json": "*"
1818
},
1919
"require-dev": {
20-
"phauthentic/file-storage": "dev-master",
20+
"phauthentic/file-storage": "^1.0",
2121
"instituteweb/composer-scripts": "^1.1"
2222
},
2323
"minimum-stability": "dev",

src/Exception/ImageProcessingException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@
2323
*/
2424
class ImageProcessingException extends VariantException
2525
{
26-
2726
}

0 commit comments

Comments
 (0)