Skip to content

Commit e108af5

Browse files
Merge pull request #6 from laravel-shift/l10-compatibility
Laravel 10.x Compatibility
2 parents 9d0b70b + 66eca5e commit e108af5

File tree

2 files changed

+89
-89
lines changed

2 files changed

+89
-89
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
php: [8.0]
15+
php: [8.0, 8.1]
1616
steps:
1717
- uses: actions/checkout@v1
1818
- name: Setup PHP
@@ -111,7 +111,7 @@ jobs:
111111
runs-on: ubuntu-latest
112112
strategy:
113113
matrix:
114-
php: [ 8.0 ]
114+
php: [ 8.0 , 8.1]
115115
steps:
116116
- uses: actions/checkout@v1
117117
- name: Cache composer dependencies

composer.json

Lines changed: 87 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,91 @@
11
{
2-
"name": "richan-fongdasen/laravel-gcr-worker",
3-
"description": "Easily generates RESTful API endpoints in Laravel",
4-
"type": "library",
5-
"license": "MIT",
6-
"homepage": "https://github.com/richan-fongdasen/laravel-gcr-worker",
7-
"keywords": [
8-
"laravel",
9-
"laravel-package"
10-
],
11-
"authors": [
12-
{
13-
"name": "Richan Fongdasen",
14-
"email": "[email protected]"
15-
}
16-
],
17-
"support": {
18-
"issues": "https://github.com/richan-fongdasen/laravel-gcr-worker/issues",
19-
"source": "https://github.com/richan-fongdasen/laravel-gcr-worker"
20-
},
21-
"require": {
22-
"php": "^7.4|^8.0",
23-
"illuminate/queue": "^8.0|^9.0",
24-
"illuminate/support": "^8.0|^9.0",
25-
"kainxspirits/laravel-pubsub-queue": "^0.6|^0.7"
26-
},
27-
"require-dev": {
28-
"ekino/phpstan-banned-code": "^1.0",
29-
"mockery/mockery": "^1.4",
30-
"nunomaduro/larastan": "^1.0|^2.0",
31-
"orchestra/testbench": "^6.0|^7.0",
32-
"phpmd/phpmd": "^2.11",
33-
"phpstan/phpstan-deprecation-rules": "^1.0",
34-
"phpstan/phpstan-strict-rules": "^1.0",
35-
"phpunit/phpunit": "^9.5",
36-
"sebastian/phpcpd": "^6.0"
37-
},
38-
"config": {
39-
"sort-packages": true
40-
},
41-
"autoload": {
42-
"psr-4": {
43-
"RichanFongdasen\\GCRWorker\\": "src"
44-
}
45-
},
46-
"autoload-dev": {
47-
"psr-4": {
48-
"App\\Jobs\\": "dummies",
49-
"RichanFongdasen\\GCRWorker\\Tests\\": "tests/"
50-
}
51-
},
52-
"extra": {
53-
"laravel": {
54-
"providers": [
55-
"RichanFongdasen\\GCRWorker\\ServiceProvider"
56-
],
57-
"aliases": {
58-
"GcrQueue": "RichanFongdasen\\GCRWorker\\Facade\\GcrQueue"
59-
}
60-
}
61-
},
62-
"scripts": {
63-
"analyse": [
64-
"composer check-syntax",
65-
"composer phpstan-analysis",
66-
"composer phpmd-analysis",
67-
"vendor/bin/phpcpd --min-lines=3 --min-tokens=36 src/"
2+
"name": "richan-fongdasen/laravel-gcr-worker",
3+
"description": "Easily generates RESTful API endpoints in Laravel",
4+
"type": "library",
5+
"license": "MIT",
6+
"homepage": "https://github.com/richan-fongdasen/laravel-gcr-worker",
7+
"keywords": [
8+
"laravel",
9+
"laravel-package"
6810
],
69-
"check-syntax": [
70-
"! find src -type f -name \"*.php\" -exec php -l {} \\; | grep -v 'No syntax errors'",
71-
"! find tests -type f -name \"*.php\" -exec php -l {} \\; | grep -v 'No syntax errors'"
11+
"authors": [
12+
{
13+
"name": "Richan Fongdasen",
14+
"email": "[email protected]"
15+
}
7216
],
73-
"phpstan-analysis": [
74-
"vendor/bin/phpstan analyse -c phpstan.neon --no-progress"
75-
],
76-
"phpmd-analysis": [
77-
"vendor/bin/phpmd src text codesize,controversial,design,naming,unusedcode,.phpmd.cleancode.xml"
78-
],
79-
"cov-text": [
80-
"phpdbg -qrr vendor/bin/phpunit --coverage-text"
81-
],
82-
"cov-html": [
83-
"phpdbg -qrr vendor/bin/phpunit --coverage-html coverage"
84-
],
85-
"test": [
86-
"vendor/bin/phpunit"
87-
]
88-
},
89-
"minimum-stability": "dev",
90-
"prefer-stable": true
17+
"support": {
18+
"issues": "https://github.com/richan-fongdasen/laravel-gcr-worker/issues",
19+
"source": "https://github.com/richan-fongdasen/laravel-gcr-worker"
20+
},
21+
"require": {
22+
"php": "^7.4|^8.0",
23+
"illuminate/queue": "^8.0|^9.0|^10.0",
24+
"illuminate/support": "^8.0|^9.0|^10.0",
25+
"kainxspirits/laravel-pubsub-queue": "^0.6|^0.7"
26+
},
27+
"require-dev": {
28+
"ekino/phpstan-banned-code": "^1.0",
29+
"mockery/mockery": "^1.4",
30+
"nunomaduro/larastan": "^1.0|^2.0",
31+
"orchestra/testbench": "^6.0|^7.0|^8.0",
32+
"phpmd/phpmd": "^2.11",
33+
"phpstan/phpstan-deprecation-rules": "^1.0",
34+
"phpstan/phpstan-strict-rules": "^1.0",
35+
"phpunit/phpunit": "^9.5",
36+
"sebastian/phpcpd": "^6.0"
37+
},
38+
"config": {
39+
"sort-packages": true
40+
},
41+
"autoload": {
42+
"psr-4": {
43+
"RichanFongdasen\\GCRWorker\\": "src"
44+
}
45+
},
46+
"autoload-dev": {
47+
"psr-4": {
48+
"App\\Jobs\\": "dummies",
49+
"RichanFongdasen\\GCRWorker\\Tests\\": "tests/"
50+
}
51+
},
52+
"extra": {
53+
"laravel": {
54+
"providers": [
55+
"RichanFongdasen\\GCRWorker\\ServiceProvider"
56+
],
57+
"aliases": {
58+
"GcrQueue": "RichanFongdasen\\GCRWorker\\Facade\\GcrQueue"
59+
}
60+
}
61+
},
62+
"scripts": {
63+
"analyse": [
64+
"composer check-syntax",
65+
"composer phpstan-analysis",
66+
"composer phpmd-analysis",
67+
"vendor/bin/phpcpd --min-lines=3 --min-tokens=36 src/"
68+
],
69+
"check-syntax": [
70+
"! find src -type f -name \"*.php\" -exec php -l {} \\; | grep -v 'No syntax errors'",
71+
"! find tests -type f -name \"*.php\" -exec php -l {} \\; | grep -v 'No syntax errors'"
72+
],
73+
"phpstan-analysis": [
74+
"vendor/bin/phpstan analyse -c phpstan.neon --no-progress"
75+
],
76+
"phpmd-analysis": [
77+
"vendor/bin/phpmd src text codesize,controversial,design,naming,unusedcode,.phpmd.cleancode.xml"
78+
],
79+
"cov-text": [
80+
"phpdbg -qrr vendor/bin/phpunit --coverage-text"
81+
],
82+
"cov-html": [
83+
"phpdbg -qrr vendor/bin/phpunit --coverage-html coverage"
84+
],
85+
"test": [
86+
"vendor/bin/phpunit"
87+
]
88+
},
89+
"minimum-stability": "dev",
90+
"prefer-stable": true
9191
}

0 commit comments

Comments
 (0)