Skip to content

Commit

Permalink
[automated] Apply Coding Standard (#5632)
Browse files Browse the repository at this point in the history
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
  • Loading branch information
TomasVotruba and TomasVotruba committed Feb 18, 2024
1 parent 6740d94 commit 85aba8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Expand Up @@ -38,7 +38,9 @@ public function decorate(Attribute $attribute): void
continue;
}

$arg->value = $value->value === 'true' ? new ConstFetch(new Name('true')) : new ConstFetch(new Name('false'));
$arg->value = $value->value === 'true' ? new ConstFetch(new Name('true')) : new ConstFetch(new Name(
'false'
));
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/RectorConfigBuilder.php
Expand Up @@ -274,7 +274,7 @@ public function withSkip(array $skip): self

public function withSkipPath(string $skipPath): self
{
if (!str_contains($skipPath, '*')) {
if (! str_contains($skipPath, '*')) {
Assert::fileExists($skipPath);
}

Expand Down
6 changes: 5 additions & 1 deletion src/DependencyInjection/LazyContainerFactory.php
Expand Up @@ -522,7 +522,11 @@ static function (
->needs('$converterAttributeDecorators')
->giveTagged(ConverterAttributeDecoratorInterface::class);

$this->registerTagged($rectorConfig, self::CONVERTER_ATTRIBUTE_DECORATOR_CLASSES, ConverterAttributeDecoratorInterface::class);
$this->registerTagged(
$rectorConfig,
self::CONVERTER_ATTRIBUTE_DECORATOR_CLASSES,
ConverterAttributeDecoratorInterface::class
);

$rectorConfig->afterResolving(
AbstractRector::class,
Expand Down

0 comments on commit 85aba8e

Please sign in to comment.