File tree Expand file tree Collapse file tree 7 files changed +72
-4
lines changed Expand file tree Collapse file tree 7 files changed +72
-4
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 3030 "source" : " https://github.com/Kyon147/laravel-shopify"
3131 },
3232 "require" : {
33- "php" : " ^ 8.1" ,
33+ "php" : " >= 8.1" ,
3434 "ext-json" : " *" ,
3535 "funeralzone/valueobjects" : " ^0.5" ,
3636 "gnikyt/basic-shopify-api" : " ^11.0" ,
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ use PHPStan \DependencyInjection \NeonAdapter ;
6+
7+ $ adapter = new NeonAdapter ();
8+
9+ $ config = [];
10+
11+
12+ if (PHP_VERSION_ID >= 80408 ) {
13+ $ config = array_merge_recursive ($ config , $ adapter ->load (__DIR__ .'/phpstan-baseline-84.neon ' ));
14+ }
15+
16+ if (PHP_VERSION_ID < 80408 ) {
17+ $ config = array_merge_recursive ($ config , $ adapter ->load (__DIR__ .'/phpstan-baseline-81.neon ' ));
18+ }
19+
20+ return $ config ;
File renamed without changes.
Original file line number Diff line number Diff line change 1+ parameters :
2+ ignoreErrors :
3+ -
4+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#1 \$session \(Gnikyt\\BasicShopifyAPI\\Session\) is implicitly nullable via default value null\.$#'
5+ identifier : parameter.implicitlyNullable
6+ count : 1
7+ path : src/Contracts/ApiHelper.php
8+
9+ -
10+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#1 \$session \(Gnikyt\\BasicShopifyAPI\\Session\) is implicitly nullable via default value null\.$#'
11+ identifier : parameter.implicitlyNullable
12+ count : 2
13+ path : src/Services/ApiHelper.php
14+
15+ -
16+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#3 \$payload \(array\) is implicitly nullable via default value null\.$#'
17+ identifier : parameter.implicitlyNullable
18+ count : 1
19+ path : src/Services/ApiHelper.php
20+
21+ -
22+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#2 \$delimiter \(string\) is implicitly nullable via default value null\.$#'
23+ identifier : parameter.implicitlyNullable
24+ count : 1
25+ path : src/Util.php
26+
27+ -
28+ message : ' #^Variable \$queryString on left side of \?\? always exists and is not nullable\.$#'
29+ identifier : nullCoalesce.variable
30+ count : 1
31+ path : src/Util.php
32+
33+ -
34+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#3 \$params \(array\) is implicitly nullable via default value null\.$#'
35+ identifier : parameter.implicitlyNullable
36+ count : 1
37+ path : tests/Stubs/Api.php
38+
39+ -
40+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#2 \$requestInstance \(Illuminate\\Http\\Request\) is implicitly nullable via default value null\.$#'
41+ identifier : parameter.implicitlyNullable
42+ count : 1
43+ path : tests/TestCase.php
44+
45+ -
46+ message : ' #^Deprecated in PHP 8\.4\: Parameter \#3 \$cb \(Closure\) is implicitly nullable via default value null\.$#'
47+ identifier : parameter.implicitlyNullable
48+ count : 1
49+ path : tests/TestCase.php
Original file line number Diff line number Diff line change 11includes :
2- - phpstan-baseline .neon
2+ - ignore-by-php-version .neon.php
33
44parameters :
55 level : 1
Original file line number Diff line number Diff line change 77use Illuminate \Auth \Middleware \Authorize ;
88use Illuminate \Routing \Middleware \SubstituteBindings ;
99use Illuminate \Routing \Middleware \ThrottleRequests ;
10- use Orchestra \Testbench \Http \Middleware \RedirectIfAuthenticated ;
1110use Osiset \ShopifyApp \Http \Middleware \AuthProxy ;
1211use Osiset \ShopifyApp \Http \Middleware \AuthWebhook ;
1312use Osiset \ShopifyApp \Http \Middleware \Billable ;
@@ -27,7 +26,6 @@ class Kernel extends \Orchestra\Testbench\Foundation\Http\Kernel
2726 'auth.basic ' => AuthenticateWithBasicAuth::class,
2827 'bindings ' => SubstituteBindings::class,
2928 'can ' => Authorize::class,
30- 'guest ' => RedirectIfAuthenticated::class,
3129 'throttle ' => ThrottleRequests::class,
3230
3331 // Added for testing
You can’t perform that action at this time.
0 commit comments