Skip to content

Commit

Permalink
codingStyle: true
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jul 19, 2024
1 parent 97dec1d commit 4b93caa
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
->withPreparedSets(
deadCode: true,
codeQuality: true,
// codingStyle: true,
codingStyle: true,
typeDeclarations: true,
// privatization: true,
// instanceOf: true,
Expand Down
2 changes: 1 addition & 1 deletion tests/File/FileRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FileRepositoryTest extends TestCase

private FileRepositoryInterface $fileRepository;

public function setUp(): void
protected function setUp(): void
{
$this->fileRepository = FileFactory::createFileRepository();
}
Expand Down
4 changes: 2 additions & 2 deletions tests/File/MetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ class MetadataTest extends TestCase
{
private string $originalTimeZone = 'UTC';

public function setUp(): void
protected function setUp(): void
{
parent::setUp();

$this->originalTimeZone = \date_default_timezone_get();
}

public function tearDown(): void
protected function tearDown(): void
{
/** @psalm-suppress ArgumentTypeCoercion */
\date_default_timezone_set($this->originalTimeZone);
Expand Down
2 changes: 1 addition & 1 deletion tests/File/ReferenceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ReferenceTest extends TestCase

private FileRepositoryInterface $fileRepository;

public function setUp(): void
protected function setUp(): void
{
$this->fileRepository = FileFactory::createFileRepository();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/FileAssociation/FileAssociationManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FileAssociationManagerTest extends TestCase

private ?FileRepositoryInterface $fileRepository = null;

public function setUp(): void
protected function setUp(): void
{
$kernel = new TestKernel();
$kernel->boot();
Expand Down
2 changes: 1 addition & 1 deletion tests/FileBundle/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class IntegrationTest extends TestCase
{
private ?ContainerInterface $container = null;

public function setUp(): void
protected function setUp(): void
{
$kernel = new TestKernel();
$kernel->boot();
Expand Down
2 changes: 1 addition & 1 deletion tests/FileImage/ImageResizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ImageResizerTest extends TestCase
{
private FileRepositoryInterface $fileRepository;

public function setUp(): void
protected function setUp(): void
{
$this->fileRepository = FileFactory::createFileRepository();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/FileServer/TemporaryUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TemporaryUrlTest extends TestCase
{
private ?ContainerInterface $container = null;

public function setUp(): void
protected function setUp(): void
{
$kernel = new TestKernel();
$kernel->boot();
Expand Down
2 changes: 1 addition & 1 deletion tests/FileZip/ZipTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ZipTest extends TestCase

private ?FileZip $fileZip = null;

public function setUp(): void
protected function setUp(): void
{
$kernel = new TestKernel();
$kernel->boot();
Expand Down

0 comments on commit 4b93caa

Please sign in to comment.