Refactor Translator wrapping and add new Linters #47
Aeliot-Tm
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
same_value
which detects translation keys with the same value.invalid_value
which detects translation values matching some configured pattern.bin/dev/remove_reports
for development purposes.insert_missed_keys: ''
deprecated.Use
missed_keys: { insert_position: '' }
instead of it.yaml: { key_pattern: '' }
deprecated.Use
linter: { key_valid_pattern: '' }
instead of it.\Aeliot\Bundle\TransMaintain\Service\Yaml\FilesFinder::getLocales()
as deprecated.Use
\Aeliot\Bundle\TransMaintain\Service\LocalesDetector::getLocales()
instead of it.\Aeliot\Bundle\TransMaintain\Service\Yaml\KeysParser::parseFiles()
as deprecated.Use
\Aeliot\Bundle\TransMaintain\Service\Yaml\FileToSingleLevelArrayParser::parseFiles()
instead of it.\Aeliot\Bundle\TransMaintain\Model\CsvReader
to\Aeliot\Bundle\TransMaintain\Model\CSV
.\Aeliot\Bundle\TransMaintain\Service\Yaml\LinterRegistry::PRESET_ALL
\Aeliot\Bundle\TransMaintain\Service\Yaml\LinterRegistry::PRESET_BASE
\Aeliot\Bundle\TransMaintain\Report\Builder\ConsoleOutputTableBuilder
.Use service
\Aeliot\Bundle\TransMaintain\Service\ReportBagConsoleRenderer
instead of it.\Aeliot\Bundle\TransMaintain\Model\AbstractLine
\Aeliot\Bundle\TransMaintain\Model\EmptyValueLine
\Aeliot\Bundle\TransMaintain\Model\FilesMissedLine
\Aeliot\Bundle\TransMaintain\Model\FilesTransformedLine
\Aeliot\Bundle\TransMaintain\Model\InvalidValueLine
\Aeliot\Bundle\TransMaintain\Model\KeysDuplicatedLine
\Aeliot\Bundle\TransMaintain\Model\KeysMissedLine
\Aeliot\Bundle\TransMaintain\Model\KeysPatternLine
\Aeliot\Bundle\TransMaintain\Model\SameValueLine
\Aeliot\Bundle\TransMaintain\Service\Yaml\Linter\GlueKeysTrait
.Use class
\Aeliot\Bundle\TransMaintain\Service\Yaml\KeysLinker
instead of it.This discussion was created from the release Refactor Translator wrapping and add new Linters.
Beta Was this translation helpful? Give feedback.
All reactions