Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-ecg]

Denotes questions related to Magento ECG Coding Standard

28
votes
2answers
3k views

Why are so many PHP functions disallowed in the Magento ECG Coding Standard?

The Magento ECG Coding Standard seems to be (at least kind of) official as standard for Magento 1 extensions: https://github.com/magento-ecg/coding-standard But I don't understand the reasoning ...
10
votes
3answers
1k views

ECG compliance: How to do?

There is something like a coding standard for Magento 1, called ECG where numerous things should be avoided or methods that should not be used. Let's try to create a list that covers all cases that ...