https://github.com/prestashop/prestashop-norm-validator
https://github.com/prestashop/prestashop-norm-validator
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prestashop/prestashop-norm-validator
- Owner: PrestaShop
- Archived: true
- Created: 2013-06-11T13:18:18.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-05-11T07:21:32.000Z (about 10 years ago)
- Last Synced: 2024-09-26T11:40:37.121Z (over 1 year ago)
- Language: PHP
- Size: 90.8 KB
- Stars: 20
- Watchers: 31
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# /!\ DEPRECATED /!\
This follows our old norm, do not use it of your using PrestaShop 1.6.1.0+
Since version 1.6.1.0 of PrestaShop, we are using the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) as our coding standards.
All PrestaShop Coding Standards have been [introduced here](http://build.prestashop.com/news/prestashop-coding-standards/).
### Installation
1. Install phpcs:
pear install PHP_CodeSniffer
2. Find your PEAR directory:
pear config-show | grep php_dir
3. You can run PHP CodeSniffer against an entire directory:
phpcs --standard=PSR2 PrestaShop/classes/