Skip to content

Commit

Permalink
Add support for php8.1 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdcodes authored Feb 26, 2022
1 parent 0c73195 commit 9ab84b3
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 3,464 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 7.4]
php: [8.1, 8.0, 7.4]
stability: [prefer-stable]

name: PHP${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ testbench.yaml
vendor
.php-cs-fixer.cache
.phpunit.cache
composer.lock
19 changes: 19 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Security Policy

## Supported Versions

`phpjuice/slopeone` Package requires PHP 7.4 or higher. If you are using an older version of php this package may not
function correctly.

| Version | Supported |
|---------|--------------------|
| 2.0.x | :white_check_mark: |
| < 2.0 | :x: |

## Reporting a Vulnerability

Found a bug? Do you have general questions or suggestions for improving the package? Feel free
to [create an issue on GitHub](https://github.com/phpjuice/slopeone/issues), we'll try to address it as soon as
possible.

If you discover any security related issues, please email us at [email protected] instead of using the issue tracker.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"source": "https://github.com/phpjuice/slopeone"
},
"require": {
"php": "^7.4|^8.0"
"php": "^7.4|^8.0|^8.1"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.4",
Expand All @@ -39,8 +39,8 @@
}
},
"scripts": {
"test": "vendor/bin/pest",
"analyse": "phpstan analyse src tests",
"test": "vendor/bin/pest --colors=always",
"analyse": "phpstan analyse --ansi --debug",
"php-cs-fixer": [
"php-cs-fixer fix src --rules=@PSR2",
"php-cs-fixer fix tests --rules=@PSR2"
Expand Down
Loading

0 comments on commit 9ab84b3

Please sign in to comment.