- Setup a GitHub account, if you haven't yet.
- Fork the project (i.e from the github project page).
- Clone your own fork
Setup a local JasperBridgeServer and copy ./phpunit.xml.dist in ./phpunit.xml (edit config as needed).
Check phpunit works by running
$ ./vendor/bin/phpunit
mysql -u <user> -p -e 'create database phpunit_soluble_test_db'
zcat test/data/mysql/schema.sql.gz | mysql -u <user> -p phpunit_soluble_test_db
zcat test/data/mysql/data.sql.gz | mysql -u <user> -p phpunit_soluble_test_db
Then activate jdbc tests in phpunit.xml
- Create a new branch from master (i.e. feature/24)
- Modify the code... Fix, improve :)
- First ensure the code is clean
$ composer fix
$ composer check
- Commit/Push your pull request.
Thanks !!!
Best doc https://help.github.com/articles/syncing-a-fork/
git remote add upstream git://github.com/belgattitude/soluble-japha.git
git fetch upstream
git checkout master
git merge upstream/master
git push