Skip to content

Commit

Permalink
chore(php): fix PHP 8.2 deprecations
Browse files Browse the repository at this point in the history
Signed-off-by: azjezz <azjezz@protonmail.com>
  • Loading branch information
jrmajor authored and azjezz committed Oct 10, 2022
1 parent fe78ef2 commit 7ed194e
Show file tree
Hide file tree
Showing 6 changed files with 377 additions and 418 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Expand Up @@ -14,6 +14,7 @@ jobs:
matrix:
php-version:
- "8.1"
- "8.2"
operating-system:
# MacOs has a floating-point problem.
# - "macos-latest"
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "~8.1.0",
"php": "~8.1.0 || ~8.2.0",
"ext-bcmath": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand Down Expand Up @@ -44,6 +44,11 @@
"Psl\\Tests\\Fixture\\": "tests/fixture"
}
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
},
"extra": {
"thanks": {
"name": "hhvm/hsl",
Expand All @@ -52,10 +57,5 @@
},
"suggest": {
"php-standard-library/psalm-plugin": "Psalm integration"
},
"config": {
"allow-plugins": {
"infection/extension-installer": false
}
}
}

0 comments on commit 7ed194e

Please sign in to comment.