Skip to content

Commit

Permalink
Fixed Ibexa namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed Jul 10, 2023
1 parent 05509dd commit 9dd9cc0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"autoload": {
"psr-4": {
"EzSystems\\EzPlatformRichTextBundle\\": "src/bundle",
"EzSystems\\EzPlatformRichText\\": "src/lib"
"EzSystems\\EzPlatformRichText\\": "src/lib",
"Ibexa\\FieldTypeRichText\\RichText\\": "src/lib/RichText"
}
},
"autoload-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/fieldtype_services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ services:

# Note: should run after xsl transformation
ezrichtext.converter.input.xhtml5.listlinebreaks:
class: EzSystems\EzPlatformRichText\eZ\RichText\Converter\ListLineBreaks
class: Ibexa\FieldTypeRichText\RichText\Converter\ListLineBreaks
tags:
- {name: ezrichtext.converter.input.xhtml5, priority: 100}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
declare(strict_types=1);

namespace EzSystems\EzPlatformRichText\eZ\RichText\Converter;
namespace Ibexa\FieldTypeRichText\RichText\Converter;

use EzSystems\EzPlatformRichText\eZ\RichText\Converter;
use DOMDocument;
Expand Down Expand Up @@ -57,6 +57,7 @@ public function convert(DOMDocument $document)
$targetNode->appendChild($node);
}
}

return $document;
}
}
2 changes: 1 addition & 1 deletion tests/lib/eZ/RichText/Converter/ListLineBreaksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace EzSystems\Tests\EzPlatformRichText\eZ\RichText\Converter;

use EzSystems\EzPlatformRichText\eZ\RichText\Converter\Link;
use EzSystems\EzPlatformRichText\eZ\RichText\Converter\ListLineBreaks;
use Ibexa\FieldTypeRichText\RichText\Converter\ListLineBreaks;
use PHPUnit\Framework\TestCase;
use DOMDocument;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace EzSystems\Tests\EzPlatformRichText\eZ\RichText\Converter\Xslt;

use EzSystems\EzPlatformRichText\eZ\RichText\Converter\Aggregate;
use EzSystems\EzPlatformRichText\eZ\RichText\Converter\ListLineBreaks;
use Ibexa\FieldTypeRichText\RichText\Converter\ListLineBreaks;
use EzSystems\EzPlatformRichText\eZ\RichText\Converter\ProgramListing;
use EzSystems\EzPlatformRichText\eZ\RichText\Converter\Xslt;

Expand Down

0 comments on commit 9dd9cc0

Please sign in to comment.