title | issue | author |
---|---|---|
Added more app validation to the app system |
NEXT-12223 |
Maike Sestendrup |
- Deprecated
Shopware\Core\Framework\App\Command\VerifyManifestCommand
- use the addedShopware\Core\Framework\App\Command\ValidateAppCommand
instead. It validates an app by name or all apps in thedevelopment/custom/apps
directory. - Added the usage of
Shopware\Core\Framework\App\Command\ValidateAppCommand
inShopware\Core\Framework\App\Command\InstallAppCommand
andShopware\Core\Framework\App\Command\RefreshAppCommand
. - Changed
Shopware\Core\Framework\App\Manifest\ManifestValidator
toShopware\Core\Framework\App\Manifest\Validation\ManifestValidator
and changed the parameter of theconstructor
fromManifestValidator
toiterable
of typeShopware\Core\Framework\App\Manifest\Validation\ManifestValidatorInterface
. - Changed
Shopware\Core\Framework\Webhook\Hookable\HookableValidator
toShopware\Core\Framework\App\Manifest\Validation\HookableValidator
. - Added
validateTranslations()
function toShopware\Core\Framework\App\Manifest\Xml\Metadata
to validate the translations of propertylabel
. - Added
Shopware\Core\Framework\App\Manifest\Validation\TranslationValidator
to validate translations of amanifest.xml
. - Added
Shopware\Core\Framework\App\Manifest\Validation\ConfigValidator
to validate aconfig.xml
file of an app. - Added
Shopware\Core\Framework\App\Manifest\Validation\AppNameValidator
to validate the app name. The app folder name and the technical name in themanifest.xml
file must be equal. - Changed naming of
snakeCaseToCamelCase()
function tokebabCaseToCamelCase()
inShopware\Core\Framework\App\Manifest\Xml\XmlElement
.