From 3aa06581a638740570d9f434646fdb12008ad541 Mon Sep 17 00:00:00 2001 From: Ha Phan Date: Sun, 21 Aug 2016 23:14:53 +0800 Subject: [PATCH] Update PHP7 psr2 rule --- src/BlockStorage/v2/Api.php | 2 +- src/BlockStorage/v2/Models/Snapshot.php | 2 +- src/BlockStorage/v2/Models/Volume.php | 2 +- src/BlockStorage/v2/Models/VolumeAttachment.php | 2 +- src/BlockStorage/v2/Models/VolumeType.php | 2 +- src/BlockStorage/v2/Params.php | 2 +- src/BlockStorage/v2/Service.php | 6 +++--- src/Common/Api/AbstractApi.php | 2 +- src/Common/Api/AbstractParams.php | 2 +- src/Common/Api/ApiInterface.php | 2 +- src/Common/Api/Operation.php | 2 +- src/Common/Api/OperatorInterface.php | 2 +- src/Common/Api/OperatorTrait.php | 2 +- src/Common/Api/Parameter.php | 2 +- src/Common/ArrayAccessTrait.php | 2 +- src/Common/Auth/AuthHandler.php | 2 +- src/Common/Auth/Catalog.php | 2 +- src/Common/Auth/IdentityService.php | 2 +- src/Common/Auth/Token.php | 2 +- src/Common/Error/BadResponseError.php | 2 +- src/Common/Error/BaseError.php | 2 +- src/Common/Error/Builder.php | 2 +- src/Common/Error/NotImplementedError.php | 2 +- src/Common/Error/UserInputError.php | 2 +- src/Common/HydratorStrategyTrait.php | 2 +- src/Common/JsonPath.php | 2 +- src/Common/JsonSchema/JsonPatch.php | 2 +- src/Common/JsonSchema/Schema.php | 2 +- src/Common/Resource/AbstractResource.php | 2 +- src/Common/Resource/Creatable.php | 2 +- src/Common/Resource/Deletable.php | 2 +- src/Common/Resource/HasMetadata.php | 2 +- src/Common/Resource/HasWaiterTrait.php | 2 +- src/Common/Resource/Iterator.php | 2 +- src/Common/Resource/Listable.php | 2 +- src/Common/Resource/ResourceInterface.php | 2 +- src/Common/Resource/Retrievable.php | 2 +- src/Common/Resource/Updateable.php | 2 +- src/Common/Service/AbstractService.php | 2 +- src/Common/Service/Builder.php | 2 +- src/Common/Service/ServiceInterface.php | 2 +- src/Common/Transport/HandlerStack.php | 2 +- src/Common/Transport/JsonSerializer.php | 2 +- src/Common/Transport/Middleware.php | 2 +- src/Common/Transport/RequestSerializer.php | 2 +- src/Common/Transport/Utils.php | 2 +- src/Compute/v2/Api.php | 2 +- src/Compute/v2/Enum.php | 2 +- src/Compute/v2/Models/Flavor.php | 2 +- src/Compute/v2/Models/HypervisorStatistic.php | 2 +- src/Compute/v2/Models/Image.php | 2 +- src/Compute/v2/Models/Keypair.php | 2 +- src/Compute/v2/Models/Limit.php | 2 +- src/Compute/v2/Models/Server.php | 2 +- src/Compute/v2/Params.php | 2 +- src/Compute/v2/Service.php | 2 +- src/Identity/v2/Api.php | 2 +- src/Identity/v2/Models/Catalog.php | 2 +- src/Identity/v2/Models/Endpoint.php | 2 +- src/Identity/v2/Models/Entry.php | 2 +- src/Identity/v2/Models/Tenant.php | 2 +- src/Identity/v2/Models/Token.php | 2 +- src/Identity/v2/Service.php | 2 +- src/Identity/v3/Api.php | 2 +- src/Identity/v3/Enum.php | 2 +- src/Identity/v3/Models/Assignment.php | 2 +- src/Identity/v3/Models/Catalog.php | 2 +- src/Identity/v3/Models/Credential.php | 2 +- src/Identity/v3/Models/Domain.php | 2 +- src/Identity/v3/Models/Endpoint.php | 2 +- src/Identity/v3/Models/Group.php | 2 +- src/Identity/v3/Models/Policy.php | 2 +- src/Identity/v3/Models/Project.php | 2 +- src/Identity/v3/Models/Role.php | 2 +- src/Identity/v3/Models/Service.php | 2 +- src/Identity/v3/Models/Token.php | 2 +- src/Identity/v3/Models/User.php | 2 +- src/Identity/v3/Params.php | 2 +- src/Identity/v3/Service.php | 2 +- src/Images/v2/Api.php | 2 +- src/Images/v2/JsonPatch.php | 2 +- src/Images/v2/Models/Image.php | 2 +- src/Images/v2/Models/Member.php | 2 +- src/Images/v2/Models/Schema.php | 2 +- src/Images/v2/Params.php | 2 +- src/Images/v2/Service.php | 2 +- src/Networking/v2/Api.php | 2 +- .../Extensions/SecurityGroups/Models/SecurityGroup.php | 2 +- .../SecurityGroups/Models/SecurityGroupRule.php | 2 +- src/Networking/v2/Models/Network.php | 2 +- src/Networking/v2/Models/Port.php | 2 +- src/Networking/v2/Models/Subnet.php | 2 +- src/Networking/v2/Params.php | 2 +- src/Networking/v2/Service.php | 2 +- src/ObjectStore/v1/Api.php | 2 +- src/ObjectStore/v1/Models/Account.php | 2 +- src/ObjectStore/v1/Models/Container.php | 2 +- src/ObjectStore/v1/Models/MetadataTrait.php | 2 +- src/ObjectStore/v1/Models/Object.php | 2 +- src/ObjectStore/v1/Params.php | 2 +- src/ObjectStore/v1/Service.php | 2 +- src/OpenStack.php | 2 +- tests/unit/Common/Error/BuilderTest.php | 10 +++++++--- tests/unit/Common/Transport/MiddlewareTest.php | 3 ++- .../SecurityGroups/Models/SecurityGroupRuleTest.php | 2 +- .../SecurityGroups/Models/SecurityGroupTest.php | 2 +- 106 files changed, 115 insertions(+), 110 deletions(-) diff --git a/src/BlockStorage/v2/Api.php b/src/BlockStorage/v2/Api.php index 6272b954..440aec1e 100644 --- a/src/BlockStorage/v2/Api.php +++ b/src/BlockStorage/v2/Api.php @@ -1,4 +1,4 @@ -