This commit is contained in:
Ener-Getick 2016-07-30 20:04:03 +02:00
parent c37d615071
commit 6ff6f2b345
No known key found for this signature in database
GPG Key ID: 9E5D2DB67BF054DD
3 changed files with 10 additions and 2 deletions

View File

@ -21,7 +21,7 @@ HeaderCommentFixer::setHeader($header);
return Config::create()
->level(FixerInterface::SYMFONY_LEVEL)
->fixers(array('header_comment'))
->fixers(['header_comment', 'short_array_syntax'])
->finder($finder)
->setUsingCache(true)
;

9
.styleci.yml Normal file
View File

@ -0,0 +1,9 @@
preset: symfony
enabled:
- newline_after_open_tag
- ordered_use
- short_array_syntax
disabled:
- unalign_equals

View File

@ -22,7 +22,6 @@ class ApiPlatformDescriber extends ExternalDocDescriber
public function __construct(Documentation $documentation, DocumentationNormalizer $normalizer, bool $overwrite = false)
{
parent::__construct(function () use ($documentation, $normalizer) {
var_dump($normalizer->normalize($documentation));
return $normalizer->normalize($documentation);
}, $overwrite);
}