Skip to content

Commit

Permalink
[TASK] Move library to version handling
Browse files Browse the repository at this point in the history
That package is required by all other packages and Packagist is a related topic
  • Loading branch information
linawolf committed Dec 15, 2024
1 parent 5f2e3a6 commit 31e3b34
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use phpDocumentor\Guides\RestructuredText\Parser\Productions\DirectiveContentRule;
use phpDocumentor\Guides\RestructuredText\Parser\Productions\DocumentRule;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use T3Docs\GuidesCli\Packagist\PackagistService;
use T3Docs\VersionHandling\Packagist\PackagistService;
use T3Docs\Typo3DocsTheme\Api\Typo3ApiService;
use T3Docs\Typo3DocsTheme\Compiler\NodeTransformers\CollectPrefixLinkTargetsTransformer;
use T3Docs\Typo3DocsTheme\Compiler\NodeTransformers\ConfvalMenuNodeTransformer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace T3Docs\Typo3DocsTheme\Nodes\Inline;

use phpDocumentor\Guides\Nodes\Inline\InlineNode;
use T3Docs\GuidesCli\Packagist\ComposerPackage;
use T3Docs\VersionHandling\Packagist\ComposerPackage;

final class ComposerInlineNode extends InlineNode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use phpDocumentor\Guides\RestructuredText\Parser\DocumentParserContext;
use phpDocumentor\Guides\RestructuredText\TextRoles\TextRole;
use Psr\Log\LoggerInterface;
use T3Docs\GuidesCli\Packagist\PackagistService;
use T3Docs\VersionHandling\Packagist\PackagistService;
use T3Docs\Typo3DocsTheme\Nodes\Inline\ComposerInlineNode;

final class ComposerTextRole implements TextRole
Expand Down
4 changes: 2 additions & 2 deletions packages/typo3-guides-cli/src/Command/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\Question;
use T3Docs\GuidesCli\Packagist\ComposerPackage;
use T3Docs\GuidesCli\Packagist\PackagistService;
use T3Docs\VersionHandling\Packagist\ComposerPackage;
use T3Docs\VersionHandling\Packagist\PackagistService;

final class InitCommand extends Command
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace T3Docs\GuidesCli\Packagist;
namespace T3Docs\VersionHandling\Packagist;

class ComposerPackage
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace T3Docs\GuidesCli\Packagist;
namespace T3Docs\VersionHandling\Packagist;

class PackagistService
{
Expand Down
30 changes: 15 additions & 15 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@ parameters:
count: 1
path: packages/typo3-docs-theme/src/Directives/ViewHelperDirective.php

-
message: "#^Cannot access offset 'packages' on mixed\\.$#"
count: 1
path: packages/typo3-guides-cli/src/Packagist/PackagistService.php

-
message: "#^Cannot access offset 0 on mixed\\.$#"
count: 1
path: packages/typo3-guides-cli/src/Packagist/PackagistService.php

-
message: "#^Cannot access offset string on mixed\\.$#"
count: 1
path: packages/typo3-guides-cli/src/Packagist/PackagistService.php

-
message: "#^Result of && is always false\\.$#"
count: 1
Expand All @@ -49,3 +34,18 @@ parameters:
message: "#^Method T3Docs\\\\GuidesCli\\\\Migration\\\\SettingsMigrator\\:\\:collectUnmigratedLegacySettings\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: packages/typo3-guides-cli/src/Migration/SettingsMigrator.php

-
message: "#^Cannot access offset 'packages' on mixed\\.$#"
count: 1
path: packages/typo3-version-handling/src/Packagist/PackagistService.php

-
message: "#^Cannot access offset 0 on mixed\\.$#"
count: 1
path: packages/typo3-version-handling/src/Packagist/PackagistService.php

-
message: "#^Cannot access offset string on mixed\\.$#"
count: 1
path: packages/typo3-version-handling/src/Packagist/PackagistService.php

0 comments on commit 31e3b34

Please sign in to comment.