Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gennadigennadigennadi committed Jan 14, 2024
1 parent 1cb2b0d commit 14fda60
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
*/
$services->set(EventDispatcher::class);
$services->alias(EventDispatcherInterface::class, EventDispatcher::class);
$services->alias(\Symfony\Component\EventDispatcher\EventDispatcherInterface::class, EventDispatcher::class);
$services->alias(Symfony\Component\EventDispatcher\EventDispatcherInterface::class, EventDispatcher::class);
$services->alias('event_dispatcher', EventDispatcher::class);
$services
->set(FileInputCollector::class)
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Analyser/LayerDependenciesAnalyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(
/**
* @return array<string, list<Uncovered>>
*
* @throws \Qossmic\Deptrac\Core\Analyser\AnalyserException
* @throws AnalyserException
*/
public function getDependencies(string $layer, ?string $targetLayer): array
{
Expand Down
8 changes: 4 additions & 4 deletions src/Core/Analyser/LayerForTokenAnalyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ public function findLayerForToken(string $tokenName, TokenType $tokenType): arra
*
* @return array<string, string[]>
*
* @throws \Qossmic\Deptrac\Core\Dependency\UnrecognizedTokenException
* @throws \Qossmic\Deptrac\Contract\Layer\InvalidLayerDefinitionException
* @throws \Qossmic\Deptrac\Contract\Layer\InvalidCollectorDefinitionException
* @throws \Qossmic\Deptrac\Contract\Ast\CouldNotParseFileException
* @throws UnrecognizedTokenException
* @throws InvalidLayerDefinitionException
* @throws InvalidCollectorDefinitionException
* @throws CouldNotParseFileException
*/
private function findLayersForReferences(array $references, string $tokenName, AstMap $astMap): array
{
Expand Down
14 changes: 7 additions & 7 deletions src/Core/Analyser/RulesetUsageAnalyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function analyse(): array
/**
* @return array<string, array<string, 0>> sourceLayer -> (targetLayer -> 0)
*
* @throws \Qossmic\Deptrac\Contract\Layer\CircularReferenceException
* @throws CircularReferenceException
*/
private function rulesetResolution(): array
{
Expand All @@ -84,12 +84,12 @@ private function rulesetResolution(): array
*
* @return array<string, array<string, int>>
*
* @throws \Qossmic\Deptrac\Core\Ast\AstException
* @throws \Qossmic\Deptrac\Contract\Ast\CouldNotParseFileException
* @throws \Qossmic\Deptrac\Core\Dependency\InvalidEmitterConfigurationException
* @throws \Qossmic\Deptrac\Contract\Layer\InvalidCollectorDefinitionException
* @throws \Qossmic\Deptrac\Contract\Layer\InvalidLayerDefinitionException
* @throws \Qossmic\Deptrac\Core\Dependency\UnrecognizedTokenException
* @throws AstException
* @throws CouldNotParseFileException
* @throws InvalidEmitterConfigurationException
* @throws InvalidCollectorDefinitionException
* @throws InvalidLayerDefinitionException
* @throws UnrecognizedTokenException
*/
private function findRulesetUsages(array $rulesets): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Supportive/OutputFormatter/GraphVizOutputFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private function getSubgraphName(string $groupName): string
}

/**
* @throws \Qossmic\Deptrac\Contract\OutputFormatter\OutputException
* @throws OutputException
*/
abstract protected function output(Graph $graph, OutputInterface $output, OutputFormatterInput $outputFormatterInput): void;
}

0 comments on commit 14fda60

Please sign in to comment.