Skip to content

Commit d9b72df

Browse files
authored
IBX-4470: Rebranded Flysystem filesystem service ID (#616)
* Rebranded Flysystem filesystem service ID * [Tests] Aligned BaseFlysystemTestCase with rebranded service ID * [PHPStan] Removed resolved issue from the baseline
1 parent 5b8100e commit d9b72df

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24798,12 +24798,6 @@ parameters:
2479824798
count: 1
2479924799
path: tests/bundle/IO/DependencyInjection/ConfigurationFactory/BaseFlysystemTestCase.php
2480024800

24801-
-
24802-
message: '#^Property Ibexa\\Tests\\Bundle\\IO\\DependencyInjection\\ConfigurationFactory\\BaseFlysystemTestCase\:\:\$filesystemServiceId has no type specified\.$#'
24803-
identifier: missingType.property
24804-
count: 1
24805-
path: tests/bundle/IO/DependencyInjection/ConfigurationFactory/BaseFlysystemTestCase.php
24806-
2480724801
-
2480824802
message: '#^Property Ibexa\\Tests\\Bundle\\IO\\DependencyInjection\\ConfigurationFactory\\BaseFlysystemTestCase\:\:\$flysystemAdapterServiceId has no type specified\.$#'
2480924803
identifier: missingType.property

src/bundle/IO/DependencyInjection/ConfigurationFactory/Flysystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private function createFilesystem(ContainerBuilder $container, $name, $adapter):
6565
throw new InvalidConfigurationException("Unknown flysystem adapter $adapter");
6666
}
6767

68-
$filesystemId = sprintf('ezpublish.core.io.flysystem.%s_filesystem', $name);
68+
$filesystemId = sprintf('ibexa.core.io.flysystem.%s_filesystem', $name);
6969
$filesystemServiceDefinition = new ChildDefinition('ibexa.core.io.flysystem.base_filesystem');
7070
$definition = $container->setDefinition(
7171
$filesystemId,

tests/bundle/IO/DependencyInjection/ConfigurationFactory/BaseFlysystemTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ abstract class BaseFlysystemTestCase extends ConfigurationFactoryTestCase
1515
{
1616
private $flysystemAdapterServiceId = 'oneup_flysystem.test_adapter';
1717

18-
private $filesystemServiceId = 'ezpublish.core.io.flysystem.my_test_handler_filesystem';
18+
private string $filesystemServiceId = 'ibexa.core.io.flysystem.my_test_handler_filesystem';
1919

2020
public function provideHandlerConfiguration()
2121
{

0 commit comments

Comments
 (0)