-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from andreaswolf/issue-198
[BUGFIX] Fix EOF and indentation of xml processing
- Loading branch information
Showing
7 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
1 file with changes | ||
=================== | ||
|
||
1) typo3-xml/result/Fixture.xml:9 | ||
|
||
---------- begin diff ---------- | ||
@@ @@ | ||
<settings.nullable_field_trimmed> | ||
<label>Nullable field trimmed</label> | ||
<config> | ||
- <eval>null,trim</eval> | ||
+ <eval>trim</eval> | ||
+ <nullable>true</nullable> | ||
</config> | ||
</settings.nullable_field_trimmed> | ||
</el> | ||
----------- end diff ----------- | ||
|
||
Applied rules: | ||
* MigrateNullFlagFlexFormFractor (https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Deprecation-97384-TCAOptionNullable.html) | ||
|
||
|
||
[OK] 1 file has been changed by Fractor | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<T3DataStructure> | ||
<sheets> | ||
<sDEF> | ||
<ROOT> | ||
<sheetTitle>sheetTitle</sheetTitle> | ||
<type>array</type> | ||
<el> | ||
<settings.nullable_field_trimmed> | ||
<label>Nullable field trimmed</label> | ||
<config> | ||
<eval>trim</eval> | ||
<nullable>true</nullable> | ||
</config> | ||
</settings.nullable_field_trimmed> | ||
</el> | ||
</ROOT> | ||
</sDEF> | ||
</sheets> | ||
</T3DataStructure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<T3DataStructure> | ||
<sheets> | ||
<sDEF> | ||
<ROOT> | ||
<sheetTitle>sheetTitle</sheetTitle> | ||
<type>array</type> | ||
<el> | ||
<settings.nullable_field_trimmed> | ||
<label>Nullable field trimmed</label> | ||
<config> | ||
<eval>null,trim</eval> | ||
</config> | ||
</settings.nullable_field_trimmed> | ||
</el> | ||
</ROOT> | ||
</sDEF> | ||
</sheets> | ||
</T3DataStructure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use a9f\Fractor\Configuration\FractorConfiguration; | ||
use a9f\Fractor\ValueObject\Indent; | ||
use a9f\FractorXml\Configuration\XmlProcessorOption; | ||
use a9f\Typo3Fractor\Set\Typo3LevelSetList; | ||
|
||
return FractorConfiguration::configure() | ||
->withPaths([__DIR__ . '/result/']) | ||
->withSets([Typo3LevelSetList::UP_TO_TYPO3_13]) | ||
->withOptions([ | ||
XmlProcessorOption::INDENT_CHARACTER => Indent::STYLE_TAB, | ||
XmlProcessorOption::INDENT_SIZE => 1, | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<T3DataStructure> | ||
<sheets> | ||
<sDEF> | ||
<ROOT> | ||
<sheetTitle>sheetTitle</sheetTitle> | ||
<type>array</type> | ||
<el> | ||
<settings.nullable_field_trimmed> | ||
<label>Nullable field trimmed</label> | ||
<config> | ||
<eval>null,trim</eval> | ||
</config> | ||
</settings.nullable_field_trimmed> | ||
</el> | ||
</ROOT> | ||
</sDEF> | ||
</sheets> | ||
</T3DataStructure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters