Magento Coding Standard (PHPCS) report for readymage/maintenance ================================================================ Package version: 1.0.1 | Magento: 2.4.9 | Tested: 2026-05-27 4 errors, 9 warnings in 1 files src/Plugin/MaintenanceMode.php 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:86 error Silencing errors is discouraged; found: @is_link($flagFullPath... (Generic.PHP.NoSilencedErrors.Discouraged) 49:87 warning The use of function is_link() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 50:30 error Silencing errors is discouraged; found: @readlink($flagFullPath... (Generic.PHP.NoSilencedErrors.Discouraged) 50:31 warning The use of function readlink() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 61:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:95 error Silencing errors is discouraged; found: @is_link($flagPath... (Generic.PHP.NoSilencedErrors.Discouraged) 72:96 warning The use of function is_link() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 73:30 error Silencing errors is discouraged; found: @readlink($flagPath... (Generic.PHP.NoSilencedErrors.Discouraged) 73:31 warning The use of function readlink() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)