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 30
30
"source" : " https://github.com/Kyon147/laravel-shopify"
31
31
},
32
32
"require" : {
33
- "php" : " ^ 8.1" ,
33
+ "php" : " >= 8.1" ,
34
34
"ext-json" : " *" ,
35
35
"funeralzone/valueobjects" : " ^0.5" ,
36
36
"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 1
1
includes :
2
- - phpstan-baseline .neon
2
+ - ignore-by-php-version .neon.php
3
3
4
4
parameters :
5
5
level : 1
Original file line number Diff line number Diff line change 7
7
use Illuminate \Auth \Middleware \Authorize ;
8
8
use Illuminate \Routing \Middleware \SubstituteBindings ;
9
9
use Illuminate \Routing \Middleware \ThrottleRequests ;
10
- use Orchestra \Testbench \Http \Middleware \RedirectIfAuthenticated ;
11
10
use Osiset \ShopifyApp \Http \Middleware \AuthProxy ;
12
11
use Osiset \ShopifyApp \Http \Middleware \AuthWebhook ;
13
12
use Osiset \ShopifyApp \Http \Middleware \Billable ;
@@ -27,7 +26,6 @@ class Kernel extends \Orchestra\Testbench\Foundation\Http\Kernel
27
26
'auth.basic ' => AuthenticateWithBasicAuth::class,
28
27
'bindings ' => SubstituteBindings::class,
29
28
'can ' => Authorize::class,
30
- 'guest ' => RedirectIfAuthenticated::class,
31
29
'throttle ' => ThrottleRequests::class,
32
30
33
31
// Added for testing
You can’t perform that action at this time.
0 commit comments