Skip to content

Commit 0f8c4c9

Browse files
committed
cs-fix test mode configuration
1 parent 1bfe658 commit 0f8c4c9

7 files changed

Lines changed: 10 additions & 9 deletions

File tree

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<?php
22

33
declare(strict_types=1);
4+
45
use LightTest\Common\TestMode;
5-
if (!TestMode::class::isEnabled()) {
6+
7+
if (! TestMode::class::isEnabled()) {
68
return [];
79
}
810

@@ -16,4 +18,4 @@
1618
],
1719
],
1820
],
19-
];
21+
];

src/App/src/ConfigProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Doctrine\ORM\EntityManager;
88
use Doctrine\ORM\EntityManagerInterface;
9-
use Doctrine\ORM\Mapping\EntityListenerResolver as EntityListenerResolverInterface;
109
use Doctrine\Persistence\Mapping\Driver\MappingDriver;
1110
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
1211
use Dot\Cache\Adapter\ArrayAdapter;
@@ -197,4 +196,4 @@ private function getDoctrineConfig(): array
197196
],
198197
];
199198
}
200-
}
199+
}

src/App/src/Fixture/AuthorLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ public function getOrder(): int
7272
{
7373
return 1;
7474
}
75-
}
75+
}

src/App/src/Fixture/CategoryLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ public function getOrder(): int
4242
{
4343
return 2;
4444
}
45-
}
45+
}

src/App/src/Fixture/PostLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ public function getOrder(): int
107107
{
108108
return 3;
109109
}
110-
}
110+
}

src/Blog/src/Entity/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ public function getArrayCopy(): array
9292
'posts' => $this->posts->map(fn (Post $post) => $post->getArrayCopy())->toArray(),
9393
];
9494
}
95-
}
95+
}

src/Blog/src/Repository/PostRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ public function getArticleByAuthor(Author $author, array $params): DoctrinePagin
6767

6868
return new DoctrinePaginator($qb->getQuery());
6969
}
70-
}
70+
}

0 commit comments

Comments
 (0)