Skip to content

Commit 732ed6f

Browse files
committed
code style
1 parent 890220f commit 732ed6f

File tree

8 files changed

+7
-17
lines changed

8 files changed

+7
-17
lines changed

src/bundle/Core/DependencyInjection/Configuration/Parser/Common.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
use Ibexa\Bundle\Core\DependencyInjection\Configuration\AbstractParser;
1111
use Ibexa\Bundle\Core\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;
12-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorAwareInterface;
13-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorInterface;
14-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\ConfigSuggestion;
1512
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
1613

1714
/**

src/bundle/Core/DependencyInjection/Configuration/Parser/Image.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
use Ibexa\Bundle\Core\DependencyInjection\Configuration\AbstractParser;
1111
use Ibexa\Bundle\Core\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;
12-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorAwareInterface;
13-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorInterface;
14-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\ConfigSuggestion;
1512
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
1613

1714
/**

src/lib/IO/IOMetadataHandler/LegacyDFSCluster.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public function __construct(Connection $connection, UrlDecorator $urlDecorator =
4646
* @param \Ibexa\Contracts\Core\IO\BinaryFileCreateStruct $spiBinaryFileCreateStruct
4747
*
4848
* @return \Ibexa\Contracts\Core\IO\BinaryFile
49-
*@throws \RuntimeException if a DBAL error occurs
5049
*
50+
*@throws \RuntimeException if a DBAL error occurs
5151
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentException if the $binaryFileCreateStruct is invalid
52-
* @since 6.10 The mtime of the $binaryFileCreateStruct must be a DateTime, as specified in the struct doc.
5352
*
53+
* @since 6.10 The mtime of the $binaryFileCreateStruct must be a DateTime, as specified in the struct doc.
5454
*/
5555
public function create(SPIBinaryFileCreateStruct $spiBinaryFileCreateStruct)
5656
{

tests/bundle/Core/DependencyInjection/Configuration/Parser/CommonTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
namespace Ibexa\Tests\Bundle\Core\DependencyInjection\Configuration\Parser;
99

1010
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Parser\Common;
11-
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorInterface;
1211
use Ibexa\Bundle\Core\DependencyInjection\IbexaCoreExtension;
1312
use Symfony\Component\Yaml\Yaml;
1413

@@ -212,7 +211,7 @@ public function sessionSettingsProvider()
212211
'cookie_httponly' => true,
213212
],
214213
],
215-
]
214+
],
216215
];
217216
}
218217
}

tests/integration/Core/Repository/ContentServiceAuthorizationTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Ibexa\Contracts\Core\Repository\Repository;
1212
use Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo;
1313
use Ibexa\Contracts\Core\Repository\Values\Content\Location;
14-
use Ibexa\Contracts\Core\Repository\Values\Content\RelationList\RelationListItemInterface;
1514
use Ibexa\Contracts\Core\Repository\Values\User\Limitation\LanguageLimitation;
1615
use Ibexa\Contracts\Core\Repository\Values\User\Limitation\LocationLimitation;
1716
use Ibexa\Contracts\Core\Repository\Values\User\Limitation\SubtreeLimitation;
@@ -1197,7 +1196,7 @@ public function testLoadRelationsWithUnauthorizedRelations()
11971196

11981197
// assert each relation
11991198
/**
1200-
* @var RelationListItemInterface $relationListItem
1199+
* @var \Ibexa\Contracts\Core\Repository\Values\Content\RelationList\RelationListItemInterface $relationListItem
12011200
*/
12021201
foreach ($actualRelations as $relationListItem) {
12031202
$relation = $relationListItem->getRelation();

tests/integration/Core/Repository/ContentServiceTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Ibexa\Contracts\Core\Repository\Values\Content\ContentCreateStruct;
1818
use Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo;
1919
use Ibexa\Contracts\Core\Repository\Values\Content\ContentMetadataUpdateStruct;
20-
use Ibexa\Contracts\Core\Repository\Values\Content\DraftList\ContentDraftListItemInterface;
2120
use Ibexa\Contracts\Core\Repository\Values\Content\DraftList\Item\UnauthorizedContentDraftListItem;
2221
use Ibexa\Contracts\Core\Repository\Values\Content\Field;
2322
use Ibexa\Contracts\Core\Repository\Values\Content\Language;
@@ -2431,7 +2430,7 @@ public function testLoadContentDraftList()
24312430
$this->contentService->createContentDraft($demoDesignContentInfo);
24322431

24332432
// Now $contentDrafts should contain two drafted versions
2434-
/** @var ContentDraftListItemInterface[] $draftedVersions */
2433+
/** @var \Ibexa\Contracts\Core\Repository\Values\Content\DraftList\ContentDraftListItemInterface[] $draftedVersions */
24352434
$draftedVersions = iterator_to_array($this->contentService->loadContentDraftList()->getIterator());
24362435

24372436
$actual = [
@@ -2476,7 +2475,7 @@ public function testLoadContentDraftsWithFirstParameter()
24762475
$this->permissionResolver->setCurrentUserReference($oldCurrentUser);
24772476

24782477
// Now $contentDrafts for the previous current user and the new user
2479-
/** @var ContentDraftListItemInterface[] $newCurrentUserDrafts */
2478+
/** @var \Ibexa\Contracts\Core\Repository\Values\Content\DraftList\ContentDraftListItemInterface[] $newCurrentUserDrafts */
24802479
$newCurrentUserDrafts = iterator_to_array($this->contentService->loadContentDraftList($user)->getIterator());
24812480
$oldCurrentUserDrafts = iterator_to_array($this->contentService->loadContentDraftList()->getIterator());
24822481

tests/lib/MVC/Symfony/Component/Serializer/SimplifiedRequestNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function testNormalize(): void
4949
public function testNormalizeWithNewConstructor(): void
5050
{
5151
$request = new SimplifiedRequest(
52-
'http',
52+
'http',
5353
'www.example.com',
5454
8080,
5555
'/foo',

tests/lib/MVC/Symfony/View/ViewManagerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Ibexa\Core\MVC\Symfony\View\Configurator;
1515
use Ibexa\Core\MVC\Symfony\View\Manager;
1616
use Ibexa\Core\MVC\Symfony\View\View;
17-
use Ibexa\Core\MVC\Symfony\View\ViewProvider;
1817
use Ibexa\Core\Repository\ContentService;
1918
use Ibexa\Core\Repository\Values\Content\Content;
2019
use Ibexa\Core\Repository\Values\Content\Location;

0 commit comments

Comments
 (0)