diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 8540e76..1618b94 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,5 +1,12 @@ + +For the full copyright and license information, please view the LICENSE +file that was distributed with this source code. +HEADER; + $finder = PhpCsFixer\Finder::create() ->files() ->in(__DIR__.'/src') @@ -13,6 +20,12 @@ ->setRules(array( '@PSR2' => true, 'no_unused_imports' => true, + 'header_comment' => [ + 'comment_type' => 'PHPDoc', + 'header' => $header, + 'location' => 'after_declare_strict', + 'separate' => 'both', + ] )) ->setFinder($finder) ; diff --git a/src/Api/AbstractApi.php b/src/Api/AbstractApi.php index 9e32592..d3ff630 100644 --- a/src/Api/AbstractApi.php +++ b/src/Api/AbstractApi.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Credentials.php b/src/Api/Credentials.php index c9b475f..d7f5a73 100644 --- a/src/Api/Credentials.php +++ b/src/Api/Credentials.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Customers.php b/src/Api/Customers.php index c019c4a..7eadacf 100644 --- a/src/Api/Customers.php +++ b/src/Api/Customers.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Customers/MagentoLegacyKeys.php b/src/Api/Customers/MagentoLegacyKeys.php index edd4669..4d35cfa 100644 --- a/src/Api/Customers/MagentoLegacyKeys.php +++ b/src/Api/Customers/MagentoLegacyKeys.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Customers/VendorBundles.php b/src/Api/Customers/VendorBundles.php index aa08a47..c8fda8a 100644 --- a/src/Api/Customers/VendorBundles.php +++ b/src/Api/Customers/VendorBundles.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Jobs.php b/src/Api/Jobs.php index 8970f05..399c3be 100644 --- a/src/Api/Jobs.php +++ b/src/Api/Jobs.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/MirroredRepositories.php b/src/Api/MirroredRepositories.php index 143fac7..fe60093 100644 --- a/src/Api/MirroredRepositories.php +++ b/src/Api/MirroredRepositories.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Organization.php b/src/Api/Organization.php index c38638c..695a9ca 100644 --- a/src/Api/Organization.php +++ b/src/Api/Organization.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Packages.php b/src/Api/Packages.php index 2108ee3..2d3847c 100644 --- a/src/Api/Packages.php +++ b/src/Api/Packages.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Packages/Artifacts.php b/src/Api/Packages/Artifacts.php index 64836ff..51903f0 100644 --- a/src/Api/Packages/Artifacts.php +++ b/src/Api/Packages/Artifacts.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Projects.php b/src/Api/Projects.php index 69dfbb0..ee755bc 100644 --- a/src/Api/Projects.php +++ b/src/Api/Projects.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Projects/MirroredRepositories.php b/src/Api/Projects/MirroredRepositories.php index b2bb3aa..f455efd 100644 --- a/src/Api/Projects/MirroredRepositories.php +++ b/src/Api/Projects/MirroredRepositories.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Projects/Packages.php b/src/Api/Projects/Packages.php index edc0565..70aeaf3 100644 --- a/src/Api/Projects/Packages.php +++ b/src/Api/Projects/Packages.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/SecurityIssues.php b/src/Api/SecurityIssues.php index 0c2f05a..e6f7f12 100644 --- a/src/Api/SecurityIssues.php +++ b/src/Api/SecurityIssues.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Subrepositories.php b/src/Api/Subrepositories.php index 096bd51..9185bad 100644 --- a/src/Api/Subrepositories.php +++ b/src/Api/Subrepositories.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Subrepositories/MirroredRepositories.php b/src/Api/Subrepositories/MirroredRepositories.php index 14fd51d..8670cae 100644 --- a/src/Api/Subrepositories/MirroredRepositories.php +++ b/src/Api/Subrepositories/MirroredRepositories.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Subrepositories/Packages.php b/src/Api/Subrepositories/Packages.php index b4bd36b..00084bb 100644 --- a/src/Api/Subrepositories/Packages.php +++ b/src/Api/Subrepositories/Packages.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Synchronizations.php b/src/Api/Synchronizations.php index f6f7d45..b18f4c9 100644 --- a/src/Api/Synchronizations.php +++ b/src/Api/Synchronizations.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Teams.php b/src/Api/Teams.php index f0965f4..714bd71 100644 --- a/src/Api/Teams.php +++ b/src/Api/Teams.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/Tokens.php b/src/Api/Tokens.php index 1094ada..0cf20ab 100644 --- a/src/Api/Tokens.php +++ b/src/Api/Tokens.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/VendorBundles.php b/src/Api/VendorBundles.php index a732d8f..8960bdd 100644 --- a/src/Api/VendorBundles.php +++ b/src/Api/VendorBundles.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Api/VendorBundles/Packages.php b/src/Api/VendorBundles/Packages.php index 2178189..c6deb5e 100644 --- a/src/Api/VendorBundles/Packages.php +++ b/src/Api/VendorBundles/Packages.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Client.php b/src/Client.php index a345d37..bd25209 100644 --- a/src/Client.php +++ b/src/Client.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exception/ErrorException.php b/src/Exception/ErrorException.php index cd10105..6b0b291 100644 --- a/src/Exception/ErrorException.php +++ b/src/Exception/ErrorException.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exception/ExceptionInterface.php b/src/Exception/ExceptionInterface.php index 8576f53..9c317da 100644 --- a/src/Exception/ExceptionInterface.php +++ b/src/Exception/ExceptionInterface.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exception/HttpTransportException.php b/src/Exception/HttpTransportException.php index 797df89..52c3546 100644 --- a/src/Exception/HttpTransportException.php +++ b/src/Exception/HttpTransportException.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php index aeb3aff..75bea5b 100644 --- a/src/Exception/InvalidArgumentException.php +++ b/src/Exception/InvalidArgumentException.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exception/JobErrorException.php b/src/Exception/JobErrorException.php index 6e4587a..0f5e913 100644 --- a/src/Exception/JobErrorException.php +++ b/src/Exception/JobErrorException.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient\Exception; class JobErrorException extends RuntimeException diff --git a/src/Exception/JobTimeoutException.php b/src/Exception/JobTimeoutException.php index 04708af..c6cfe9e 100644 --- a/src/Exception/JobTimeoutException.php +++ b/src/Exception/JobTimeoutException.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient\Exception; class JobTimeoutException extends RuntimeException diff --git a/src/Exception/ResourceNotFoundException.php b/src/Exception/ResourceNotFoundException.php index eb731fb..d843f88 100644 --- a/src/Exception/ResourceNotFoundException.php +++ b/src/Exception/ResourceNotFoundException.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/Exception/RuntimeException.php b/src/Exception/RuntimeException.php index 7e56f01..a74e001 100644 --- a/src/Exception/RuntimeException.php +++ b/src/Exception/RuntimeException.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/HttpClient/HttpPluginClientBuilder.php b/src/HttpClient/HttpPluginClientBuilder.php index 331e5c2..b45915c 100644 --- a/src/HttpClient/HttpPluginClientBuilder.php +++ b/src/HttpClient/HttpPluginClientBuilder.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/HttpClient/Message/ResponseMediator.php b/src/HttpClient/Message/ResponseMediator.php index 90b4c68..e4b5c12 100644 --- a/src/HttpClient/Message/ResponseMediator.php +++ b/src/HttpClient/Message/ResponseMediator.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/HttpClient/Plugin/ExceptionThrower.php b/src/HttpClient/Plugin/ExceptionThrower.php index 787d548..1dd1ae9 100644 --- a/src/HttpClient/Plugin/ExceptionThrower.php +++ b/src/HttpClient/Plugin/ExceptionThrower.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/HttpClient/Plugin/PathPrepend.php b/src/HttpClient/Plugin/PathPrepend.php index 6f572f7..81025de 100644 --- a/src/HttpClient/Plugin/PathPrepend.php +++ b/src/HttpClient/Plugin/PathPrepend.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/HttpClient/Plugin/RequestSignature.php b/src/HttpClient/Plugin/RequestSignature.php index 4fae4b1..3988c30 100644 --- a/src/HttpClient/Plugin/RequestSignature.php +++ b/src/HttpClient/Plugin/RequestSignature.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/JobHelper.php b/src/JobHelper.php index b11133d..57651db 100644 --- a/src/JobHelper.php +++ b/src/JobHelper.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient; use PrivatePackagist\ApiClient\Exception\JobErrorException; diff --git a/src/Payload/ArtifactPackageConfig.php b/src/Payload/ArtifactPackageConfig.php index 9501685..a1243f9 100644 --- a/src/Payload/ArtifactPackageConfig.php +++ b/src/Payload/ArtifactPackageConfig.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient\Payload; /** diff --git a/src/Payload/CustomPackageConfig.php b/src/Payload/CustomPackageConfig.php index 0b54886..683ba97 100644 --- a/src/Payload/CustomPackageConfig.php +++ b/src/Payload/CustomPackageConfig.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient\Payload; /** diff --git a/src/Payload/VcsPackageConfig.php b/src/Payload/VcsPackageConfig.php index 5aa2eb7..d611e89 100644 --- a/src/Payload/VcsPackageConfig.php +++ b/src/Payload/VcsPackageConfig.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient\Payload; /** diff --git a/src/TeamPermissions.php b/src/TeamPermissions.php index 1b2576f..8024424 100644 --- a/src/TeamPermissions.php +++ b/src/TeamPermissions.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/src/WebhookSignature.php b/src/WebhookSignature.php index 72b78a9..b1782b6 100644 --- a/src/WebhookSignature.php +++ b/src/WebhookSignature.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient; class WebhookSignature diff --git a/tests/Api/ApiTestCase.php b/tests/Api/ApiTestCase.php index d219b0e..b0246b9 100644 --- a/tests/Api/ApiTestCase.php +++ b/tests/Api/ApiTestCase.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/CredentialsTest.php b/tests/Api/CredentialsTest.php index 4cb428b..6d29893 100644 --- a/tests/Api/CredentialsTest.php +++ b/tests/Api/CredentialsTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Customers/MagentoLegacyKeysTest.php b/tests/Api/Customers/MagentoLegacyKeysTest.php index 4e3e5b5..aa62dc6 100644 --- a/tests/Api/Customers/MagentoLegacyKeysTest.php +++ b/tests/Api/Customers/MagentoLegacyKeysTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Customers/VendorBundlesTest.php b/tests/Api/Customers/VendorBundlesTest.php index e53f256..d760c35 100644 --- a/tests/Api/Customers/VendorBundlesTest.php +++ b/tests/Api/Customers/VendorBundlesTest.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient\Api\Customers; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/Api/CustomersTest.php b/tests/Api/CustomersTest.php index fd0ba5f..425743f 100644 --- a/tests/Api/CustomersTest.php +++ b/tests/Api/CustomersTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/JobsTest.php b/tests/Api/JobsTest.php index 1e13695..d269332 100644 --- a/tests/Api/JobsTest.php +++ b/tests/Api/JobsTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/MirroredRepositoriesTest.php b/tests/Api/MirroredRepositoriesTest.php index e888dcd..79b0086 100644 --- a/tests/Api/MirroredRepositoriesTest.php +++ b/tests/Api/MirroredRepositoriesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/OrganizationTest.php b/tests/Api/OrganizationTest.php index ea2706c..ac5361e 100644 --- a/tests/Api/OrganizationTest.php +++ b/tests/Api/OrganizationTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Packages/ArtifactsTest.php b/tests/Api/Packages/ArtifactsTest.php index b10424c..1d2d56c 100644 --- a/tests/Api/Packages/ArtifactsTest.php +++ b/tests/Api/Packages/ArtifactsTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/PackagesTest.php b/tests/Api/PackagesTest.php index 8cc5dac..a79df6a 100644 --- a/tests/Api/PackagesTest.php +++ b/tests/Api/PackagesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Projects/MirroredRepositoriesTest.php b/tests/Api/Projects/MirroredRepositoriesTest.php index 060c00f..1915e89 100644 --- a/tests/Api/Projects/MirroredRepositoriesTest.php +++ b/tests/Api/Projects/MirroredRepositoriesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Projects/PackagesTest.php b/tests/Api/Projects/PackagesTest.php index bb45d42..cdbf65e 100644 --- a/tests/Api/Projects/PackagesTest.php +++ b/tests/Api/Projects/PackagesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/ProjectsTest.php b/tests/Api/ProjectsTest.php index ab2666c..24714d7 100644 --- a/tests/Api/ProjectsTest.php +++ b/tests/Api/ProjectsTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/SecurityIssuesTest.php b/tests/Api/SecurityIssuesTest.php index cdb6f02..f46b6fc 100644 --- a/tests/Api/SecurityIssuesTest.php +++ b/tests/Api/SecurityIssuesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Subrepositories/MirroredRepositoriesTest.php b/tests/Api/Subrepositories/MirroredRepositoriesTest.php index ca20ce3..dd85be3 100644 --- a/tests/Api/Subrepositories/MirroredRepositoriesTest.php +++ b/tests/Api/Subrepositories/MirroredRepositoriesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/Subrepositories/PackagesTest.php b/tests/Api/Subrepositories/PackagesTest.php index 9ce0094..3078807 100644 --- a/tests/Api/Subrepositories/PackagesTest.php +++ b/tests/Api/Subrepositories/PackagesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/SubrepositoriesTest.php b/tests/Api/SubrepositoriesTest.php index 52a6958..54622a1 100644 --- a/tests/Api/SubrepositoriesTest.php +++ b/tests/Api/SubrepositoriesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/SynchronizationsTest.php b/tests/Api/SynchronizationsTest.php index 2cfc88d..dc9d3d0 100644 --- a/tests/Api/SynchronizationsTest.php +++ b/tests/Api/SynchronizationsTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/TeamsTest.php b/tests/Api/TeamsTest.php index 5981af7..3d51384 100644 --- a/tests/Api/TeamsTest.php +++ b/tests/Api/TeamsTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/TokensTest.php b/tests/Api/TokensTest.php index bb9a4e1..c1f6d77 100644 --- a/tests/Api/TokensTest.php +++ b/tests/Api/TokensTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/VendorBundles/PackagesTest.php b/tests/Api/VendorBundles/PackagesTest.php index 3924b8e..920a39e 100644 --- a/tests/Api/VendorBundles/PackagesTest.php +++ b/tests/Api/VendorBundles/PackagesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/Api/VendorBundlesTest.php b/tests/Api/VendorBundlesTest.php index b4cc19f..0ee7347 100644 --- a/tests/Api/VendorBundlesTest.php +++ b/tests/Api/VendorBundlesTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/HttpClient/HttpPluginClientBuilderTest.php b/tests/HttpClient/HttpPluginClientBuilderTest.php index 8149421..7586fbb 100644 --- a/tests/HttpClient/HttpPluginClientBuilderTest.php +++ b/tests/HttpClient/HttpPluginClientBuilderTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/HttpClient/Message/ResponseMediatorTest.php b/tests/HttpClient/Message/ResponseMediatorTest.php index c87fa3f..5e60180 100644 --- a/tests/HttpClient/Message/ResponseMediatorTest.php +++ b/tests/HttpClient/Message/ResponseMediatorTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/HttpClient/Plugin/PathPrependTest.php b/tests/HttpClient/Plugin/PathPrependTest.php index 6dd90b7..e123b1b 100644 --- a/tests/HttpClient/Plugin/PathPrependTest.php +++ b/tests/HttpClient/Plugin/PathPrependTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/HttpClient/Plugin/RequestSignatureMock.php b/tests/HttpClient/Plugin/RequestSignatureMock.php index 6fa60fc..5ae6769 100644 --- a/tests/HttpClient/Plugin/RequestSignatureMock.php +++ b/tests/HttpClient/Plugin/RequestSignatureMock.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/HttpClient/Plugin/RequestSignatureTest.php b/tests/HttpClient/Plugin/RequestSignatureTest.php index 3f9348f..e04fbfc 100644 --- a/tests/HttpClient/Plugin/RequestSignatureTest.php +++ b/tests/HttpClient/Plugin/RequestSignatureTest.php @@ -1,6 +1,6 @@ * * For the full copyright and license information, please view the LICENSE diff --git a/tests/WebhookSignatureTest.php b/tests/WebhookSignatureTest.php index 6b35938..adc1d0c 100644 --- a/tests/WebhookSignatureTest.php +++ b/tests/WebhookSignatureTest.php @@ -1,5 +1,12 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace PrivatePackagist\ApiClient; use PHPUnit\Framework\TestCase;