Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Updated dev dependencies
Browse files Browse the repository at this point in the history
Also moved to PSR12
  • Loading branch information
matthewbdaly committed Sep 17, 2019
1 parent f570d87 commit 6b27618
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"league/flysystem-azure-blob-storage": "^0.1.4"
},
"require-dev": {
"orchestra/testbench": "^3.8",
"orchestra/testbench": "^4.0",
"phpunit/phpunit": "^8.0",
"mockery/mockery": "^1.0",
"squizlabs/php_codesniffer": "^3.1",
"psy/psysh": "^0.8.13",
"php-coveralls/php-coveralls": "^2.1"
"php-coveralls/php-coveralls": "^2.1",
"psy/psysh": "^0.9.9",
"squizlabs/php_codesniffer": "^3.4"
},
"license": "MIT",
"authors": [
Expand Down
6 changes: 2 additions & 4 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<description>Coding standard for Microsoft Azure Blob Storage integration.</description>
<file>src</file>
<arg value="np"/>
<rule ref="PSR2"/>
<rule ref="Squiz.Commenting.FunctionComment" />
<rule ref="Squiz.Commenting.FunctionCommentThrowTag" />
<rule ref="Squiz.Commenting.ClassComment" />
<rule ref="PSR12"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
</ruleset>
2 changes: 1 addition & 1 deletion src/AzureBlobStorageAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct(BlobRestProxy $client, string $container, string $ur
$this->client = $client;
$this->container = $container;
if ($url && !filter_var($url, FILTER_VALIDATE_URL)) {
throw new InvalidCustomUrl;
throw new InvalidCustomUrl();
}
$this->url = $url;
$this->setPathPrefix($prefix);
Expand Down

0 comments on commit 6b27618

Please sign in to comment.