Skip to content

Commit 1738c87

Browse files
committed
TASK: Apply new linter fixes
Related: #4949 #4580
1 parent b418924 commit 1738c87

File tree

50 files changed

+83
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+83
-89
lines changed

Neos.ContentGraph.DoctrineDbalAdapter/src/Domain/Repository/ProjectionContentGraph.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function getAnchorPointsForNodeAggregateInContentStream(
203203
)->fetchAllAssociative();
204204

205205
return array_map(
206-
fn($row) => NodeRelationAnchorPoint::fromInteger($row['relationanchorpoint']),
206+
fn ($row) => NodeRelationAnchorPoint::fromInteger($row['relationanchorpoint']),
207207
$rows
208208
);
209209
}

Neos.ContentGraph.PostgreSQLAdapter/src/Domain/Projection/Feature/SubtreeTagging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private function whenSubtreeWasTagged(SubtreeWasTagged $event): void
4242

4343
/** @codingStandardsIgnoreStart */
4444
foreach ($descendantNodeAggregateIdsByAffectedDimensionSpacePoint as $dimensionSpacePointHash => $descendantNodeAggregateIds) {
45-
/** @codingStandardsIgnoreEnd */
45+
/** @codingStandardsIgnoreEnd */
4646
$restrictionRelation = new RestrictionHyperrelationRecord(
4747
$event->contentStreamId,
4848
$dimensionSpacePointHash,

Neos.ContentGraph.PostgreSQLAdapter/src/Domain/Projection/SchemaBuilder/HypergraphSchemaBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,6 @@ private function createRestrictionHyperrelationTable(Schema $schema): void
145145
->addIndex(['contentstreamid'])
146146
->addIndex(['dimensionspacepointhash'])
147147
->addIndex(['originnodeaggregateid']);
148-
/** NOTE: the GIN index on affectednodeaggregateids is added in {@see HypergraphProjection::setupTables()} */
148+
/** NOTE: the GIN index on affectednodeaggregateids is added in {@see HypergraphProjection::setupTables()} */
149149
}
150150
}

Neos.ContentRepository.BehavioralTests/Classes/Command/PerformanceMeasurementCommandController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function preparePerformanceTestCommand(int $nodesPerLevel, int $levels):
4848
$this->performanceMeasurementService->removeEverything();
4949
$this->outputLine("All removed. Starting to fill.");
5050
CatchUpTriggerWithSynchronousOption::synchronously(
51-
fn() => GraphProjectorCatchUpHookForCacheFlushing::disabled(
52-
fn() => $this->performanceMeasurementService->createNodesForPerformanceTest($nodesPerLevel, $levels)
51+
fn () => GraphProjectorCatchUpHookForCacheFlushing::disabled(
52+
fn () => $this->performanceMeasurementService->createNodesForPerformanceTest($nodesPerLevel, $levels)
5353
)
5454
);
5555
}
@@ -63,7 +63,7 @@ public function testPerformanceCommand(): void
6363
{
6464
$time = microtime(true);
6565
CatchUpTriggerWithSynchronousOption::synchronously(
66-
fn() => $this->performanceMeasurementService->forkContentStream()
66+
fn () => $this->performanceMeasurementService->forkContentStream()
6767
);
6868

6969
$timeElapsed = microtime(true) - $time;

Neos.ContentRepository.BehavioralTests/Classes/ProjectionRaceConditionTester/Command/RaceConditionTrackerCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function (
176176

177177
$table = new Table($this->output->getOutput());
178178
$table
179-
->setHeaders(['Line', 'ID', ...array_map(fn(string $pid) => 'PID ' . $pid, $pids)])
179+
->setHeaders(['Line', 'ID', ...array_map(fn (string $pid) => 'PID ' . $pid, $pids)])
180180
->setRows($tableRows);
181181
$table->render();
182182
}

Neos.ContentRepository.BehavioralTests/Classes/TestSuite/Behavior/GherkinPyStringNodeBasedNodeTypeManagerFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public static function initializeWithPyStringNode(PyStringNode $nodeTypesToUse):
4646
{
4747
self::$nodeTypesToUse = new NodeTypeManager(
4848
fn (): array => Yaml::parse($nodeTypesToUse->getRaw()) ?? [],
49-
new class implements NodeLabelGeneratorFactoryInterface {
49+
new class () implements NodeLabelGeneratorFactoryInterface {
5050
public function create(NodeType $nodeType): NodeLabelGeneratorInterface
5151
{
52-
return new class implements NodeLabelGeneratorInterface {
52+
return new class () implements NodeLabelGeneratorInterface {
5353
public function getLabel(Node $node): string
5454
{
5555
return $node->nodeTypeName->value;

Neos.ContentRepository.Core/Classes/ContentRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function catchUpProjection(string $projectionClassName, CatchUpOptions $o
187187

188188
if ($catchUpHook !== null) {
189189
$catchUpHook->onBeforeCatchUp();
190-
$catchUp = $catchUp->withOnBeforeBatchCompleted(fn() => $catchUpHook->onBeforeBatchCompleted());
190+
$catchUp = $catchUp->withOnBeforeBatchCompleted(fn () => $catchUpHook->onBeforeBatchCompleted());
191191
}
192192
$catchUp->run($eventStream);
193193
$catchUpHook?->onAfterCatchUp();

Neos.ContentRepository.Core/Classes/EventStore/EventPersister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function publishEvents(EventsToPublish $eventsToPublish): CommandResult
4444
// the following logic could also be done in an AppEventStore::commit method (being called
4545
// directly from the individual Command Handlers).
4646
$normalizedEvents = Events::fromArray(
47-
$eventsToPublish->events->map(fn(EventInterface|DecoratedEvent $event) => $this->normalizeEvent($event))
47+
$eventsToPublish->events->map(fn (EventInterface|DecoratedEvent $event) => $this->normalizeEvent($event))
4848
);
4949
$commitResult = $this->eventStore->commit(
5050
$eventsToPublish->streamName,

Neos.ContentRepository.Core/Classes/Feature/NodeDisabling/Command/DisableNodeAggregate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ public function jsonSerialize(): array
8484
public function matchesNodeId(NodeIdToPublishOrDiscard $nodeIdToPublish): bool
8585
{
8686
return (
87-
$this->coveredDimensionSpacePoint === $nodeIdToPublish->dimensionSpacePoint
88-
&& $this->nodeAggregateId->equals($nodeIdToPublish->nodeAggregateId)
87+
$this->coveredDimensionSpacePoint === $nodeIdToPublish->dimensionSpacePoint
88+
&& $this->nodeAggregateId->equals($nodeIdToPublish->nodeAggregateId)
8989
);
9090
}
9191

Neos.ContentRepository.Core/Classes/Feature/NodeModification/Dto/SerializedPropertyValues.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function splitByScope(NodeType $nodeType): array
131131
}
132132

133133
return array_map(
134-
fn(array $propertyValues): self => self::fromArray($propertyValues),
134+
fn (array $propertyValues): self => self::fromArray($propertyValues),
135135
$propertyValuesByScope
136136
);
137137
}

Neos.ContentRepository.Core/Classes/Feature/NodeModification/NodeModification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private function splitPropertiesToUnsetByScope(PropertyNames $propertiesToUnset,
152152
}
153153

154154
return array_map(
155-
fn(array $propertyValues): PropertyNames => PropertyNames::fromArray($propertyValues),
155+
fn (array $propertyValues): PropertyNames => PropertyNames::fromArray($propertyValues),
156156
$propertiesToUnsetByScope
157157
);
158158
}

Neos.ContentRepository.Core/Classes/NodeType/NodeTypeNames.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function fromArray(array $array): self
5050
public static function fromStringArray(array $array): self
5151
{
5252
return new self(... array_map(
53-
fn(string $serializedNodeTypeName): NodeTypeName => NodeTypeName::fromString($serializedNodeTypeName),
53+
fn (string $serializedNodeTypeName): NodeTypeName => NodeTypeName::fromString($serializedNodeTypeName),
5454
$array
5555
));
5656
}
@@ -84,7 +84,7 @@ public function getIterator(): \Traversable
8484
*/
8585
public function toStringArray(): array
8686
{
87-
return array_map(fn(NodeTypeName $nodeTypeName) => $nodeTypeName->value, $this->nodeTypeNames);
87+
return array_map(fn (NodeTypeName $nodeTypeName) => $nodeTypeName->value, $this->nodeTypeNames);
8888
}
8989

9090
public function isEmpty(): bool

Neos.ContentRepository.Core/Classes/Projection/CatchUpHookFactories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private function has(string $catchUpHookFactoryClassName): bool
4646

4747
public function build(ContentRepository $contentRepository): CatchUpHookInterface
4848
{
49-
$catchUpHooks = array_map(static fn(CatchUpHookFactoryInterface $catchUpHookFactory) => $catchUpHookFactory->build($contentRepository), $this->catchUpHookFactories);
49+
$catchUpHooks = array_map(static fn (CatchUpHookFactoryInterface $catchUpHookFactory) => $catchUpHookFactory->build($contentRepository), $this->catchUpHookFactories);
5050
return new DelegatingCatchUpHook(...$catchUpHooks);
5151
}
5252
}

Neos.ContentRepository.Core/Classes/SharedModel/Node/NodeAggregateIds.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static function fromJsonString(string $jsonString): self
7171
public static function fromNodes(Nodes $nodes): self
7272
{
7373
return self::fromArray(
74-
array_map(fn(Node $node) => $node->nodeAggregateId, iterator_to_array($nodes))
74+
array_map(fn (Node $node) => $node->nodeAggregateId, iterator_to_array($nodes))
7575
);
7676
}
7777

Neos.ContentRepository.TestSuite/Classes/Behavior/Features/Bootstrap/NodeTraversalTrait.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function iExecuteTheFindChildNodesQueryIExpectTheFollowingNodes(string $p
5858
$filter = FindChildNodesFilter::create(...$filterValues);
5959
$subgraph = $this->getCurrentSubgraph();
6060

61-
$actualNodeIds = array_map(static fn(Node $node) => $node->nodeAggregateId->value, iterator_to_array($subgraph->findChildNodes($parentNodeAggregateId, $filter)));
61+
$actualNodeIds = array_map(static fn (Node $node) => $node->nodeAggregateId->value, iterator_to_array($subgraph->findChildNodes($parentNodeAggregateId, $filter)));
6262
Assert::assertSame($expectedNodeIds, $actualNodeIds, 'findChildNodes returned an unexpected result');
6363
$actualCount = $subgraph->countChildNodes($parentNodeAggregateId, CountChildNodesFilter::fromFindChildNodesFilter($filter));
6464
Assert::assertSame($expectedTotalCount ?? count($expectedNodeIds), $actualCount, 'countChildNodes returned an unexpected result');
@@ -75,7 +75,7 @@ public function iExecuteTheFindReferencesQueryIExpectTheFollowingReferences(stri
7575
$filter = FindReferencesFilter::create(...$filterValues);
7676
$subgraph = $this->getCurrentSubgraph();
7777

78-
$actualReferences = array_map(static fn(Reference $reference) => [
78+
$actualReferences = array_map(static fn (Reference $reference) => [
7979
'nodeAggregateId' => $reference->node->nodeAggregateId->value,
8080
'name' => $reference->name->value,
8181
'properties' => json_decode(json_encode($reference->properties?->serialized(), JSON_THROW_ON_ERROR), true, 512, JSON_THROW_ON_ERROR)
@@ -94,7 +94,7 @@ public function iExecuteTheFindBackReferencesQueryIExpectTheFollowingReferences(
9494
$filterValues = !empty($filterSerialized) ? json_decode($filterSerialized, true, 512, JSON_THROW_ON_ERROR) : [];
9595
$filter = FindBackReferencesFilter::create(...$filterValues);
9696
$subgraph = $this->getCurrentSubgraph();
97-
$actualReferences = array_map(static fn(Reference $reference) => [
97+
$actualReferences = array_map(static fn (Reference $reference) => [
9898
'nodeAggregateId' => $reference->node->nodeAggregateId->value,
9999
'name' => $reference->name->value,
100100
'properties' => json_decode(json_encode($reference->properties?->serialized(), JSON_THROW_ON_ERROR), true, 512, JSON_THROW_ON_ERROR)
@@ -181,7 +181,7 @@ public function iExecuteTheFindSucceedingSiblingNodesQueryIExpectTheFollowingNod
181181
$filter = FindSucceedingSiblingNodesFilter::create(...$filterValues);
182182

183183
$actualNodeIds = array_map(
184-
static fn(Node $node) => $node->nodeAggregateId->value,
184+
static fn (Node $node) => $node->nodeAggregateId->value,
185185
iterator_to_array($this->getCurrentSubgraph()->findSucceedingSiblingNodes($siblingNodeAggregateId, $filter))
186186
);
187187
Assert::assertSame($expectedNodeIds, $actualNodeIds);
@@ -198,7 +198,7 @@ public function iExecuteTheFindPrecedingSiblingNodesQueryIExpectTheFollowingNode
198198
$filter = FindPrecedingSiblingNodesFilter::create(...$filterValues);
199199

200200
$actualNodeIds = array_map(
201-
static fn(Node $node) => $node->nodeAggregateId->value,
201+
static fn (Node $node) => $node->nodeAggregateId->value,
202202
iterator_to_array($this->getCurrentSubgraph()->findPrecedingSiblingNodes($siblingNodeAggregateId, $filter))
203203
);
204204
Assert::assertSame($expectedNodeIds, $actualNodeIds);
@@ -248,7 +248,7 @@ public function iExecuteTheFindSubtreeQueryIExpectTheFollowingTrees(string $entr
248248
$subtree = array_shift($subtreeStack);
249249
$tags = [];
250250
if ($withTags !== null) {
251-
$tags = [...array_map(static fn(string $tag) => $tag . '*', $subtree->node->tags->withoutInherited()->toStringArray()), ...$subtree->node->tags->onlyInherited()->toStringArray()];
251+
$tags = [...array_map(static fn (string $tag) => $tag . '*', $subtree->node->tags->withoutInherited()->toStringArray()), ...$subtree->node->tags->onlyInherited()->toStringArray()];
252252
}
253253
$result[] = str_repeat(' ', $subtree->level) . $subtree->node->nodeAggregateId->value . ($tags !== [] ? ' (' . implode(',', $tags) . ')' : '');
254254
$subtreeStack = [...$subtree->children, ...$subtreeStack];
@@ -267,7 +267,7 @@ public function iExecuteTheFindDescendantNodesQueryIExpectTheFollowingNodes(stri
267267
$filter = FindDescendantNodesFilter::create(...$filterValues);
268268
$subgraph = $this->getCurrentSubgraph();
269269

270-
$actualNodeIds = array_map(static fn(Node $node) => $node->nodeAggregateId->value, iterator_to_array($subgraph->findDescendantNodes($entryNodeAggregateId, $filter)));
270+
$actualNodeIds = array_map(static fn (Node $node) => $node->nodeAggregateId->value, iterator_to_array($subgraph->findDescendantNodes($entryNodeAggregateId, $filter)));
271271
Assert::assertSame($expectedNodeIds, $actualNodeIds, 'findDescendantNodes returned an unexpected result');
272272
$actualCount = $subgraph->countDescendantNodes($entryNodeAggregateId, CountDescendantNodesFilter::fromFindDescendantNodesFilter($filter));
273273
Assert::assertSame($expectedTotalCount ?? count($expectedNodeIds), $actualCount, 'countDescendantNodes returned an unexpected result');
@@ -283,7 +283,7 @@ public function iExecuteTheFindAncestorNodesQueryIExpectTheFollowingNodes(string
283283
$filterValues = !empty($filterSerialized) ? json_decode($filterSerialized, true, 512, JSON_THROW_ON_ERROR) : [];
284284
$filter = FindAncestorNodesFilter::create(...$filterValues);
285285
$subgraph = $this->getCurrentSubgraph();
286-
$actualNodeIds = array_map(static fn(Node $node) => $node->nodeAggregateId->value, iterator_to_array($subgraph->findAncestorNodes($entryNodeAggregateId, $filter)));
286+
$actualNodeIds = array_map(static fn (Node $node) => $node->nodeAggregateId->value, iterator_to_array($subgraph->findAncestorNodes($entryNodeAggregateId, $filter)));
287287
Assert::assertSame($expectedNodeIds, $actualNodeIds, 'findAncestorNodes returned an unexpected result');
288288
$actualCount = $subgraph->countAncestorNodes($entryNodeAggregateId, CountAncestorNodesFilter::fromFindAncestorNodesFilter($filter));
289289
Assert::assertSame($expectedTotalCount ?? count($expectedNodeIds), $actualCount, 'countAncestorNodes returned an unexpected result');

Neos.Neos/Classes/AssetUsage/Dto/AssetUsages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static function (\AppendIterator $globalAssetUsages, AssetUsages $assetUsage) {
6767
function () use ($assetUsages) {
6868
return array_reduce(
6969
$assetUsages,
70-
static fn($globalCount, AssetUsages $assetUsage) => $globalCount + $assetUsage->count(),
70+
static fn ($globalCount, AssetUsages $assetUsage) => $globalCount + $assetUsage->count(),
7171
0
7272
);
7373
}

Neos.Neos/Classes/AssetUsage/Projection/AssetUsageProjection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private function getAssetIdsByProperty(SerializedPropertyValues $propertyValues)
184184
);
185185

186186
$assetIds[$propertyName] = array_map(
187-
fn($assetId) => new AssetIdAndOriginalAssetId($assetId, $this->findOriginalAssetId($assetId)),
187+
fn ($assetId) => new AssetIdAndOriginalAssetId($assetId, $this->findOriginalAssetId($assetId)),
188188
$extractedAssetIds
189189
);
190190
}
@@ -200,7 +200,7 @@ private function extractAssetIds(string $type, mixed $value): array
200200
{
201201
if (is_string($value)) {
202202
preg_match_all('/asset:\/\/(?<assetId>[\w-]*)/i', $value, $matches, PREG_SET_ORDER);
203-
return array_map(static fn(array $match) => $match['assetId'], $matches);
203+
return array_map(static fn (array $match) => $match['assetId'], $matches);
204204
}
205205
if (is_subclass_of($type, ResourceBasedInterface::class)) {
206206
return isset($value['__identifier']) ? [$value['__identifier']] : [];

Neos.Neos/Classes/Controller/Backend/BackendController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
namespace Neos\Neos\Controller\Backend;
1616

1717
use Neos\Cache\Exception\InvalidDataException;
18-
use Neos\Flow\Annotations as Flow;
1918
use Neos\Cache\Frontend\StringFrontend;
19+
use Neos\Flow\Annotations as Flow;
2020
use Neos\Flow\I18n\Exception\InvalidLocaleIdentifierException;
2121
use Neos\Flow\I18n\Locale;
2222
use Neos\Flow\Mvc\Controller\ActionController;

Neos.Neos/Classes/Controller/Backend/ImpersonateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
use Neos\Flow\Mvc\View\JsonView;
2323
use Neos\Flow\Security\Account;
2424
use Neos\Neos\Domain\Model\User;
25-
use Neos\Party\Domain\Service\PartyService;
2625
use Neos\Neos\Service\ImpersonateService;
26+
use Neos\Party\Domain\Service\PartyService;
2727

2828
/**
2929
* The Impersonate controller

Neos.Neos/Classes/Controller/Backend/ModuleController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
use Neos\Flow\Mvc\Dispatcher;
2121
use Neos\Flow\Security\Account;
2222
use Neos\Flow\Security\Context;
23-
use Neos\Utility\Arrays;
24-
use Neos\Utility\MediaTypes;
2523
use Neos\Neos\Controller\BackendUserTranslationTrait;
2624
use Neos\Neos\Controller\Exception\DisabledModuleException;
2725
use Neos\Party\Domain\Service\PartyService;
26+
use Neos\Utility\Arrays;
27+
use Neos\Utility\MediaTypes;
2828

2929
#[Flow\Scope('singleton')]
3030
class ModuleController extends ActionController

Neos.Neos/Classes/Controller/LoginController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* source code.
1515
*/
1616

17-
use Neos\Flow\Annotations as Flow;
1817
use Neos\Cache\Frontend\StringFrontend;
1918
use Neos\Error\Messages\Message;
19+
use Neos\Flow\Annotations as Flow;
2020
use Neos\Flow\Http\Cookie;
2121
use Neos\Flow\Mvc\ActionRequest;
2222
use Neos\Flow\Mvc\Exception\InvalidFlashMessageConfigurationException;
@@ -31,7 +31,6 @@
3131
use Neos\Flow\Session\SessionInterface;
3232
use Neos\Flow\Session\SessionManagerInterface;
3333
use Neos\Fusion\View\FusionView;
34-
use Neos\Neos\Controller\TranslationTrait;
3534
use Neos\Neos\Domain\Repository\DomainRepository;
3635
use Neos\Neos\Domain\Repository\SiteRepository;
3736
use Neos\Neos\Service\BackendRedirectionService;

Neos.Neos/Classes/Controller/Module/Administration/ConfigurationController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
namespace Neos\Neos\Controller\Module\Administration;
1616

17+
use Neos\Error\Messages\Message;
1718
use Neos\Flow\Annotations as Flow;
1819
use Neos\Flow\Configuration\ConfigurationManager;
1920
use Neos\Flow\Configuration\ConfigurationSchemaValidator;
2021
use Neos\Flow\Configuration\Exception\SchemaValidationException;
22+
use Neos\Neos\Controller\Module\AbstractModuleController;
2123
use Neos\Neos\Controller\Module\ModuleTranslationTrait;
2224
use Neos\Utility\SchemaGenerator;
23-
use Neos\Neos\Controller\Module\AbstractModuleController;
24-
use Neos\Error\Messages\Message;
2525

2626
/**
2727
* The Neos Configuration module controller

Neos.Neos/Classes/Controller/Module/Administration/DimensionControllerInternals.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
use Neos\ContentRepository\Core\Dimension\ContentDimensionSourceInterface;
1818
use Neos\ContentRepository\Core\DimensionSpace\InterDimensionalVariationGraph;
1919
use Neos\ContentRepository\Core\Factory\ContentRepositoryServiceInterface;
20-
use Neos\Neos\Presentation\Dimensions\VisualIntraDimensionalVariationGraph;
2120
use Neos\Neos\Presentation\Dimensions\VisualInterDimensionalVariationGraph;
21+
use Neos\Neos\Presentation\Dimensions\VisualIntraDimensionalVariationGraph;
2222

2323
/**
2424
* @deprecated really un-nice :D

Neos.Neos/Classes/Controller/Module/Administration/UsersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* source code.
1515
*/
1616

17-
use Neos\Flow\Annotations as Flow;
1817
use Neos\Error\Messages\Message;
18+
use Neos\Flow\Annotations as Flow;
1919
use Neos\Flow\I18n\EelHelper\TranslationHelper;
2020
use Neos\Flow\I18n\Translator;
2121
use Neos\Flow\Mvc\Exception\ForwardException;

Neos.Neos/Classes/Controller/Module/Management/WorkspacesController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,8 @@ protected function renderContentChanges(
942942
'diff' => $diffArray
943943
];
944944
}
945-
// The && in belows condition is on purpose as creating a thumbnail for comparison only works
946-
// if actually BOTH are ImageInterface (or NULL).
945+
// The && in belows condition is on purpose as creating a thumbnail for comparison only works
946+
// if actually BOTH are ImageInterface (or NULL).
947947
} elseif (
948948
($originalPropertyValue instanceof ImageInterface || $originalPropertyValue === null)
949949
&& ($changedPropertyValue instanceof ImageInterface || $changedPropertyValue === null)

Neos.Neos/Classes/Controller/Module/User/UserSettingsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* source code.
1313
*/
1414

15-
use Neos\Flow\Annotations as Flow;
1615
use Neos\Error\Messages\Message;
16+
use Neos\Flow\Annotations as Flow;
1717
use Neos\Flow\I18n\EelHelper\TranslationHelper;
1818
use Neos\Flow\I18n\Translator;
1919
use Neos\Flow\Property\PropertyMappingConfiguration;

0 commit comments

Comments
 (0)