Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Oct 25, 2024
1 parent d9724fa commit a5a6257
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

use Ibexa\Bundle\Core\DependencyInjection\Configuration\AbstractParser;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorAwareInterface;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorInterface;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\ConfigSuggestion;
use Symfony\Component\Config\Definition\Builder\NodeBuilder;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

use Ibexa\Bundle\Core\DependencyInjection\Configuration\AbstractParser;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorAwareInterface;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorInterface;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\ConfigSuggestion;
use Symfony\Component\Config\Definition\Builder\NodeBuilder;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/lib/IO/IOMetadataHandler/LegacyDFSCluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public function __construct(Connection $connection, UrlDecorator $urlDecorator =
* @param \Ibexa\Contracts\Core\IO\BinaryFileCreateStruct $spiBinaryFileCreateStruct
*
* @return \Ibexa\Contracts\Core\IO\BinaryFile
*@throws \RuntimeException if a DBAL error occurs
*
*@throws \RuntimeException if a DBAL error occurs
* @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentException if the $binaryFileCreateStruct is invalid
* @since 6.10 The mtime of the $binaryFileCreateStruct must be a DateTime, as specified in the struct doc.
*
* @since 6.10 The mtime of the $binaryFileCreateStruct must be a DateTime, as specified in the struct doc.
*/
public function create(SPIBinaryFileCreateStruct $spiBinaryFileCreateStruct)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
namespace Ibexa\Tests\Bundle\Core\DependencyInjection\Configuration\Parser;

use Ibexa\Bundle\Core\DependencyInjection\Configuration\Parser\Common;
use Ibexa\Bundle\Core\DependencyInjection\Configuration\Suggestion\Collector\SuggestionCollectorInterface;
use Ibexa\Bundle\Core\DependencyInjection\IbexaCoreExtension;
use Symfony\Component\Yaml\Yaml;

Expand Down Expand Up @@ -212,7 +211,7 @@ public function sessionSettingsProvider()
'cookie_httponly' => true,
],
],
]
],
];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Ibexa\Contracts\Core\Repository\Repository;
use Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo;
use Ibexa\Contracts\Core\Repository\Values\Content\Location;
use Ibexa\Contracts\Core\Repository\Values\Content\RelationList\RelationListItemInterface;
use Ibexa\Contracts\Core\Repository\Values\User\Limitation\LanguageLimitation;
use Ibexa\Contracts\Core\Repository\Values\User\Limitation\LocationLimitation;
use Ibexa\Contracts\Core\Repository\Values\User\Limitation\SubtreeLimitation;
Expand Down Expand Up @@ -1197,7 +1196,7 @@ public function testLoadRelationsWithUnauthorizedRelations()

// assert each relation
/**
* @var RelationListItemInterface $relationListItem
* @var \Ibexa\Contracts\Core\Repository\Values\Content\RelationList\RelationListItemInterface $relationListItem
*/
foreach ($actualRelations as $relationListItem) {
$relation = $relationListItem->getRelation();
Expand Down
5 changes: 2 additions & 3 deletions tests/integration/Core/Repository/ContentServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Ibexa\Contracts\Core\Repository\Values\Content\ContentCreateStruct;
use Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo;
use Ibexa\Contracts\Core\Repository\Values\Content\ContentMetadataUpdateStruct;
use Ibexa\Contracts\Core\Repository\Values\Content\DraftList\ContentDraftListItemInterface;
use Ibexa\Contracts\Core\Repository\Values\Content\DraftList\Item\UnauthorizedContentDraftListItem;
use Ibexa\Contracts\Core\Repository\Values\Content\Field;
use Ibexa\Contracts\Core\Repository\Values\Content\Language;
Expand Down Expand Up @@ -2433,7 +2432,7 @@ public function testLoadContentDraftList()
$this->contentService->createContentDraft($demoDesignContentInfo);

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

$actual = [
Expand Down Expand Up @@ -2478,7 +2477,7 @@ public function testLoadContentDraftsWithFirstParameter()
$this->permissionResolver->setCurrentUserReference($oldCurrentUser);

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testNormalize(): void
public function testNormalizeWithNewConstructor(): void
{
$request = new SimplifiedRequest(
'http',
'http',
'www.example.com',
8080,
'/foo',
Expand Down
1 change: 0 additions & 1 deletion tests/lib/MVC/Symfony/View/ViewManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use Ibexa\Core\MVC\Symfony\View\Configurator;
use Ibexa\Core\MVC\Symfony\View\Manager;
use Ibexa\Core\MVC\Symfony\View\View;
use Ibexa\Core\MVC\Symfony\View\ViewProvider;
use Ibexa\Core\Repository\ContentService;
use Ibexa\Core\Repository\Values\Content\Content;
use Ibexa\Core\Repository\Values\Content\Location;
Expand Down

0 comments on commit a5a6257

Please sign in to comment.