Skip to content

Commit b729b2c

Browse files
committed
fix cs fixer complaints in test suite
1 parent 49b47a0 commit b729b2c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

tests/Fixtures/AbstractResetPasswordTestKernel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ public function registerBundles()
3838
{
3939
return [
4040
new FrameworkBundle(),
41-
new SymfonyCastsResetPasswordBundle()
41+
new SymfonyCastsResetPasswordBundle(),
4242
];
4343
}
4444

4545
public function getCacheDir()
4646
{
47-
return sys_get_temp_dir().'/cache'.spl_object_hash($this);
47+
return \sys_get_temp_dir().'/cache'.\spl_object_hash($this);
4848
}
4949

5050
public function getLogDir()
5151
{
52-
return sys_get_temp_dir().'/logs'.spl_object_hash($this);
52+
return \sys_get_temp_dir().'/logs'.\spl_object_hash($this);
5353
}
5454

5555
protected function configureRoutes(RoutingConfigurator $routes)
@@ -61,14 +61,14 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
6161
$container->loadFromExtension('framework', [
6262
'secret' => 'foo',
6363
'router' => [
64-
'utf8' => true
65-
]
64+
'utf8' => true,
65+
],
6666
]);
6767

6868
$container->register(ResetPasswordRepositoryTestFixture::class);
6969

7070
$container->loadFromExtension('symfonycasts_reset_password', [
71-
'request_password_repository' => ResetPasswordRepositoryTestFixture::class
71+
'request_password_repository' => ResetPasswordRepositoryTestFixture::class,
7272
]);
7373

7474
// avoid logging request logs

tests/Fixtures/ResetPasswordRequestTestFixture.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
class ResetPasswordRequestTestFixture implements ResetPasswordRequestInterface
1919
{
20-
2120
public function getRequestedAt(): \DateTimeInterface
2221
{
2322
}

0 commit comments

Comments
 (0)