Skip to content

Commit

Permalink
Add PHP8 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
tzsk committed Jan 30, 2021
1 parent eef810b commit 9e45e87
Show file tree
Hide file tree
Showing 5 changed files with 491 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check & fix styling

on: [push]
on: [push, pull_request]

jobs:
php-cs-fixer:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Psalm

on:
push:
paths:
- '**.php'
- 'psalm.xml.dist'
on: [push, pull_request]

jobs:
psalm:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.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]
php: [7.4]
php: [7.4, 8.0]
laravel: [7.*, 8.*]
dependency-version: [prefer-stable]
include:
Expand Down
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tzsk/otp",
"description": "OTP Generator :package_description Verifier without database",
"description": "OTP Generator and Verifier without database",
"keywords": [
"tzsk",
"otp",
Expand All @@ -20,10 +20,7 @@
}
],
"require": {
"php": "^7.4",
"illuminate/cache": "^7.0|^8.0",
"illuminate/console": "^7.0|^8.0",
"illuminate/filesystem": "^7.0|^8.0",
"php": "^7.4|^8.0",
"illuminate/support": "^7.0|^8.0"
},
"require-dev": {
Expand Down
Loading

0 comments on commit 9e45e87

Please sign in to comment.