syberisle / coding-standards
PHP_CodeSniffer rules to enforce SyberIsle coding conventions
2.0.0
2018-09-18 07:18 UTC
Requires
This package is auto-updated.
Last update: 2024-12-18 21:49:00 UTC
README
Provides coding standards for SyberIsle projects and libraries.
Inherits from PSR-2 but has the following changes:
- Tabs not spaces MUST be used for indentation
- PHP 4 style constructors (class name) are not allowed
- Todo or fixme comments belong in an issue tracker. Technical Debt is bad.
- No BOM for UTF-8 files
extends
andimplements
are on their own lines for classes
This also provides an xml file that you can import into PhpStorm.
Install
Via Composer
$ composer require syberisle/coding-standards
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dlundgren@syberisle.net instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.