File tree 5 files changed +15
-11
lines changed
5 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 14
14
- ' 8.1'
15
15
- ' 8.2'
16
16
- ' 8.3'
17
+ - ' 8.4'
17
18
analysis : [ false ]
18
19
coverage : [ 'none' ]
19
20
normalize : [ false ]
23
24
- ' 9.0'
24
25
- ' 10.0'
25
26
- ' 11.0.3'
27
+ - ' 12.0'
26
28
exclude :
27
29
- php : ' 8.0'
28
30
laravel : ' 9.0'
40
42
laravel : ' 8.22'
41
43
- php : ' 8.3'
42
44
laravel : ' 9.0'
45
+ - php : ' 8.4'
46
+ laravel : ' 12.0'
43
47
include :
44
48
- php : ' 8.0'
45
49
laravel : ' 9.39.0'
80
84
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
81
85
82
86
- name : Cache composer dependencies
83
- uses : actions/cache@v2
87
+ uses : actions/cache@v4
84
88
with :
85
89
path : ${{ steps.composer-cache.outputs.dir }}
86
90
key : " php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('**/composer.json') }}"
Original file line number Diff line number Diff line change 24
24
}
25
25
],
26
26
"require" : {
27
- "php" : " ^8.0 || 8.1" ,
27
+ "php" : " ^8.0 || ^ 8.1 || ^8.2 || ^8.3 || ^8.4 " ,
28
28
"ext-json" : " *" ,
29
29
"funeralzone/valueobjects" : " ^0.5" ,
30
30
"jenssegers/agent" : " ^2.6" ,
31
- "laravel/framework" : " ^8.0 || ^9.0 || ^10.0 || ^11.0" ,
31
+ "laravel/framework" : " ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 " ,
32
32
"gnikyt/basic-shopify-api" : " ^9.0 || ^10.0 || ^11.0"
33
33
},
34
34
"require-dev" : {
35
35
"laravel/legacy-factories" : " ^v1.3.0" ,
36
36
"ergebnis/composer-normalize" : " ^2.8" ,
37
37
"friendsofphp/php-cs-fixer" : " ^3.0" ,
38
38
"mockery/mockery" : " ^1.0" ,
39
- "orchestra/database" : " ~3.8 || ~4.0 || ~5.0 || ~6.0 || ~7.0" ,
40
- "orchestra/testbench" : " ~3.8 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0" ,
39
+ "orchestra/database" : " ~3.8 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0 || ~9.0 " ,
40
+ "orchestra/testbench" : " ~3.8 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0 || ~9.0 " ,
41
41
"phpstan/phpstan" : " ^0.12" ,
42
- "phpunit/phpunit" : " ~8.0 || ^9.0 || ^10.0"
42
+ "phpunit/phpunit" : " ~8.0 || ^9.0 || ^10.0 || ^11.0 "
43
43
},
44
44
"config" : {
45
45
"sort-packages" : true ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ private function currentScopes(ShopModel $shop): array
59
59
$ response = Cache::remember (
60
60
$ this ->cacheKey ($ shop ->getDomain ()->toNative ()),
61
61
now ()->addDay (),
62
- fn () => $ shop ->api ()->graph ('{
62
+ fn () => $ shop ->api ()->graph ('{
63
63
currentAppInstallation {
64
64
accessScopes {
65
65
handle
@@ -78,7 +78,7 @@ private function currentScopes(ShopModel $shop): array
78
78
];
79
79
}
80
80
81
- Log::error ('Fetch current app installation access scopes error: ' . json_encode (data_get ($ response ['body ' ]->toArray (), 'data.currentAppInstallation.userErrors ' )));
81
+ Log::error ('Fetch current app installation access scopes error: ' . json_encode (data_get ($ response ['body ' ]->toArray (), 'data.currentAppInstallation.userErrors ' )));
82
82
83
83
return [
84
84
'hasErrors ' => true ,
Original file line number Diff line number Diff line change 15
15
16
16
Route::group ([
17
17
'domain ' => Util::getShopifyConfig ('domain ' ),
18
- 'middleware ' => ['api ' ]
18
+ 'middleware ' => ['api ' ],
19
19
], function () use ($ manualRoutes ) {
20
20
/*
21
21
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change 25
25
26
26
Route::group ([
27
27
'domain ' => Util::getShopifyConfig ('domain ' ),
28
- 'prefix ' => Util::getShopifyConfig ('prefix ' ),
29
- 'middleware ' => ['web ' ]
28
+ 'prefix ' => Util::getShopifyConfig ('prefix ' ),
29
+ 'middleware ' => ['web ' ],
30
30
], function () use ($ manualRoutes ) {
31
31
/*
32
32
|--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments