File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
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:
1111 path : src/Authentication/Header.php
1212
1313 -
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.# "
1515 count : 1
1616 path : src/Authentication/Matching.php
1717
@@ -51,7 +51,7 @@ parameters:
5151 path : src/Cookie.php
5252
5353 -
54- message : " #^Parameter \\ #1 \\ $string of function preg_quote expects string, string\\ |null given\\ .$#"
54+ message : " #^Parameter \\ #1 \\ $str of function preg_quote expects string, string\\ |null given\\ .$#"
5555 count : 1
5656 path : src/Cookie.php
5757
@@ -76,7 +76,7 @@ parameters:
7676 path : src/Cookie.php
7777
7878 -
79- message : " #^Parameter \\ #1 \\ $str of function rtrim expects string, string\\ |null given\\ .$#"
79+ message : " #^Parameter \\ #1 \\ $string of function rtrim expects string, string\\ |null given\\ .$#"
8080 count : 1
8181 path : src/Cookie.php
8282
@@ -206,7 +206,7 @@ parameters:
206206 path : src/MessageFactory/SlimMessageFactory.php
207207
208208 -
209- message : " #The RequestMatcher\\\\ RegexRequestMatcher class is deprecated since version 1.2 and will be removed in 2.0."
209+ message : " #The Http \\\\ Message \\\\ RequestMatcher\\\\ RegexRequestMatcher class is deprecated since version 1.2 and will be removed in 2.0.# "
210210 count : 1
211211 path : src/RequestMatcher/RegexRequestMatcher.php
212212
You can’t perform that action at this time.
0 commit comments