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

Magento Coding Standard

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

This is a small part of https://github.com/magento/magento-coding-standard/pull/347 as suggested in https://github.com/magento/magento-coding-standard/pull/347#issuecomment-999512251. https://eslint.org/docs/rules/indent

partners-contribution
Progress: ready for review
Partner: Fisheye

This is a small part of https://github.com/magento/magento-coding-standard/pull/347 as suggested in https://github.com/magento/magento-coding-standard/pull/347#issuecomment-999512251. https://eslint.org/docs/rules/quotes This is a minor change to the existing rule to allow the use of double quotes where it's...

partners-contribution
Progress: ready for review
Partner: Fisheye

This is a small part of https://github.com/magento/magento-coding-standard/pull/347 as suggested in https://github.com/magento/magento-coding-standard/pull/347#issuecomment-999512251. https://eslint.org/docs/rules/keyword-spacing

partners-contribution
Progress: ready for review
Partner: Fisheye

This has been copied from https://github.com/magento/magento2/pull/32343 This fixes https://github.com/magento/magento2/issues/32375 The ESLint configuration currently in use was last updated four years ago. A lot has changed in the JavaScript since then....

partners-contribution
Progress: ready for review
Partner: Fisheye

Can we please find and have elaboration on this statement in the readme: "Due to security, when installed this way the Magento standard for phpcs cannot be added automatically" This...

Progress: ready for grooming

### Preconditions 1. a class that uses **property** (not method) `_redirect` or `loadLayout` 2. magento-coding-standard v16 ### Steps to reproduce 1. a class that uses **properties** (not methods) that are...

bug
Progress: ready for grooming

### Preconditions 1. php 7.4.22 2. Use v14 ### Steps to reproduce 1. create some class with function that call `ObjectManager::setInstance($defaultObjectManager);` 2. ### Expected result 1. No errors ### Actual...

bug
Progress: ready for grooming

### Preconditions 1. `magento/magento-coding-standard` version 12 ### Steps to reproduce 1. Have a class like this: ```php

bug
Progress: ready for dev

# Summary - `phpcs` allows the sniff to provide the ability to auto-fix using `phpcbf`. These are 2 that come up a lot for me as PhpStorm has them as...

partners-contribution
Progress: changes requested
Partner: Gene

### Preconditions In PHP 8, functions like **token_get_all** treat namespaced names as single token, e.g. ``` // Before: T_NS_SEPARATOR T_STRING // After: T_NAME_FULLY_QUALIFIED ``` Details: https://wiki.php.net/rfc/namespaced_names_as_token There are couple places...

bug
Progress: ready for grooming