Skip to content

Commit

Permalink
infra: tweak PHP-CS-Fixer, add PHPStan config
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalibor Karlović committed Oct 18, 2017
1 parent 68b72b7 commit 8e45271
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ return PhpCsFixer\Config::create()
'@Symfony:risky' => true,
'@PHP70Migration' => true,
'@PHP71Migration' => true,
'array_syntax' => array('syntax' => 'short'),
'array_syntax' => ['syntax' => 'short'],
'combine_consecutive_unsets' => true,
'declare_strict_types' => true,
'header_comment' => ['header' => $header],
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
parameters:
autoload_files:
- vendor/autoload.php
excludes_analyse:
- vendor/

0 comments on commit 8e45271

Please sign in to comment.