-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from chadicus/master
Version 2
- Loading branch information
Showing
26 changed files
with
196 additions
and
1,902 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
service_name: travis-ci | ||
src_dir: . | ||
coverage_clover: clover.xml | ||
json_path: coveralls-upload.json |
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,13 @@ | ||
# Enforce Unix newlines | ||
* text=lf | ||
|
||
# Exclude unused files | ||
# see: https://redd.it/2jzp6k | ||
/tests export-ignore | ||
/.github export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.*.yml export-ignore | ||
/phpcs.xml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/README.md export-ignore |
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 @@ | ||
* @traderinteractive/opensource |
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,23 @@ | ||
# Contribution Guidelines | ||
We welcome you to report [issues](/../../issues) or submit [pull requests](/../../pulls). While the below guidelines are necessary to get code merged, you can | ||
submit pull requests that do not adhere to them and we will try to take care of them in our spare time. We are a smallish group of developers, | ||
though, so if you can make sure the build is passing 100%, that would be very useful. | ||
|
||
We recommend including details of your particular usecase(s) with any issues or pull requests. We love to hear how our libraries are being used | ||
and we can get things merged in quicker when we understand its expected usage. | ||
|
||
## Pull Requests | ||
Code changes should be sent through [GitHub Pull Requests](/../../pulls). Before submitting the pull request, make sure that phpunit reports success | ||
by running: | ||
```sh | ||
./vendor/bin/phpunit | ||
``` | ||
And there are not coding standard violations by running | ||
```sh | ||
./vendor/bin/phpcs | ||
``` | ||
|
||
## Builds | ||
Our [Travis build](https://travis-ci.org/traderinteractive/column-parser-php) executes [PHPUnit](http://www.phpunit.de) and uses [Coveralls](https://coveralls.io/) to enforce code coverage. | ||
While the build does not strictly enforce 100% code coverage, it will not allow coverage to drop below its current percentage. | ||
[Scrutinizer](https://scrutinizer-ci.com/) is used to ensure code quality and enforce the [coding standard](http://www.php-fig.org/psr/psr-2/). |
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 @@ | ||
## Expected Behavior | ||
|
||
## Actual Behavior | ||
|
||
## Steps to reproduce the behavior | ||
|
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,8 @@ | ||
Fixes # . | ||
|
||
#### What does this PR do? | ||
|
||
#### Checklist | ||
- [ ] Pull request contains a clear definition of changes | ||
- [ ] Tests (either unit, integration, or acceptance) written and passing | ||
- [ ] Relevant documentation produced and/or updated |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/coverage/ | ||
/vendor/ | ||
/clover.xml | ||
composer.lock | ||
phpunit.xml |
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 |
---|---|---|
@@ -1,19 +1,20 @@ | ||
filter: | ||
excluded_paths: | ||
- 'vendor/*' | ||
- 'tests/*' | ||
before_commands: | ||
- 'composer install' | ||
tools: | ||
php_analyzer: true | ||
php_mess_detector: true | ||
php_code_sniffer: | ||
config: | ||
standard: PSR1 | ||
standard: PSR2 | ||
sensiolabs_security_checker: true | ||
php_loc: | ||
excluded_dirs: | ||
- vendor | ||
- tests | ||
php_pdepend: true | ||
php_sim: true | ||
build_failure_conditions: | ||
- 'elements.rating(<= B).new.exists' | ||
- 'issues.label("coding-style").new.exists' | ||
- 'issues.severity(>= MAJOR).new.exists' | ||
- 'project.metric("scrutinizer.quality", <= 9)' |
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 |
---|---|---|
@@ -1,6 +1,18 @@ | ||
language: php | ||
php: | ||
- 7.0 | ||
- 5.6 | ||
script: ./build.php | ||
after_script: ./vendor/bin/coveralls -v | ||
- 7.1 | ||
- 7.2 | ||
- nightly | ||
env: | ||
- PREFER_LOWEST="--prefer-lowest --prefer-stable" | ||
- PREFER_LOWEST="" | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
before_script: | ||
- composer update $PREFER_LOWEST | ||
script: | ||
- ./vendor/bin/phpunit --coverage-clover clover.xml | ||
after_success: ./vendor/bin/coveralls -v |
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
Oops, something went wrong.