Skip to content

Commit 5a23dd3

Browse files
committed
wtf git
1 parent 500b362 commit 5a23dd3

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

php-cs-fixer.dist.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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;

phpstan-baseline.neon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)