Skip to content

SyberIsle/coding-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SyberIsle Coding Standards

Latest Version on Packagist Software License

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 and implements 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.

About

PHP_CodeSniffer rules to enforce SyberIsle coding conventions

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages