886 B
886 B
Contributing
PhpSpec is an open source, community-driven project. If you'd like to contribute, feel free to do this, but remember to follow this few simple rules:
Branching strategy
- Always base your changes on the
masterbranch (all new development happens here), - When you create Pull Request, always select
masterbranch as target, otherwise it will be closed (this is selected by default).
Coverage
- All classes that interact solely with the core logic should be covered by Specs
- Any infrastructure adaptors should be covered by integration tests using PHPUnit
- All features should be covered with .feature descriptions automated with Behat
Code style / Formatting
- All new classes must carry the standard copyright notice docblock
- All code in the
srcfolder must follow the PSR-2 standard