Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zingimmick committed Aug 19, 2023
1 parent 01e55ab commit 50b57d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector;
use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\AddSeeTestAnnotationRector;
use Rector\PHPUnit\CodeQuality\Rector\ClassMethod\ReplaceTestAnnotationWithPrefixedFunctionRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
Expand All @@ -23,6 +24,7 @@
AddSeeTestAnnotationRector::class,
FinalizeClassesWithoutChildrenRector::class,
PrivatizeLocalGetterToPropertyRector::class,
ReplaceTestAnnotationWithPrefixedFunctionRector::class => [__DIR__ . '/tests/ObsAdapterTest.php'],
]
);
$rectorConfig->paths([__DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/ecs.php', __DIR__ . '/rector.php']);
Expand Down
5 changes: 4 additions & 1 deletion tests/ObsAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ protected function tearDown(): void
$adapter->deleteDirectory('/');
}

public function testFetching_unknown_mime_type_of_a_file(): void
/**
* @test
*/
public function fetching_unknown_mime_type_of_a_file(): void
{
$this->adapter()
->write('unknown-mime-type.md5', '', new Config());
Expand Down

0 comments on commit 50b57d4

Please sign in to comment.