-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
214 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/build/ | ||
/vendor/ | ||
composer.lock | ||
composer.phar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
:major: 3 | ||
:minor: 5 | ||
:patch: 3 | ||
:special: '' | ||
:metadata: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Contributing | ||
|
||
Contributions are **welcome** and will be fully **credited**. | ||
|
||
We accept contributions via pull requests via | ||
[Github](https://github.com/cviebrock/eloquent-taggable). | ||
|
||
1. Fork the project. | ||
2. Create your bugfix/feature branch and write your (well-commented) code. | ||
3. Create unit tests for your code: | ||
- Run `composer install --dev` in the root directory to install required testing packages. | ||
- Add your test classes/methods to the `/tests/` directory. | ||
- Run `vendor/bin/phpunit` and make sure everything passes (new and old tests). | ||
3. Commit your changes (and your tests) and push to your branch. | ||
4. Create a new pull request against this package's `master` branch. | ||
|
||
|
||
## Pull Requests | ||
|
||
- **Use the [PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md).** | ||
The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer). | ||
|
||
- **Add tests!** Your pull request won't be accepted if it doesn't have tests. | ||
|
||
- **Document any change in behaviour.** Make sure the `README.md` and any other relevant | ||
documentation are kept up-to-date. | ||
|
||
- **Consider our release cycle.** We try to follow [SemVer v2.0.0](http://semver.org/). | ||
Randomly breaking public APIs is not an option. | ||
|
||
- **Create feature branches.** Don't ask us to pull from your master branch. | ||
|
||
- **One pull request per feature.** If you want to do more than one thing, send multiple pull requests. | ||
|
||
- **Send coherent history.** - Make sure each individual commit in your pull request is meaningful. | ||
If you had to make multiple intermediate commits while developing, please | ||
[squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) | ||
before submitting. | ||
|
||
- Don't worry about updating `CHANGELOG.md` or `.semver`. The package administrator | ||
will handle updating those when new releases are created. | ||
|
||
|
||
**Thank you!** |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
printerClass="LimeDeck\Testing\Printer" | ||
processIsolation="false" | ||
stopOnFailure="true"> | ||
<testsuites> | ||
<testsuite name="Taggable Test Suite"> | ||
<directory suffix=".php">./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="junit" target="build/report.junit.xml"/> | ||
<log type="coverage-html" target="build/coverage"/> | ||
<log type="coverage-text" target="build/coverage.txt"/> | ||
<log type="coverage-clover" target="build/clover.xml"/> | ||
</logging> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters