File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ config = PhpCsFixer \Config::create ()
4
+ ->setRiskyAllowed (true )
5
+ ->setRules ([
6
+ '@Symfony ' => true ,
7
+ 'array_syntax ' => ['syntax ' => 'short ' ],
8
+ 'single_line_throw ' => false ,
9
+ ])
10
+ ->setFinder (
11
+ PhpCsFixer \Finder::create ()
12
+ ->in (__DIR__ .'/src ' )
13
+ ->name ('*.php ' )
14
+ )
15
+ ;
16
+
17
+ return $ config ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ parameters:
11
11
path : src/Authentication/Header.php
12
12
13
13
-
14
- message : " #The Http\\\\ Message\\\\ Authentication\\\\ Matching class is deprecated since version 1.2 and will be removed in 2.0."
14
+ message : " #The Http\\\\ Message\\\\ Authentication\\\\ Matching class is deprecated since version 1.2 and will be removed in 2.0.# "
15
15
count : 1
16
16
path : src/Authentication/Matching.php
17
17
@@ -206,7 +206,7 @@ parameters:
206
206
path : src/MessageFactory/SlimMessageFactory.php
207
207
208
208
-
209
- message : " #The RequestMatcher\\\\ RegexRequestMatcher class is deprecated since version 1.2 and will be removed in 2.0."
209
+ message : " #The RequestMatcher\\\\ RegexRequestMatcher class is deprecated since version 1.2 and will be removed in 2.0.# "
210
210
count : 1
211
211
path : src/RequestMatcher/RegexRequestMatcher.php
212
212
You can’t perform that action at this time.
0 commit comments