diff --git a/tests/Bootstrap/AppManangerTest.php b/tests/Bootstrap/AppManangerTest.php index 03ec4a8..fe70884 100644 --- a/tests/Bootstrap/AppManangerTest.php +++ b/tests/Bootstrap/AppManangerTest.php @@ -6,6 +6,7 @@ use App\Bootstrap\AppManager; use Slim\App; use Tests\TestCase; +/** @covers \App\Bootstrap\AppManager */ class AppManangerTest extends TestCase { public function test_it_returns_an_app_instance(): void diff --git a/tests/Bootstrap/ExceptionManagerTest.php b/tests/Bootstrap/ExceptionManagerTest.php index bff46e7..c58b42f 100644 --- a/tests/Bootstrap/ExceptionManagerTest.php +++ b/tests/Bootstrap/ExceptionManagerTest.php @@ -8,6 +8,7 @@ use Slim\App; use Slim\Middleware\ErrorMiddleware; use Tests\TestCase; +/** @covers \App\Bootstrap\ExceptionManager */ class ExceptionManagerTest extends TestCase { public function test_it_sets_the_default_error_handler(): void diff --git a/tests/Bootstrap/MiddlewareManagerTest.php b/tests/Bootstrap/MiddlewareManagerTest.php index 278f3bb..83c1ffd 100644 --- a/tests/Bootstrap/MiddlewareManagerTest.php +++ b/tests/Bootstrap/MiddlewareManagerTest.php @@ -7,6 +7,7 @@ use App\Middlewares; use Slim\App; use Tests\TestCase; +/** @covers \App\Bootstrap\MiddlewareManager */ class MiddlewareManagerTest extends TestCase { /** @const Array of application middlewares */ diff --git a/tests/Bootstrap/RouteManagerTest.php b/tests/Bootstrap/RouteManagerTest.php index 744dd70..0d7d4a7 100644 --- a/tests/Bootstrap/RouteManagerTest.php +++ b/tests/Bootstrap/RouteManagerTest.php @@ -7,6 +7,7 @@ use App\Controllers; use Slim\App; use Tests\TestCase; +/** @covers \App\Bootstrap\RouteManager */ class RouteManagerTest extends TestCase { public function test_it_registers_application_routes(): void diff --git a/tests/Controllers/DirectoryControllerTest.php b/tests/Controllers/DirectoryControllerTest.php index 10cd25b..a033a10 100644 --- a/tests/Controllers/DirectoryControllerTest.php +++ b/tests/Controllers/DirectoryControllerTest.php @@ -11,6 +11,7 @@ use Symfony\Component\Finder\Finder; use Symfony\Contracts\Translation\TranslatorInterface; use Tests\TestCase; +/** @covers \App\Controllers\DirectoryController */ class DirectoryControllerTest extends TestCase { /** @dataProvider configOptions */ diff --git a/tests/Controllers/FileInfoControllerTest.php b/tests/Controllers/FileInfoControllerTest.php index e89ec42..5989b27 100644 --- a/tests/Controllers/FileInfoControllerTest.php +++ b/tests/Controllers/FileInfoControllerTest.php @@ -9,6 +9,7 @@ use Slim\Psr7\Response; use Symfony\Contracts\Translation\TranslatorInterface; use Tests\TestCase; +/** @covers \App\Controllers\FileInfoController */ class FileInfoControllerTest extends TestCase { public function test_it_can_return_a_successful_response(): void diff --git a/tests/Controllers/IndexControllerTest.php b/tests/Controllers/IndexControllerTest.php index dfc0a4b..f8649e3 100644 --- a/tests/Controllers/IndexControllerTest.php +++ b/tests/Controllers/IndexControllerTest.php @@ -8,6 +8,7 @@ use Slim\Psr7\Request; use Slim\Psr7\Response; use Tests\TestCase; +/** @covers \App\Controllers\IndexController */ class IndexControllerTest extends TestCase { public function test_it_handles_a_file_info_request(): void diff --git a/tests/Controllers/SearchControllerTest.php b/tests/Controllers/SearchControllerTest.php index f51587d..10b3ba4 100644 --- a/tests/Controllers/SearchControllerTest.php +++ b/tests/Controllers/SearchControllerTest.php @@ -11,6 +11,7 @@ use Symfony\Component\Finder\Finder; use Symfony\Contracts\Translation\TranslatorInterface; use Tests\TestCase; +/** @covers \App\Controllers\SearchController */ class SearchControllerTest extends TestCase { public function test_it_returns_a_successful_response_for_a_search_request(): void diff --git a/tests/Controllers/ZipControllerTest.php b/tests/Controllers/ZipControllerTest.php index 1a20874..9f06c2c 100644 --- a/tests/Controllers/ZipControllerTest.php +++ b/tests/Controllers/ZipControllerTest.php @@ -10,6 +10,7 @@ use Symfony\Component\Finder\Finder; use Symfony\Contracts\Translation\TranslatorInterface; use Tests\TestCase; +/** @covers \App\Controllers\ZipController */ class ZipControllerTest extends TestCase { public function test_it_returns_a_successful_response_for_a_zip_request(): void diff --git a/tests/Exceptions/ErrorHandlerTest.php b/tests/Exceptions/ErrorHandlerTest.php index 9bfb798..6c6fd3d 100644 --- a/tests/Exceptions/ErrorHandlerTest.php +++ b/tests/Exceptions/ErrorHandlerTest.php @@ -9,6 +9,7 @@ use Slim\Views\Twig; use Symfony\Contracts\Translation\TranslatorInterface; use Tests\TestCase; +/** @covers \App\Exceptions\ErrorHandler */ class ErrorHandlerTest extends TestCase { public function test_it_returns_an_error(): void diff --git a/tests/Factories/CacheFactoryTest.php b/tests/Factories/CacheFactoryTest.php index 44d2d93..1398f2e 100644 --- a/tests/Factories/CacheFactoryTest.php +++ b/tests/Factories/CacheFactoryTest.php @@ -7,6 +7,7 @@ use App\Factories\CacheFactory; use Symfony\Component\Cache\Adapter; use Tests\TestCase; +/** @covers \App\Factories\CacheFactory */ class CacheFactoryTest extends TestCase { /** @dataProvider cacheAdapters */ diff --git a/tests/Factories/FinderFactoryTest.php b/tests/Factories/FinderFactoryTest.php index 90e1671..f766eb9 100644 --- a/tests/Factories/FinderFactoryTest.php +++ b/tests/Factories/FinderFactoryTest.php @@ -9,6 +9,7 @@ use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\SplFileInfo; use Tests\TestCase; +/** @covers \App\Factories\FinderFactory */ class FinderFactoryTest extends TestCase { public function test_it_can_compose_the_finder_component(): void diff --git a/tests/Factories/TranslationFactoryTest.php b/tests/Factories/TranslationFactoryTest.php index dc56383..2137e38 100644 --- a/tests/Factories/TranslationFactoryTest.php +++ b/tests/Factories/TranslationFactoryTest.php @@ -7,6 +7,7 @@ use App\Factories\TranslationFactory; use Symfony\Component\Translation\MessageCatalogue; use Tests\TestCase; +/** @covers \App\Factories\TranslationFactory */ class TranslationFactoryTest extends TestCase { public function test_it_registers_the_translation_component(): void diff --git a/tests/Factories/TwigFactoryTest.php b/tests/Factories/TwigFactoryTest.php index 3b4e3ef..6a621b2 100644 --- a/tests/Factories/TwigFactoryTest.php +++ b/tests/Factories/TwigFactoryTest.php @@ -8,6 +8,7 @@ use Invoker\CallableResolver; use Slim\Views\Twig; use Tests\TestCase; +/** @covers \App\Factories\TwigFactory */ class TwigFactoryTest extends TestCase { public function test_it_can_compose_the_view_component(): void diff --git a/tests/Middlewares/WhoopsMiddlewareTest.php b/tests/Middlewares/WhoopsMiddlewareTest.php index 1ba8292..a60f5ae 100644 --- a/tests/Middlewares/WhoopsMiddlewareTest.php +++ b/tests/Middlewares/WhoopsMiddlewareTest.php @@ -10,6 +10,7 @@ use Whoops\Handler\JsonResponseHandler; use Whoops\Handler\PrettyPageHandler; use Whoops\RunInterface; +/** @covers \App\Middlewares\WhoopsMiddleware */ class WhoopsMiddlewareTest extends TestCase { public function test_it_registers_whoops_with_the_page_handler(): void diff --git a/tests/SortMethods/AccessedTest.php b/tests/SortMethods/AccessedTest.php index fdb5936..64b5a58 100644 --- a/tests/SortMethods/AccessedTest.php +++ b/tests/SortMethods/AccessedTest.php @@ -6,6 +6,7 @@ use App\SortMethods\Accessed; use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; +/** @covers \App\SortMethods\Accessed */ class AccessedTest extends TestCase { public function test_it_can_sort_by_accessed_time(): void diff --git a/tests/SortMethods/ChangedTest.php b/tests/SortMethods/ChangedTest.php index d3ab111..9a1b48e 100644 --- a/tests/SortMethods/ChangedTest.php +++ b/tests/SortMethods/ChangedTest.php @@ -6,6 +6,7 @@ use App\SortMethods\Changed; use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; +/** @covers \App\SortMethods\Changed */ class ChangedTest extends TestCase { public function test_it_can_sort_by_changed_time(): void diff --git a/tests/SortMethods/ModifiedTest.php b/tests/SortMethods/ModifiedTest.php index 37bf0ce..dc0b04e 100644 --- a/tests/SortMethods/ModifiedTest.php +++ b/tests/SortMethods/ModifiedTest.php @@ -6,6 +6,7 @@ use App\SortMethods\Modified; use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; +/** @covers \App\SortMethods\Modified */ class ModifiedTest extends TestCase { public function test_it_can_sort_by_modified_time(): void diff --git a/tests/SortMethods/NameTest.php b/tests/SortMethods/NameTest.php index 32d8340..542ad76 100644 --- a/tests/SortMethods/NameTest.php +++ b/tests/SortMethods/NameTest.php @@ -6,6 +6,7 @@ use App\SortMethods\Name; use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; +/** @covers \App\SortMethods\Name */ class NameTest extends TestCase { public function test_it_can_sort_by_file_name(): void diff --git a/tests/SortMethods/NaturalTest.php b/tests/SortMethods/NaturalTest.php index 6f2e176..f4aa649 100644 --- a/tests/SortMethods/NaturalTest.php +++ b/tests/SortMethods/NaturalTest.php @@ -6,6 +6,7 @@ use App\SortMethods\Natural; use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; +/** @covers \App\SortMethods\Natural */ class NaturalTest extends TestCase { public function test_it_can_sort_by_natural_file_name(): void diff --git a/tests/SortMethods/TypeTest.php b/tests/SortMethods/TypeTest.php index 872eafc..49b9f7d 100644 --- a/tests/SortMethods/TypeTest.php +++ b/tests/SortMethods/TypeTest.php @@ -6,6 +6,7 @@ use App\SortMethods\Type; use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; +/** @covers \App\SortMethods\Type */ class TypeTest extends TestCase { public function test_it_can_sort_by_file_type(): void diff --git a/tests/Support/HelpersTest.php b/tests/Support/HelpersTest.php index 8901dee..9df34fc 100644 --- a/tests/Support/HelpersTest.php +++ b/tests/Support/HelpersTest.php @@ -5,6 +5,7 @@ namespace Tests\Support; use App\Support\Helpers; use PHPUnit\Framework\TestCase; +/** @covers \App\Support\Helpers */ class HelpersTest extends TestCase { public function test_it_can_get_an_environment_variable(): void diff --git a/tests/Support/StrTest.php b/tests/Support/StrTest.php index 8105d1a..7748880 100644 --- a/tests/Support/StrTest.php +++ b/tests/Support/StrTest.php @@ -6,6 +6,7 @@ use App\Support\Str; use Tests\TestCase; use Tightenco\Collect\Support\Collection; +/** @covers \App\Support\Str */ class StrTest extends TestCase { public function test_it_can_create_a_collection_from_a_string(): void diff --git a/tests/TemporaryFileTest.php b/tests/TemporaryFileTest.php index e306df4..5c2c7c0 100644 --- a/tests/TemporaryFileTest.php +++ b/tests/TemporaryFileTest.php @@ -4,6 +4,7 @@ namespace Tests; use App\TemporaryFile; +/** @covers \App\TemporaryFile */ class TemporaryFileTest extends TestCase { public function test_it_can_create_a_temporary_file(): void diff --git a/tests/ViewFunctions/AssetTest.php b/tests/ViewFunctions/AssetTest.php index 2a2889a..3d9046b 100644 --- a/tests/ViewFunctions/AssetTest.php +++ b/tests/ViewFunctions/AssetTest.php @@ -5,6 +5,7 @@ namespace Tests\ViewFunctions; use App\ViewFunctions\Asset; use Tests\TestCase; +/** @covers \App\ViewFunctions\Asset */ class AssetTest extends TestCase { public function test_it_can_return_an_asset_path(): void diff --git a/tests/ViewFunctions/BreadcrumbsTest.php b/tests/ViewFunctions/BreadcrumbsTest.php index e84c2d1..446d865 100644 --- a/tests/ViewFunctions/BreadcrumbsTest.php +++ b/tests/ViewFunctions/BreadcrumbsTest.php @@ -6,6 +6,7 @@ use App\ViewFunctions\Breadcrumbs; use Tests\TestCase; use Tightenco\Collect\Support\Collection; +/** @covers \App\ViewFunctions\Breadcrumbs */ class BreadcrumbsTest extends TestCase { public function test_it_can_parse_breadcrumbs_from_the_path(): void diff --git a/tests/ViewFunctions/ConfigTest.php b/tests/ViewFunctions/ConfigTest.php index 867b400..5357a9f 100644 --- a/tests/ViewFunctions/ConfigTest.php +++ b/tests/ViewFunctions/ConfigTest.php @@ -5,6 +5,7 @@ namespace Tests\ViewFunctions; use App\ViewFunctions\Config; use Tests\TestCase; +/** @covers \App\ViewFunctions\Config */ class ConfigTest extends TestCase { public function test_it_can_retrieve_a_config_item(): void diff --git a/tests/ViewFunctions/FileUrlTest.php b/tests/ViewFunctions/FileUrlTest.php index 3289ea5..66d5ef3 100644 --- a/tests/ViewFunctions/FileUrlTest.php +++ b/tests/ViewFunctions/FileUrlTest.php @@ -5,6 +5,7 @@ namespace Tests\ViewFunctions; use App\ViewFunctions\FileUrl; use Tests\TestCase; +/** @covers \App\ViewFunctions\FileUrl */ class FileUrlTest extends TestCase { public function test_it_can_return_a_url(): void diff --git a/tests/ViewFunctions/IconTest.php b/tests/ViewFunctions/IconTest.php index de0ceb4..7eb69e6 100644 --- a/tests/ViewFunctions/IconTest.php +++ b/tests/ViewFunctions/IconTest.php @@ -7,6 +7,7 @@ use PHLAK\Config\Config; use Symfony\Component\Finder\SplFileInfo; use Tests\TestCase; +/** @covers \App\ViewFunctions\Icon */ class IconTest extends TestCase { /** @var Config Application config */ diff --git a/tests/ViewFunctions/MarkdownTest.php b/tests/ViewFunctions/MarkdownTest.php index 16bd426..7831c9d 100644 --- a/tests/ViewFunctions/MarkdownTest.php +++ b/tests/ViewFunctions/MarkdownTest.php @@ -6,6 +6,7 @@ use App\ViewFunctions\Markdown; use ParsedownExtra; use Tests\TestCase; +/** @covers \App\ViewFunctions\Markdown */ class MarkdownTest extends TestCase { public function test_it_can_parse_markdown_into_html(): void diff --git a/tests/ViewFunctions/ParentUrlTest.php b/tests/ViewFunctions/ParentUrlTest.php index abe856f..95cf58f 100644 --- a/tests/ViewFunctions/ParentUrlTest.php +++ b/tests/ViewFunctions/ParentUrlTest.php @@ -5,6 +5,7 @@ namespace Tests\ViewFunctions; use App\ViewFunctions\ParentUrl; use Tests\TestCase; +/** @covers \App\ViewFunctions\ParentUrl */ class ParentUrlTest extends TestCase { public function test_it_can_get_the_parent_directory(): void diff --git a/tests/ViewFunctions/SizeForHumansTest.php b/tests/ViewFunctions/SizeForHumansTest.php index 60004c5..58273e1 100644 --- a/tests/ViewFunctions/SizeForHumansTest.php +++ b/tests/ViewFunctions/SizeForHumansTest.php @@ -6,6 +6,7 @@ use App\ViewFunctions\SizeForHumans; use Symfony\Component\Finder\SplFileInfo; use Tests\TestCase; +/** @covers \App\ViewFunctions\SizeForHumans */ class SizeForHumansTest extends TestCase { public function test_it_can_convert_bytes_to_bytes(): void diff --git a/tests/ViewFunctions/TranslateTest.php b/tests/ViewFunctions/TranslateTest.php index 1f4017e..3dd9ff6 100644 --- a/tests/ViewFunctions/TranslateTest.php +++ b/tests/ViewFunctions/TranslateTest.php @@ -7,6 +7,7 @@ use Symfony\Component\Translation\Loader\ArrayLoader; use Symfony\Component\Translation\Translator; use Tests\TestCase; +/** @covers \App\ViewFunctions\Translate */ class TranslateTest extends TestCase { /** @var Translator Translator component */ diff --git a/tests/ViewFunctions/UrlTest.php b/tests/ViewFunctions/UrlTest.php index 5fda0e2..baff833 100644 --- a/tests/ViewFunctions/UrlTest.php +++ b/tests/ViewFunctions/UrlTest.php @@ -5,6 +5,7 @@ namespace Tests\ViewFunctions; use App\ViewFunctions\Url; use Tests\TestCase; +/** @covers \App\ViewFunctions\Url */ class UrlTest extends TestCase { public function test_it_can_return_a_url(): void diff --git a/tests/ViewFunctions/ZipUrlTest.php b/tests/ViewFunctions/ZipUrlTest.php index 4a7922e..b96ea45 100644 --- a/tests/ViewFunctions/ZipUrlTest.php +++ b/tests/ViewFunctions/ZipUrlTest.php @@ -5,6 +5,7 @@ namespace Tests\ViewFunctions; use App\ViewFunctions\ZipUrl; use Tests\TestCase; +/** @covers \App\ViewFunctions\ZipUrl */ class ZipUrlTest extends TestCase { public function test_it_can_return_a_url(): void