Skip to content

Commit 9e45e87

Browse files
committed
Add PHP8 Support
1 parent eef810b commit 9e45e87

File tree

5 files changed

+491
-44
lines changed

5 files changed

+491
-44
lines changed

.github/workflows/php-cs-fixer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Check & fix styling
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
php-cs-fixer:

.github/workflows/psalm.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Psalm
22

3-
on:
4-
push:
5-
paths:
6-
- '**.php'
7-
- 'psalm.xml.dist'
3+
on: [push, pull_request]
84

95
jobs:
106
psalm:

.github/workflows/run-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [7.4]
12+
php: [7.4, 8.0]
1313
laravel: [7.*, 8.*]
1414
dependency-version: [prefer-stable]
1515
include:

composer.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tzsk/otp",
3-
"description": "OTP Generator :package_description Verifier without database",
3+
"description": "OTP Generator and Verifier without database",
44
"keywords": [
55
"tzsk",
66
"otp",
@@ -20,10 +20,7 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^7.4",
24-
"illuminate/cache": "^7.0|^8.0",
25-
"illuminate/console": "^7.0|^8.0",
26-
"illuminate/filesystem": "^7.0|^8.0",
23+
"php": "^7.4|^8.0",
2724
"illuminate/support": "^7.0|^8.0"
2825
},
2926
"require-dev": {

0 commit comments

Comments
 (0)