Skip to content

Commit

Permalink
chore: adding parallelization to PHP CS Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavs-gutmanis committed Nov 5, 2024
1 parent f1527d1 commit 6568d9c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
;

return (new PhpCsFixer\Config())
->setParallelConfig(\PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
Expand Down
28 changes: 14 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/plugin/src/Services/DiagnosticsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public function getFreeformConfigurations(): array
'Form Submission Throttling: <b>{% if value.count != 0 %}{{ value.count }} per {{ value.interval == "m" ? "minute" : "second" }}{% else %}Unlimited{% endif %}</b>',
[
'count' => $this->getSummary()->statistics->spam->submissionThrottlingCount,
'interval' => $this->getSummary()->statistics->spam->submissionThrottlingTimeFrame
'interval' => $this->getSummary()->statistics->spam->submissionThrottlingTimeFrame,
],
),
],
Expand Down

0 comments on commit 6568d9c

Please sign in to comment.