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 2222 - name : Setup PHP
2323 uses : shivammathur/setup-php@v2
2424 with :
25- php-version : 8.0
25+ php-version : 7.4
2626 coverage : none
27- tools : phpstan:0.12.88 , cs2pr
27+ tools : phpstan:1.4.6 , cs2pr
2828
2929 - name : Download dependencies
3030 uses : ramsey/composer-install@v1
Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/runtime" ,
3- "type" : " library" ,
43 "description" : " Includes all runtimes" ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
3232 "illuminate/http" : " ^8.33" ,
3333 "swoole/ide-helper" : " ^4.8"
3434 },
35+ "minimum-stability" : " dev" ,
36+ "prefer-stable" : true ,
3537 "autoload" : {
3638 "psr-4" : {
3739 "Runtime\\ Bref\\ " : " src/bref/src" ,
5355 "psr-4" : {
5456 "Swoole\\ " : " vendor/swoole/ide-helper/src/swoole/Swoole"
5557 }
56- },
57- "minimum-stability" : " dev" ,
58- "prefer-stable" : true
58+ }
5959}
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+
14parameters:
25 level: 5
36 reportUnmatchedIgnoredErrors: false
47 paths:
58 - src
69 tmpDir: .github/.cache/phpstan/
710
8- excludes_analyse :
11+ excludePaths :
912 - src/*/tests/*
1013 - src/*/vendor/*
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <files psalm-version =" 4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69 " >
2+ <files psalm-version =" 4.20.0@f82a70e7edfc6cf2705e9374c8a0b6a974a779ed " >
33 <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 >
114 <InvalidReturnType occurrences =" 1" >
125 <code >int</code >
136 </InvalidReturnType >
147 </file >
158 <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 >
239 <InvalidReturnType occurrences =" 1" >
2410 <code >int</code >
2511 </InvalidReturnType >
2612 </file >
13+ <file src =" src/bref/src/SymfonyRequestBridge.php" >
14+ <InvalidArgument occurrences =" 1" >
15+ <code >$response-> headers-> all()</code >
16+ </InvalidArgument >
17+ </file >
2718 <file src =" src/psr-laminas/src/Runtime.php" >
2819 <InvalidArgument occurrences =" 2" >
2920 <code >['emitter' => $this-> options['laminas_emitter'] ?? null]</code >
Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/bref" ,
3- "type" : " library" ,
43 "description" : " Bref runtime" ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
2525 "symfony/http-kernel" : " ^5.4 || ^6.0" ,
2626 "symfony/phpunit-bridge" : " ^5.3"
2727 },
28+ "minimum-stability" : " dev" ,
29+ "prefer-stable" : true ,
2830 "autoload" : {
2931 "psr-4" : {
3032 "Runtime\\ Bref\\ " : " src/"
3840 "Runtime\\ Bref\\ Tests\\ " : " tests/"
3941 }
4042 },
41- "minimum-stability" : " dev" ,
42- "prefer-stable" : true ,
4343 "bin" : [
4444 " bin/bref-local-handler.php"
4545 ]
Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/google-cloud" ,
3- "type" : " library" ,
43 "description" : " Google Cloud runtime" ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
1717 "require-dev" : {
1818 "symfony/phpunit-bridge" : " ^5.3"
1919 },
20+ "minimum-stability" : " dev" ,
21+ "prefer-stable" : true ,
2022 "autoload" : {
2123 "psr-4" : {
2224 "Runtime\\ GoogleCloud\\ " : " src/" ,
3032 "Google\\ CloudFunctions\\ Tests\\ " : " tests/google/"
3133 }
3234 },
33- "minimum-stability" : " dev" ,
34- "prefer-stable" : true ,
3535 "bin" : [
3636 " router.php"
3737 ]
Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/laravel" ,
3- "type" : " library" ,
43 "description" : " Laravel runtime" ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
1818 "symfony/console" : " ^4.4 || ^5.2 || ^6.0" ,
1919 "symfony/phpunit-bridge" : " ^5.3"
2020 },
21+ "minimum-stability" : " dev" ,
22+ "prefer-stable" : true ,
2123 "autoload" : {
2224 "psr-4" : {
2325 "Runtime\\ Laravel\\ " : " src/" ,
2830 "psr-4" : {
2931 "Runtime\\ Laravel\\ Tests\\ " : " tests/"
3032 }
31- },
32- "minimum-stability" : " dev" ,
33- "prefer-stable" : true
33+ }
3434}
Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/psr-17" ,
3- "type" : " library" ,
43 "description" : " PSR runtime with support for any PSR-17 implementation" ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
1919 "nyholm/psr7" : " ^1.4" ,
2020 "symfony/phpunit-bridge" : " ^5.3"
2121 },
22+ "minimum-stability" : " dev" ,
23+ "prefer-stable" : true ,
2224 "autoload" : {
2325 "psr-4" : {
2426 "Runtime\\ Psr17\\ " : " src/" ,
2931 "psr-4" : {
3032 "Runtime\\ Psr17\\ Tests\\ " : " tests/"
3133 }
32- },
33- "minimum-stability" : " dev" ,
34- "prefer-stable" : true
34+ }
3535}
Original file line number Diff line number Diff line change 11{
22 "name" : " runtime/psr-guzzle" ,
3- "type" : " library" ,
43 "description" : " PSR runtime with guzzlehttp/psr7 " ,
54 "license" : " MIT" ,
5+ "type" : " library" ,
66 "authors" : [
77 {
88 "name" : " Tobias Nyholm" ,
1717 "require-dev" : {
1818 "symfony/phpunit-bridge" : " ^5.3"
1919 },
20+ "minimum-stability" : " dev" ,
21+ "prefer-stable" : true ,
2022 "autoload" : {
2123 "psr-4" : {
2224 "Runtime\\ PsrGuzzle\\ " : " src/" ,
2729 "psr-4" : {
2830 "Runtime\\ PsrGuzzle\\ Tests\\ " : " tests/"
2931 }
30- },
31- "minimum-stability" : " dev" ,
32- "prefer-stable" : true
32+ }
3333}
You can’t perform that action at this time.
0 commit comments