File tree Expand file tree Collapse file tree 19 files changed +81
-76
lines changed
roadrunner-symfony-nyholm Expand file tree Collapse file tree 19 files changed +81
-76
lines changed Original file line number Diff line number Diff line change 22
22
- name : Setup PHP
23
23
uses : shivammathur/setup-php@v2
24
24
with :
25
- php-version : 8.0
25
+ php-version : 7.4
26
26
coverage : none
27
- tools : phpstan:0.12.88 , cs2pr
27
+ tools : phpstan:1.4.6 , cs2pr
28
28
29
29
- name : Download dependencies
30
30
uses : ramsey/composer-install@v1
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " runtime/runtime" ,
3
- "type" : " library" ,
4
3
"description" : " Includes all runtimes" ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
32
32
"illuminate/http" : " ^8.33" ,
33
33
"swoole/ide-helper" : " ^4.8"
34
34
},
35
+ "minimum-stability" : " dev" ,
36
+ "prefer-stable" : true ,
35
37
"autoload" : {
36
38
"psr-4" : {
37
39
"Runtime\\ Bref\\ " : " src/bref/src" ,
53
55
"psr-4" : {
54
56
"Swoole\\ " : " vendor/swoole/ide-helper/src/swoole/Swoole"
55
57
}
56
- },
57
- "minimum-stability" : " dev" ,
58
- "prefer-stable" : true
58
+ }
59
59
}
Original file line number Diff line number Diff line change
1
+ parameters :
2
+ ignoreErrors :
3
+ -
4
+ message : " #^While loop condition is always true\\ .$#"
5
+ count : 1
6
+ path : src/bref/src/ConsoleApplicationRunner.php
7
+
8
+ -
9
+ message : " #CurlHandle#"
10
+ count : 2
11
+ path : src/bref/src/Lambda/LambdaClient.php
Original file line number Diff line number Diff line change
1
+ includes:
2
+ - ./phpstan-baseline.neon
3
+
1
4
parameters:
2
5
level: 5
3
6
reportUnmatchedIgnoredErrors: false
4
7
paths:
5
8
- src
6
9
tmpDir: .github/.cache/phpstan/
7
10
8
- excludes_analyse :
11
+ excludePaths :
9
12
- src/*/tests/*
10
13
- src/*/vendor/*
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <files psalm-version =" 4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69 " >
2
+ <files psalm-version =" 4.20.0@f82a70e7edfc6cf2705e9374c8a0b6a974a779ed " >
3
3
<file src =" src/bref/src/BrefRunner.php" >
4
- <InternalClass occurrences =" 1" >
5
- <code >LambdaRuntime::fromEnvironmentVariable('symfony-runtime')</code >
6
- </InternalClass >
7
- <InternalMethod occurrences =" 2" >
8
- <code >LambdaRuntime::fromEnvironmentVariable('symfony-runtime')</code >
9
- <code >processNextEvent</code >
10
- </InternalMethod >
11
4
<InvalidReturnType occurrences =" 1" >
12
5
<code >int</code >
13
6
</InvalidReturnType >
14
7
</file >
15
8
<file src =" src/bref/src/ConsoleApplicationRunner.php" >
16
- <InternalClass occurrences =" 1" >
17
- <code >LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console')</code >
18
- </InternalClass >
19
- <InternalMethod occurrences =" 2" >
20
- <code >LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console')</code >
21
- <code >processNextEvent</code >
22
- </InternalMethod >
23
9
<InvalidReturnType occurrences =" 1" >
24
10
<code >int</code >
25
11
</InvalidReturnType >
26
12
</file >
13
+ <file src =" src/bref/src/SymfonyRequestBridge.php" >
14
+ <InvalidArgument occurrences =" 1" >
15
+ <code >$response-> headers-> all()</code >
16
+ </InvalidArgument >
17
+ </file >
27
18
<file src =" src/psr-laminas/src/Runtime.php" >
28
19
<InvalidArgument occurrences =" 2" >
29
20
<code >['emitter' => $this-> options['laminas_emitter'] ?? null]</code >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " runtime/bref" ,
3
- "type" : " library" ,
4
3
"description" : " Bref runtime" ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
25
25
"symfony/http-kernel" : " ^5.4 || ^6.0" ,
26
26
"symfony/phpunit-bridge" : " ^5.3"
27
27
},
28
+ "minimum-stability" : " dev" ,
29
+ "prefer-stable" : true ,
28
30
"autoload" : {
29
31
"psr-4" : {
30
32
"Runtime\\ Bref\\ " : " src/"
38
40
"Runtime\\ Bref\\ Tests\\ " : " tests/"
39
41
}
40
42
},
41
- "minimum-stability" : " dev" ,
42
- "prefer-stable" : true ,
43
43
"bin" : [
44
44
" bin/bref-local-handler.php"
45
45
]
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " runtime/google-cloud" ,
3
- "type" : " library" ,
4
3
"description" : " Google Cloud runtime" ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
17
17
"require-dev" : {
18
18
"symfony/phpunit-bridge" : " ^5.3"
19
19
},
20
+ "minimum-stability" : " dev" ,
21
+ "prefer-stable" : true ,
20
22
"autoload" : {
21
23
"psr-4" : {
22
24
"Runtime\\ GoogleCloud\\ " : " src/" ,
30
32
"Google\\ CloudFunctions\\ Tests\\ " : " tests/google/"
31
33
}
32
34
},
33
- "minimum-stability" : " dev" ,
34
- "prefer-stable" : true ,
35
35
"bin" : [
36
36
" router.php"
37
37
]
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " runtime/laravel" ,
3
- "type" : " library" ,
4
3
"description" : " Laravel runtime" ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
18
18
"symfony/console" : " ^4.4 || ^5.2 || ^6.0" ,
19
19
"symfony/phpunit-bridge" : " ^5.3"
20
20
},
21
+ "minimum-stability" : " dev" ,
22
+ "prefer-stable" : true ,
21
23
"autoload" : {
22
24
"psr-4" : {
23
25
"Runtime\\ Laravel\\ " : " src/" ,
28
30
"psr-4" : {
29
31
"Runtime\\ Laravel\\ Tests\\ " : " tests/"
30
32
}
31
- },
32
- "minimum-stability" : " dev" ,
33
- "prefer-stable" : true
33
+ }
34
34
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " runtime/psr-17" ,
3
- "type" : " library" ,
4
3
"description" : " PSR runtime with support for any PSR-17 implementation" ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
19
19
"nyholm/psr7" : " ^1.4" ,
20
20
"symfony/phpunit-bridge" : " ^5.3"
21
21
},
22
+ "minimum-stability" : " dev" ,
23
+ "prefer-stable" : true ,
22
24
"autoload" : {
23
25
"psr-4" : {
24
26
"Runtime\\ Psr17\\ " : " src/" ,
29
31
"psr-4" : {
30
32
"Runtime\\ Psr17\\ Tests\\ " : " tests/"
31
33
}
32
- },
33
- "minimum-stability" : " dev" ,
34
- "prefer-stable" : true
34
+ }
35
35
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " runtime/psr-guzzle" ,
3
- "type" : " library" ,
4
3
"description" : " PSR runtime with guzzlehttp/psr7 " ,
5
4
"license" : " MIT" ,
5
+ "type" : " library" ,
6
6
"authors" : [
7
7
{
8
8
"name" : " Tobias Nyholm" ,
17
17
"require-dev" : {
18
18
"symfony/phpunit-bridge" : " ^5.3"
19
19
},
20
+ "minimum-stability" : " dev" ,
21
+ "prefer-stable" : true ,
20
22
"autoload" : {
21
23
"psr-4" : {
22
24
"Runtime\\ PsrGuzzle\\ " : " src/" ,
27
29
"psr-4" : {
28
30
"Runtime\\ PsrGuzzle\\ Tests\\ " : " tests/"
29
31
}
30
- },
31
- "minimum-stability" : " dev" ,
32
- "prefer-stable" : true
32
+ }
33
33
}
You can’t perform that action at this time.
0 commit comments