mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fix CS
This commit is contained in:
parent
c37d615071
commit
6ff6f2b345
2
.php_cs
2
.php_cs
@ -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
9
.styleci.yml
Normal file
@ -0,0 +1,9 @@
|
||||
preset: symfony
|
||||
|
||||
enabled:
|
||||
- newline_after_open_tag
|
||||
- ordered_use
|
||||
- short_array_syntax
|
||||
|
||||
disabled:
|
||||
- unalign_equals
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user