Skip to content

Commit b14e17d

Browse files
authored
Replace PHP_CodeSniffer with EasyCodingStandard (#80)
* Replace PHP_CodeSniffer with EasyCodingStandard * Apply CodeStyle from ECS * Add ECS comments set * Add ECS namespaces set * Add ECS dockblock set * Add ECS array set * Fixed multiple blank lines between methods
1 parent 3835b0d commit b14e17d

File tree

5 files changed

+1
-11
lines changed

5 files changed

+1
-11
lines changed

src/ContainerParameterAccessor.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ public function __construct(
2121
) {
2222
}
2323

24-
/**
25-
* @inheritdoc
26-
*/
2724
public function get(JobExecution $execution): mixed
2825
{
2926
try {

src/DependencyInjection/CompilerPass/RegisterJobsCompilerPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
*/
1919
final class RegisterJobsCompilerPass implements CompilerPassInterface
2020
{
21-
/**
22-
* @inheritdoc
23-
*/
2421
public function process(ContainerBuilder $container): void
2522
{
2623
$jobs = [];

src/DependencyInjection/Configuration.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414
final class Configuration implements ConfigurationInterface
1515
{
16-
/**
17-
* @inheritdoc
18-
*/
1916
public function getConfigTreeBuilder(): TreeBuilder
2017
{
2118
/** @var ArrayNodeDefinition $root */

src/DependencyInjection/YokaiBatchExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
final class YokaiBatchExtension extends Extension
2727
{
2828
/**
29-
* @inheritDoc
3029
* @phpstan-param list<array<string, mixed>> $configs
3130
*/
3231
public function load(array $configs, ContainerBuilder $container): void

tests/ContainerParameterAccessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace Yokai\Batch\Tests\Bridge\Symfony\Framework;
66

7+
use PHPUnit\Framework\TestCase;
78
use Symfony\Component\DependencyInjection\Container;
89
use Yokai\Batch\Bridge\Symfony\Framework\ContainerParameterAccessor;
9-
use PHPUnit\Framework\TestCase;
1010
use Yokai\Batch\Exception\CannotAccessParameterException;
1111
use Yokai\Batch\JobExecution;
1212

0 commit comments

Comments
 (0)