Reporting issues
Developing
git clone https://github.com/[yourname]/Mobile-Detect.git
git add remote serbanghita https://github.com/serbanghita/Mobile-Detect.git
git remote -v
- You should see:
origin git@github.com:serbanghita/Mobile-Detect.git
serbanghita https://github.com/serbanghita/Mobile-Detect.git
git checkout -b devel origin/devel
composer install
Start working on your changes.
Mobile_Detect.php
class
you need to add unit tests!tests/providers/vendors
Run tests vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky
git status
or git diff
- inspect your changes
1 git stage .
git commit -m "[your commit message here]
git push origin devel
Go to your repo on GitHub and "Submit the PR"
New module, plugin, plugin or port
Submit new module, plugin, port including the following information:
Or you can submit a PR against README.md
.
Website updates
gh-pages
branch.git checkout gh-pages
npm install -g browser-sync
browser-sync start --s . --f . --port 3000 --reload-debounce 1500 --no-ui
http://localhost:3000
and make changes.serbanghita:gh-pages
.