- Fork the repo.
- Create branch, e.g. feature-foo or bugfix-bar.
- Make changes.
- If you are adding functionality or fixing a bug - add a spec!
- Check if specs pass.
If you have a new specification that you think should be a part of this repository, submit a PR and we will happily evaluate it. There are some things that you should include in your PR.
- Your specification class under the appropriate namespace
- A PHPSpec spec (Try to write one, we will help you if you have trouble)
- A factory function
- PSR-0: Autoloading Standard
- PSR-1: Basic Coding Standard
- PSR-2: Coding Style Guide
- Symfony Coding Standards
- Keep the order of class elements: static properties, instance properties, constructor, destructor, static methods, instance methods, magic static methods, magic instance methods.