Magento Coding Standard (PHPCS) report for creatuity/magento2-interceptors ========================================================================== Package version: 1.3.8 | Magento: 2.4.9 | Tested: 2026-05-26 37 warnings in 9 files Generator/CompiledPluginList.php 21:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 92:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 93:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:9 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Generator/CompiledInterceptor.php 42:5 warning Constants must have short description if they add information beyond what the constant name supplies. (Magento2.Commenting.ConstantsPHPDocFormatting.MissingConstantPHPDoc) 42:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 46:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 190:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 402:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 625:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 637:25 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 657:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 670:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 674:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) Generator/StaticScope.php 10:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Generator/FileCache.php 28:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 31:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 70:16 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 100:18 warning The use of function is_dir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 100:25 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 101:17 warning The use of function mkdir() is discouraged; use Magento\Framework\Filesystem\DriverInterface::createDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 101:23 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 103:13 warning The use of function file_put_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 134:22 warning The use of function glob() is discouraged; use Magento\Framework\Filesystem\Glob::glob() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 135:21 warning The use of function is_file() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 136:21 warning The use of function unlink() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Generator/AreasPluginList.php 11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Generator/NoSerialize.php 10:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Generator/CompiledInterceptorSubstitution.php 21:12 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 25:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 27:17 warning Expected 1 space after "as"; 2 found (Squiz.ControlStructures.ForEachLoopDeclaration.SpacingAfterAs) 31:29 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 32:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 38:34 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) registration.php 7:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Test/Integration/CompiledInterceptor/CompiledInterceptorTest.php 28:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)