Skip to content

Commit bbb9555

Browse files
committed
ignored factories of external adapters
1 parent 4b5b19f commit bbb9555

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

dev/tests/static/testsuite/Magento/Test/Php/_files/phpstan/blacklist/common.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ dev/tests/api-functional/testsuite/Magento/Customer/Api/AddressRepositoryTest.ph
1414
dev/tests/api-functional/testsuite/Magento/Framework/Model/Entity/HydratorTest.php
1515
dev/tests/api-functional/testsuite/Magento/Integration/Model/AdminTokenServiceTest.php
1616
dev/tests/api-functional/testsuite/Magento/Integration/Model/CustomerTokenServiceTest.php
17+
lib/internal/Magento/Framework/Storage/AdapterFactory/AwsS3Factory.php
18+
lib/internal/Magento/Framework/Storage/AdapterFactory/AzureFactory.php

lib/internal/Magento/Framework/Storage/AdapterFactory/AwsS3Factory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class AwsS3Factory implements AdapterFactoryInterface
2020
*/
2121
public function create(array $options): AdapterInterface
2222
{
23-
// phpstan:ignore
2423
if (empty($options['client']) || empty($options['bucket'])) {
2524
throw new InvalidStorageConfigurationException(
2625
"Can't create AWS S3 adapter: required 'client' and/or 'bucket' options are absent"

lib/internal/Magento/Framework/Storage/AdapterFactory/AzureFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class AzureFactory implements AdapterFactoryInterface
2020
*/
2121
public function create(array $options): AdapterInterface
2222
{
23-
// phpstan:ignore
2423
if (empty($options['connection_string']) || empty($options['container_name'])) {
2524
throw new InvalidStorageConfigurationException(
2625
"Can't create Azure Blob storage adapter: " .

0 commit comments

Comments
 (0)