Skip to content

Commit

Permalink
Merge pull request #87 from haphan/psr2-update
Browse files Browse the repository at this point in the history
[rfr] Update PHP7 PSR-2 rules
  • Loading branch information
haphan authored Aug 21, 2016
2 parents 809fe6d + 3aa0658 commit b5ace79
Show file tree
Hide file tree
Showing 106 changed files with 115 additions and 110 deletions.
2 changes: 1 addition & 1 deletion src/BlockStorage/v2/Api.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\BlockStorage\v2;

Expand Down
2 changes: 1 addition & 1 deletion src/BlockStorage/v2/Models/Snapshot.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\BlockStorage\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/BlockStorage/v2/Models/Volume.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);
namespace OpenStack\BlockStorage\v2\Models;

use OpenStack\Common\Resource\OperatorResource;
Expand Down
2 changes: 1 addition & 1 deletion src/BlockStorage/v2/Models/VolumeAttachment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);
namespace OpenStack\BlockStorage\v2\Models;

use OpenStack\Common\Resource\Listable;
Expand Down
2 changes: 1 addition & 1 deletion src/BlockStorage/v2/Models/VolumeType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\BlockStorage\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/BlockStorage/v2/Params.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\BlockStorage\v2;

Expand Down
6 changes: 3 additions & 3 deletions src/BlockStorage/v2/Service.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\BlockStorage\v2;

Expand All @@ -15,7 +15,7 @@ class Service extends AbstractService
/**
* Provisions a new bootable volume, based either on an existing volume, image or snapshot.
* You must have enough volume storage quota remaining to create a volume of size requested.
*
*
* @param array $userOptions {@see Api::postVolumes}
*
* @return Volume
Expand All @@ -27,7 +27,7 @@ public function createVolume(array $userOptions): Volume

/**
* Lists all available volumes.
*
*
* @param bool $detail If set to TRUE, more information will be returned.
* @param array $userOptions {@see Api::getVolumes}
*
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/AbstractApi.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/AbstractParams.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/ApiInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/Operation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/OperatorInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/OperatorTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Api/Parameter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Api;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/ArrayAccessTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Auth/AuthHandler.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Auth;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Auth/Catalog.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Auth;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Auth/IdentityService.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Auth;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Auth/Token.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Auth;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Error/BadResponseError.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Error;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Error/BaseError.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Error;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Error/Builder.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Error;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Error/NotImplementedError.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Error;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Error/UserInputError.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Error;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/HydratorStrategyTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/JsonPath.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Common;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/JsonSchema/JsonPatch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\JsonSchema;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/JsonSchema/Schema.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\JsonSchema;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/AbstractResource.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/Creatable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/Deletable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/HasMetadata.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/HasWaiterTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/Iterator.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/Listable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/ResourceInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/Retrievable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Resource/Updateable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Resource;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Service/AbstractService.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Service;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Service/Builder.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Service;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Service/ServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Service;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Transport/HandlerStack.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Transport;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Transport/JsonSerializer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Transport;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Transport/Middleware.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Transport;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Transport/RequestSerializer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Transport;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Transport/Utils.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Common\Transport;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Api.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Enum.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Models/Flavor.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Models/HypervisorStatistic.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Models/Image.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Models/Keypair.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Models/Limit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types = 1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Models/Server.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Params.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2;

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/v2/Service.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Compute\v2;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Api.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Models/Catalog.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Models/Endpoint.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Models/Entry.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Models/Tenant.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Models/Token.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2\Models;

Expand Down
2 changes: 1 addition & 1 deletion src/Identity/v2/Service.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);

namespace OpenStack\Identity\v2;

Expand Down
Loading

0 comments on commit b5ace79

Please sign in to comment.