Skip to content

Commit

Permalink
Fix static analysis (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Aug 14, 2021
1 parent 36e56d9 commit e5ed49e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 105 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs.dist export-ignore
/Makefile export-ignore
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
13 changes: 0 additions & 13 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,3 @@ jobs:
REQUIRE_DEV: true
with:
args: analyze --no-progress

php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: PHP-CS-Fixer
uses: OskarStark/php-cs-fixer-ga@2.16.4
with:
args: --dry-run --diff-format udiff
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ vendor
phpstan.neon
phpunit.xml
.phpunit.result.cache

.php_cs
.php_cs.cache
87 changes: 0 additions & 87 deletions .php_cs.dist

This file was deleted.

3 changes: 2 additions & 1 deletion src/UriTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ private static function expandMatch(array $matches, array $variables): string
}
}

/** @var string */
/** @var string $var */

$kvp[$key] = $var;
}

Expand Down

0 comments on commit e5ed49e

Please sign in to comment.