diff --git a/src/Actions/SetScenarioStateAction.php b/src/Actions/SetScenarioStateAction.php index 1796f2a..6ec3af9 100644 --- a/src/Actions/SetScenarioStateAction.php +++ b/src/Actions/SetScenarioStateAction.php @@ -19,7 +19,6 @@ namespace Mcustiel\Phiremock\Server\Actions; use Mcustiel\Phiremock\Common\StringStream; -use Mcustiel\Phiremock\Common\Utils\ArrayToExpectationConverter; use Mcustiel\Phiremock\Common\Utils\ArrayToScenarioStateInfoConverter; use Mcustiel\Phiremock\Domain\ScenarioStateInfo; use Mcustiel\Phiremock\Server\Model\ScenarioStorage; diff --git a/src/Cli/Options/CertificateKeyPath.php b/src/Cli/Options/CertificateKeyPath.php index 2ecaaab..139fac9 100644 --- a/src/Cli/Options/CertificateKeyPath.php +++ b/src/Cli/Options/CertificateKeyPath.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Cli\Options; use Exception; diff --git a/src/Cli/Options/CertificatePath.php b/src/Cli/Options/CertificatePath.php index 9a479bb..a6d0f61 100644 --- a/src/Cli/Options/CertificatePath.php +++ b/src/Cli/Options/CertificatePath.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Cli\Options; use Exception; diff --git a/src/Cli/Options/Passphrase.php b/src/Cli/Options/Passphrase.php index a3f2c5a..e5116fc 100644 --- a/src/Cli/Options/Passphrase.php +++ b/src/Cli/Options/Passphrase.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Cli\Options; class Passphrase diff --git a/src/Cli/Options/PhpFactoryFqcn.php b/src/Cli/Options/PhpFactoryFqcn.php index 76580fd..4c2e90f 100644 --- a/src/Cli/Options/PhpFactoryFqcn.php +++ b/src/Cli/Options/PhpFactoryFqcn.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Cli\Options; use InvalidArgumentException; diff --git a/src/Cli/Options/SecureOptions.php b/src/Cli/Options/SecureOptions.php index 3546ab3..e46733d 100644 --- a/src/Cli/Options/SecureOptions.php +++ b/src/Cli/Options/SecureOptions.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Cli\Options; class SecureOptions diff --git a/src/Utils/Config/Config.php b/src/Utils/Config/Config.php index 34ba84d..d8cf56f 100644 --- a/src/Utils/Config/Config.php +++ b/src/Utils/Config/Config.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Utils\Config; use Exception; diff --git a/src/Utils/Config/ConfigBuilder.php b/src/Utils/Config/ConfigBuilder.php index cac30f7..be7aa02 100644 --- a/src/Utils/Config/ConfigBuilder.php +++ b/src/Utils/Config/ConfigBuilder.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Utils\Config; use DomainException; diff --git a/src/Utils/Config/Directory.php b/src/Utils/Config/Directory.php index 9414ace..a975a21 100644 --- a/src/Utils/Config/Directory.php +++ b/src/Utils/Config/Directory.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Utils\Config; use InvalidArgumentException; diff --git a/src/Utils/GuzzlePsr18Client.php b/src/Utils/GuzzlePsr18Client.php index 3066b3e..23ec4e1 100644 --- a/src/Utils/GuzzlePsr18Client.php +++ b/src/Utils/GuzzlePsr18Client.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Utils; use GuzzleHttp\Client as GuzzleClient; diff --git a/tests/acceptance/_support/Helper/AcceptanceV1.php b/tests/acceptance/_support/Helper/AcceptanceV1.php index 6a268ee..f0b5c28 100644 --- a/tests/acceptance/_support/Helper/AcceptanceV1.php +++ b/tests/acceptance/_support/Helper/AcceptanceV1.php @@ -1,5 +1,22 @@ . + */ + namespace Helper; class AcceptanceV1 extends \Codeception\Module diff --git a/tests/acceptance/_support/Helper/AcceptanceV2.php b/tests/acceptance/_support/Helper/AcceptanceV2.php index ce4d7f2..9d6e5ec 100644 --- a/tests/acceptance/_support/Helper/AcceptanceV2.php +++ b/tests/acceptance/_support/Helper/AcceptanceV2.php @@ -1,5 +1,22 @@ . + */ + namespace Helper; class AcceptanceV2 extends \Codeception\Module diff --git a/tests/acceptance/_support/Helper/Common.php b/tests/acceptance/_support/Helper/Common.php index 65793f9..4352917 100644 --- a/tests/acceptance/_support/Helper/Common.php +++ b/tests/acceptance/_support/Helper/Common.php @@ -1,5 +1,22 @@ . + */ + namespace Helper; class Common extends \Codeception\Module diff --git a/tests/acceptance/_support/Helper/Functional.php b/tests/acceptance/_support/Helper/Functional.php index 57e5113..1433d7d 100644 --- a/tests/acceptance/_support/Helper/Functional.php +++ b/tests/acceptance/_support/Helper/Functional.php @@ -1,5 +1,22 @@ . + */ + namespace Helper; // here you can define custom actions diff --git a/tests/acceptance/_support/Helper/Unit.php b/tests/acceptance/_support/Helper/Unit.php index 4d27aa3..fe62cc7 100644 --- a/tests/acceptance/_support/Helper/Unit.php +++ b/tests/acceptance/_support/Helper/Unit.php @@ -1,5 +1,22 @@ . + */ + namespace Helper; // here you can define custom actions diff --git a/tests/acceptance/common/RecursiveDirectoryCest.php b/tests/acceptance/common/RecursiveDirectoryCest.php index 1ce8cb3..a9e1e7c 100644 --- a/tests/acceptance/common/RecursiveDirectoryCest.php +++ b/tests/acceptance/common/RecursiveDirectoryCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\Common; use CommonTester; diff --git a/tests/acceptance/v1/BinaryContentCest.php b/tests/acceptance/v1/BinaryContentCest.php index 69f14fa..1b321ed 100644 --- a/tests/acceptance/v1/BinaryContentCest.php +++ b/tests/acceptance/v1/BinaryContentCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/BodyConditionCest.php b/tests/acceptance/v1/BodyConditionCest.php index ed0308e..89fd894 100644 --- a/tests/acceptance/v1/BodyConditionCest.php +++ b/tests/acceptance/v1/BodyConditionCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/BodyJsonCest.php b/tests/acceptance/v1/BodyJsonCest.php index bbd4c49..b8b6450 100644 --- a/tests/acceptance/v1/BodyJsonCest.php +++ b/tests/acceptance/v1/BodyJsonCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/BodySpecificationCest.php b/tests/acceptance/v1/BodySpecificationCest.php index 23c23da..5843558 100644 --- a/tests/acceptance/v1/BodySpecificationCest.php +++ b/tests/acceptance/v1/BodySpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/DelaySpecificationCest.php b/tests/acceptance/v1/DelaySpecificationCest.php index 425b251..a635b41 100644 --- a/tests/acceptance/v1/DelaySpecificationCest.php +++ b/tests/acceptance/v1/DelaySpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/ExpectationCreationCest.php b/tests/acceptance/v1/ExpectationCreationCest.php index 446f1e0..cef3a02 100644 --- a/tests/acceptance/v1/ExpectationCreationCest.php +++ b/tests/acceptance/v1/ExpectationCreationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/ExpectationListCest.php b/tests/acceptance/v1/ExpectationListCest.php index 43cd2ce..48bd227 100644 --- a/tests/acceptance/v1/ExpectationListCest.php +++ b/tests/acceptance/v1/ExpectationListCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/FormDataCest.php b/tests/acceptance/v1/FormDataCest.php index 2c5cf6e..8988529 100644 --- a/tests/acceptance/v1/FormDataCest.php +++ b/tests/acceptance/v1/FormDataCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/HeadersConditionsCest.php b/tests/acceptance/v1/HeadersConditionsCest.php index 6c3e80e..de7d80b 100644 --- a/tests/acceptance/v1/HeadersConditionsCest.php +++ b/tests/acceptance/v1/HeadersConditionsCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/HeadersSpecificationCest.php b/tests/acceptance/v1/HeadersSpecificationCest.php index 88ae0d0..206a8ac 100644 --- a/tests/acceptance/v1/HeadersSpecificationCest.php +++ b/tests/acceptance/v1/HeadersSpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/MethodConditionCest.php b/tests/acceptance/v1/MethodConditionCest.php index 0030f77..679e841 100644 --- a/tests/acceptance/v1/MethodConditionCest.php +++ b/tests/acceptance/v1/MethodConditionCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/ProxyCest.php b/tests/acceptance/v1/ProxyCest.php index ce2230f..7fe7da8 100644 --- a/tests/acceptance/v1/ProxyCest.php +++ b/tests/acceptance/v1/ProxyCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/ReplacementCest.php b/tests/acceptance/v1/ReplacementCest.php index 8ffcd22..1803d40 100644 --- a/tests/acceptance/v1/ReplacementCest.php +++ b/tests/acceptance/v1/ReplacementCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/RequestCountCest.php b/tests/acceptance/v1/RequestCountCest.php index 61d6823..7924ca2 100644 --- a/tests/acceptance/v1/RequestCountCest.php +++ b/tests/acceptance/v1/RequestCountCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/RequestListCest.php b/tests/acceptance/v1/RequestListCest.php index ca572b6..522a26b 100644 --- a/tests/acceptance/v1/RequestListCest.php +++ b/tests/acceptance/v1/RequestListCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/ResetCest.php b/tests/acceptance/v1/ResetCest.php index d6f9572..a85c6f9 100644 --- a/tests/acceptance/v1/ResetCest.php +++ b/tests/acceptance/v1/ResetCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/SameJsonCest.php b/tests/acceptance/v1/SameJsonCest.php index c264705..823dd7e 100644 --- a/tests/acceptance/v1/SameJsonCest.php +++ b/tests/acceptance/v1/SameJsonCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/SetScenarioStateCest.php b/tests/acceptance/v1/SetScenarioStateCest.php index 0033ecf..7eaa2b5 100644 --- a/tests/acceptance/v1/SetScenarioStateCest.php +++ b/tests/acceptance/v1/SetScenarioStateCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/StatusCodeSpecificationCest.php b/tests/acceptance/v1/StatusCodeSpecificationCest.php index 4eaeb6a..4c8ec3a 100644 --- a/tests/acceptance/v1/StatusCodeSpecificationCest.php +++ b/tests/acceptance/v1/StatusCodeSpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v1/UrlConditionCest.php b/tests/acceptance/v1/UrlConditionCest.php index 9f610ee..cfed8d5 100644 --- a/tests/acceptance/v1/UrlConditionCest.php +++ b/tests/acceptance/v1/UrlConditionCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V1; use AcceptanceTester; diff --git a/tests/acceptance/v2/BinaryContentCest.php b/tests/acceptance/v2/BinaryContentCest.php index 4e00d04..2264d1c 100644 --- a/tests/acceptance/v2/BinaryContentCest.php +++ b/tests/acceptance/v2/BinaryContentCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\BinaryContentCest as BinaryContentCestV1; diff --git a/tests/acceptance/v2/BodyConditionCest.php b/tests/acceptance/v2/BodyConditionCest.php index 76bfa41..6a2ba76 100644 --- a/tests/acceptance/v2/BodyConditionCest.php +++ b/tests/acceptance/v2/BodyConditionCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\BodyConditionCest as BodyConditionCestV1; diff --git a/tests/acceptance/v2/BodyJsonCest.php b/tests/acceptance/v2/BodyJsonCest.php index 2e95571..d244edb 100644 --- a/tests/acceptance/v2/BodyJsonCest.php +++ b/tests/acceptance/v2/BodyJsonCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\BodyJsonCest as BodyJsonCestV1; diff --git a/tests/acceptance/v2/BodySpecificationCest.php b/tests/acceptance/v2/BodySpecificationCest.php index 2ba0610..1bc2f04 100644 --- a/tests/acceptance/v2/BodySpecificationCest.php +++ b/tests/acceptance/v2/BodySpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\BodySpecificationCest as BodySpecificationCestV1; diff --git a/tests/acceptance/v2/DelaySpecificationCest.php b/tests/acceptance/v2/DelaySpecificationCest.php index de44669..ec65553 100644 --- a/tests/acceptance/v2/DelaySpecificationCest.php +++ b/tests/acceptance/v2/DelaySpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\DelaySpecificationCest as DelaySpecificationCestV1; diff --git a/tests/acceptance/v2/ExpectationCreationCest.php b/tests/acceptance/v2/ExpectationCreationCest.php index b998794..1e3f780 100644 --- a/tests/acceptance/v2/ExpectationCreationCest.php +++ b/tests/acceptance/v2/ExpectationCreationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\ExpectationCreationCest as ExpectationCreationCestV1; diff --git a/tests/acceptance/v2/ExpectationListCest.php b/tests/acceptance/v2/ExpectationListCest.php index b6379e2..b7af89d 100644 --- a/tests/acceptance/v2/ExpectationListCest.php +++ b/tests/acceptance/v2/ExpectationListCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\ExpectationListCest as ExpectationListCestV1; diff --git a/tests/acceptance/v2/HeadersConditionsCest.php b/tests/acceptance/v2/HeadersConditionsCest.php index f18ef5f..e2ed4e9 100644 --- a/tests/acceptance/v2/HeadersConditionsCest.php +++ b/tests/acceptance/v2/HeadersConditionsCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\HeadersConditionsCest as HeadersConditionsCestV1; diff --git a/tests/acceptance/v2/HeadersSpecificationCest.php b/tests/acceptance/v2/HeadersSpecificationCest.php index e0ad476..8c55e06 100644 --- a/tests/acceptance/v2/HeadersSpecificationCest.php +++ b/tests/acceptance/v2/HeadersSpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\HeadersSpecificationCest as HeadersSpecificationCestV1; diff --git a/tests/acceptance/v2/MethodConditionCest.php b/tests/acceptance/v2/MethodConditionCest.php index 7df8ad6..30f1922 100644 --- a/tests/acceptance/v2/MethodConditionCest.php +++ b/tests/acceptance/v2/MethodConditionCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\MethodConditionCest as MethodConditionCestV1; diff --git a/tests/acceptance/v2/ProxyCest.php b/tests/acceptance/v2/ProxyCest.php index 19d3eed..2d7fbfb 100644 --- a/tests/acceptance/v2/ProxyCest.php +++ b/tests/acceptance/v2/ProxyCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\ProxyCest as ProxyCestV1; diff --git a/tests/acceptance/v2/ReplacementCest.php b/tests/acceptance/v2/ReplacementCest.php index 047ff25..1c252c2 100644 --- a/tests/acceptance/v2/ReplacementCest.php +++ b/tests/acceptance/v2/ReplacementCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\ReplacementCest as ReplacementCestV1; diff --git a/tests/acceptance/v2/ResetCest.php b/tests/acceptance/v2/ResetCest.php index e847c9f..6eee65d 100644 --- a/tests/acceptance/v2/ResetCest.php +++ b/tests/acceptance/v2/ResetCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\ResetCest as ResetCestV1; diff --git a/tests/acceptance/v2/SameJsonCest.php b/tests/acceptance/v2/SameJsonCest.php index 1f8063d..c084333 100644 --- a/tests/acceptance/v2/SameJsonCest.php +++ b/tests/acceptance/v2/SameJsonCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\SameJsonCest as SameJsonCestV1; diff --git a/tests/acceptance/v2/SetScenarioStateCest.php b/tests/acceptance/v2/SetScenarioStateCest.php index 50d6f30..e88c73e 100644 --- a/tests/acceptance/v2/SetScenarioStateCest.php +++ b/tests/acceptance/v2/SetScenarioStateCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\SetScenarioStateCest as SetScenarioStateCestV1; diff --git a/tests/acceptance/v2/StatusCodeSpecificationCest.php b/tests/acceptance/v2/StatusCodeSpecificationCest.php index 05c937c..a20b6d9 100644 --- a/tests/acceptance/v2/StatusCodeSpecificationCest.php +++ b/tests/acceptance/v2/StatusCodeSpecificationCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\StatusCodeSpecificationCest as StatusCodeSpecificationCestV1; diff --git a/tests/acceptance/v2/UrlConditionCest.php b/tests/acceptance/v2/UrlConditionCest.php index c2abe89..40ad574 100644 --- a/tests/acceptance/v2/UrlConditionCest.php +++ b/tests/acceptance/v2/UrlConditionCest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Server\Tests\V2; use Mcustiel\Phiremock\Server\Tests\V1\UrlConditionCest as UrlConditionCestV1; diff --git a/tests/codeception/extensions/ServerControl.php b/tests/codeception/extensions/ServerControl.php index dd316ce..e6d7a22 100644 --- a/tests/codeception/extensions/ServerControl.php +++ b/tests/codeception/extensions/ServerControl.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Codeception\Extensions; use Codeception\Event\SuiteEvent; diff --git a/tests/support/PhiremockTest.php b/tests/support/PhiremockTest.php index 281322f..00610ce 100644 --- a/tests/support/PhiremockTest.php +++ b/tests/support/PhiremockTest.php @@ -1,5 +1,22 @@ . + */ + namespace Mcustiel\Phiremock\Tests\Support; class PhiremockTest