Contributions to FlorianWolters\CodeKata are always welcome.
Please use the following two GitHub features to contribute:
- Report an issue.
- Submit a pull request.
- Sign up for GitHub.
- Fork the repository on GitHub.
- Clone the repository into a new directory on your local host.
- Modify the implementation source code.
- Modify the test source code. Refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug do add a new test.
- Run the test suite(s). I only accept pull requests with passing tests.
- Commit and Push to the fork.
- Submit a pull request.
Run the following commands to initially checkout FlorianWolters\CodeKata:
md Singleton && cd Singleton
git clone git://github.com/FlorianWolters/PHP-Component-Util-Singleton.git
Before you send a pull request, run all test suite(s). To run the test suite(s), a system-wide installation of PHPUnit is required.
PHPUnit can be installed via the PEAR installer. Run the following commands to install PHPUnit:
pear preferred_state stable
pear config-set auto_discover 1
pear channel-discover pear.phpunit.de
pear install --alldeps phpunit/PHPUnit
Run the test suite(s) with the following command in the directory with the local Git repository:
phpunit