Skip to content

Commit

Permalink
UHF-9113: Fix phpcs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Oct 24, 2023
1 parent 31ab472 commit 5293097
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/AzureBlobStorageAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

/**
* @file
* AzureBlobStorageAdapter.php from league/flysystem-azure-blob-storage:1.0.0
* with small changes to make the dependencies play nicely with Drupal 10.
* AzureBlobStorageAdapter.php from league/flysystem-azure-blob-storage:1.0.0.
* Modified to make this play nicely with Drupal 10 dependencies.
*
* @license MIT
* @license https://github.com/thephpleague/flysystem-azure-blob-storage/blob/1.0.0/LICENSE
*/

// phpcs:ignoreFile

namespace Drupal\helfi_azure_fs;

use GuzzleHttp\Psr7\Utils as GuzzleUtil;
use League\Flysystem\Adapter\AbstractAdapter;
use League\Flysystem\Adapter\Polyfill\NotSupportingVisibilityTrait;
use League\Flysystem\Config;
Expand All @@ -22,7 +25,6 @@
use MicrosoftAzure\Storage\Blob\Models\ListBlobsOptions;
use MicrosoftAzure\Storage\Common\Exceptions\ServiceException;
use MicrosoftAzure\Storage\Common\Models\ContinuationToken;
use GuzzleHttp\Psr7\Utils as GuzzleUtil;

use function array_merge;
use function compact;
Expand Down
4 changes: 2 additions & 2 deletions src/Flysystem/Azure.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
namespace Drupal\helfi_azure_fs\Flysystem;

use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\File\FileUrlGeneratorInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\flysystem\Plugin\FlysystemPluginInterface;
use Drupal\Core\File\FileUrlGeneratorInterface;
use Drupal\helfi_azure_fs\Flysystem\Adapter\AzureBlobStorageAdapter;
use Drupal\flysystem\Plugin\FlysystemUrlTrait;
use Drupal\helfi_azure_fs\Flysystem\Adapter\AzureBlobStorageAdapter;
use MicrosoftAzure\Storage\Blob\BlobRestProxy;
use MicrosoftAzure\Storage\Blob\Internal\BlobResources;
use MicrosoftAzure\Storage\Common\Internal\Authentication\SharedAccessSignatureAuthScheme;
Expand Down

0 comments on commit 5293097

Please sign in to comment.