Skip to content

Commit

Permalink
Fix: Run 'make coding-standards'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Feb 9, 2023
1 parent b6b5965 commit ceb1d4b
Show file tree
Hide file tree
Showing 32 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Collector/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Collector/DefaultCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Comparator/DurationComparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidMaximumCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidMaximumDuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/DurationFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/ToMillisecondsDurationFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/MaximumCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/MaximumDuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
6 changes: 3 additions & 3 deletions src/Reporter/DefaultReporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down Expand Up @@ -107,8 +107,8 @@ static function (Event\Telemetry\Duration $maximumDuration, SlowTest $slowTest):

$durationFormatter = $this->durationFormatter;

$durationWidth = \strlen($durationFormatter->format($slowestTest->duration()));
$maximumDurationWidth = \strlen($durationFormatter->format($longestMaximumDuration));
$durationWidth = \mb_strlen($durationFormatter->format($slowestTest->duration()));
$maximumDurationWidth = \mb_strlen($durationFormatter->format($longestMaximumDuration));

$items = \array_map(static function (SlowTest $slowTest) use ($durationFormatter, $durationWidth, $maximumDurationWidth): string {
$formattedDuration = \str_pad(
Expand Down
2 changes: 1 addition & 1 deletion src/Reporter/Reporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/SlowTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Subscriber/TestPassedSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Subscriber/TestPreparedSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Subscriber/TestRunnerExecutionFinishedSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/TimeKeeper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Double/Collector/AppendingCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Double/Reporter/CountingReporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Double/Reporter/NullReporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/Sleeper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/SleeperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/Comparator/DurationComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/Console/ColorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/Exception/InvalidMaximumCountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/Exception/InvalidMaximumDurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/MaximumCountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/MaximumDurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Util/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2021-2023 Andreas Möller.
* Copyright (c) 2021-2023 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
Expand Down

0 comments on commit ceb1d4b

Please sign in to comment.