Skip to content

Commit 23897e6

Browse files
committed
wtf git
1 parent 500b362 commit 23897e6

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
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: 2 additions & 2 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

@@ -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 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)