File tree 4 files changed +17
-18
lines changed
4 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 3
3
- push
4
4
5
5
name : backwards compatibility
6
+
6
7
jobs :
7
8
roave_bc_check :
8
- name : Roave BC Check
9
- runs-on : ubuntu-latest
10
- steps :
11
- - uses : actions/checkout@master
12
- - name : fetch tags
13
- run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14
- - name : Roave BC Check
15
- uses : docker://nyholm/roave-bc-check-ga
9
+ uses : yiisoft/actions/.github/workflows/bc.yml@master
10
+ with :
11
+ os : >-
12
+ ['ubuntu-latest']
13
+ php : >-
14
+ ['8.0']
Original file line number Diff line number Diff line change 1
1
preset : psr12
2
2
risky : true
3
3
4
- version : 8
4
+ version : 8.1
5
5
6
6
finder :
7
7
exclude :
8
8
- docs
9
9
- vendor
10
- - resources
11
- - views
12
- - public
13
- - templates
14
- not-name :
15
- - UnionCar.php
16
- - TimerUnionTypes.php
17
- - schema1.php
18
10
19
11
enabled :
20
12
- alpha_ordered_traits
@@ -64,7 +56,6 @@ enabled:
64
56
- phpdoc_order
65
57
- phpdoc_property
66
58
- phpdoc_scalar
67
- - phpdoc_separation
68
59
- phpdoc_singular_inheritdoc
69
60
- phpdoc_trim
70
61
- phpdoc_trim_consecutive_blank_line_separation
@@ -86,3 +77,9 @@ enabled:
86
77
- trailing_comma_in_multiline_array
87
78
- unalign_double_arrow
88
79
- unalign_equals
80
+ - empty_loop_body_braces
81
+ - integer_literal_case
82
+ - union_type_without_spaces
83
+
84
+ disabled :
85
+ - function_declaration
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<psalm
3
3
errorLevel =" 1"
4
+ findUnusedBaselineEntry =" true"
5
+ findUnusedCode =" false"
4
6
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
7
xmlns =" https://getpsalm.org/schema/config"
6
8
xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ private function wrapCallable(array|callable $callable): MiddlewareInterface
142
142
private function createCallableWrapper (callable $ callback ): MiddlewareInterface
143
143
{
144
144
return new class ($ callback , $ this ->container , $ this ->parametersResolver ) implements MiddlewareInterface {
145
+ /** @var callable */
145
146
private $ callback ;
146
147
/** @var ReflectionParameter[] */
147
148
private array $ callableParameters ;
You can’t perform that action at this time.
0 commit comments