Skip to content

Commit e5ed49e

Browse files
Fix static analysis (#15)
1 parent 36e56d9 commit e5ed49e

File tree

5 files changed

+2
-105
lines changed

5 files changed

+2
-105
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/.editorconfig export-ignore
99
/.gitattributes export-ignore
1010
/.gitignore export-ignore
11-
/.php_cs.dist export-ignore
1211
/Makefile export-ignore
1312
/phpstan.neon.dist export-ignore
1413
/phpunit.xml.dist export-ignore

.github/workflows/static.yml

-13
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,3 @@ jobs:
2121
REQUIRE_DEV: true
2222
with:
2323
args: analyze --no-progress
24-
25-
php-cs-fixer:
26-
name: PHP-CS-Fixer
27-
runs-on: ubuntu-latest
28-
29-
steps:
30-
- name: Checkout code
31-
uses: actions/checkout@v2
32-
33-
- name: PHP-CS-Fixer
34-
uses: OskarStark/[email protected]
35-
with:
36-
args: --dry-run --diff-format udiff

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@ vendor
44
phpstan.neon
55
phpunit.xml
66
.phpunit.result.cache
7-
8-
.php_cs
9-
.php_cs.cache

.php_cs.dist

-87
This file was deleted.

src/UriTemplate.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ private static function expandMatch(array $matches, array $variables): string
169169
}
170170
}
171171

172-
/** @var string */
172+
/** @var string $var */
173+
173174
$kvp[$key] = $var;
174175
}
175176

0 commit comments

Comments
 (0)