magento-coding-standard icon indicating copy to clipboard operation
magento-coding-standard copied to clipboard

Magento Coding Standard

Results 108 magento-coding-standard issues
Sort by recently updated
recently updated
newest added
trafficstars

### Description We currently only check for PHP 8.1 and 8.2 compatibility, which is pretty outdated. Especially now that Magento 2.4.8 will be released soon and will only support PHP...

enhancement

### Description The following code ` htmlspecialchars($string, ENT_XML1, "UTF-8")` triggers the warning ``` 38 | WARNING | The use of function htmlspecialchars() is discouraged; use | | \Magento\Framework\Escaper->escapeHtml() instead |...

enhancement

`'proc_open' => null,` is already defined in the same array on line 38, it makes no sense to keep both around. Found with phpstan (while running it from inside magento...

Since the magento-coding-standard uses Rector 1.x which in turn requires Phpstan 1.x it is currently not possible to use the latest versions of those tools in conjunction with this package....

### Description The new requirements for the copyright header as of a few months are: ``` /** * Copyright [first year code created] Adobe * All rights reserved. */ ```...

enhancement

### Description Currently, there is no validation to ensure that the correct escaping methods are used in the right context. This allows incorrect or inconsistent escaping, leading to potential security...

enhancement
Progress: ready for grooming

### Description AFAIK starting from PHP 8.0 the main security issue of `assert()` function implementation is removed. Thus given the minimum PHP requirement version for the Coding Standards is 8.1...

enhancement
Progress: ready for grooming