Magento Coding Standard (PHPCS) report for swissup/module-ignition ================================================================== Package version: 1.3.4 | Magento: 2.4.9 | Tested: 2026-10-12 2 errors, 10 warnings in 6 files Plugin/App.php 49:9 warning The use of function ob_start() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/ErrorPageScript.php 46:14 warning The use of function is_file() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 50:25 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Report.php 9:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 14:35 error "$this" can no longer be used in a plain function or method since PHP 7.1. (PHPCompatibility.Variables.ForbiddenThisUseContexts.OutsideObjectContext) 15:44 error "$this" can no longer be used in a plain function or method since PHP 7.1. (PHPCompatibility.Variables.ForbiddenThisUseContexts.OutsideObjectContext) Solutions/SolutionProviders/XmlValidationErrorSolutionProvider.php 33:15 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) Controller/Config/Save.php 41:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 45:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 59:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 71:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Block/Js.php 31:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong)