Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Do not import short namespaces and fix one test namespace #99

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/fractor-xml/src/XmlFileProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use a9f\Fractor\Rules\RulesProvider;
use a9f\FractorXml\Contract\XmlFractor;
use a9f\FractorXml\ValueObjectFactory\DomDocumentFactory;
use DOMDocument;

final readonly class XmlFileProcessor implements FileProcessor
{
Expand Down Expand Up @@ -56,7 +55,7 @@ public function allowedFileExtensions(): array
return ['xml'];
}

private function saveXml(DOMDocument $document): string
private function saveXml(\DOMDocument $document): string
{
$xml = $document->saveXML();
if ($xml === false) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Rules\TYPO3v12\Fluid\AbstractMessageGetSeverityFluidRector;
namespace a9f\Typo3Fractor\Tests\Rules\TYPO3v12\Fluid\AbstractMessageGetSeverityFluidRector;

use a9f\Fractor\Testing\PHPUnit\AbstractFractorTestCase;
use Iterator;
Expand Down