-
Notifications
You must be signed in to change notification settings - Fork 0
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
9 changed files
with
118 additions
and
1 deletion.
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,2 @@ | ||
coverage_clover: clover.xml | ||
json_path: coveralls.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,11 @@ | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/grumphp.yml export-ignore | ||
/docs/ export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/tests/ export-ignore | ||
/.gitignore export-ignore | ||
/README.md export-ignore | ||
/CHANGELOG.md export-ignore | ||
/CONTRIBUTING.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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
.idea | ||
vendor | ||
/vendor/ | ||
composer.lock | ||
.phpunit.result.cache | ||
clover.xml | ||
coveralls.json | ||
.env | ||
!.gitkeep |
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,25 @@ | ||
language: php | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
- nightly | ||
|
||
matrix: | ||
allow_failures: | ||
- php: nightly | ||
|
||
before_script: | ||
- travis_retry composer self-update | ||
- travis_retry composer install --no-interaction | ||
|
||
script: | ||
- vendor/bin/grumphp run | ||
- vendor/bin/phpunit tests --coverage-clover clover.xml | ||
|
||
after_success: | ||
- travis_retry php vendor/bin/php-coveralls | ||
|
||
notifications: | ||
email: | ||
on_success: never |
Empty file.
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,21 @@ | ||
# Contributing | ||
|
||
We welcome contributions. | ||
|
||
We accept contributions via pull requests on [Github](https://github.com/qlimix/dependency-container-pimple). | ||
|
||
## Pull Requests | ||
|
||
- [Qlimix/code-standard](https://github.com/qlimix/code-standard) | ||
|
||
- Use the least possible magic (not __get() etc) | ||
|
||
- Tests are required to ensure the quality of the code base | ||
|
||
- Document changes in the CHANGELOG.md and relevant other doc files | ||
|
||
- Use semantic versioning ([SemVer v2.0.0](http://semver.org/)) | ||
|
||
- Create feature branches, create a new branch for each feature | ||
|
||
- Be respectful to other contributors |
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,19 @@ | ||
Copyright (c) 2019 Frank Naber | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,34 @@ | ||
# dependency-container-pimple | ||
|
||
[![Travis CI](https://api.travis-ci.org/qlimix/dependency-container-pimple.svg?branch=master)](https://travis-ci.org/qlimix/dependency-container-pimple) | ||
[![Coveralls](https://img.shields.io/coveralls/github/qlimix/dependency-container-pimple.svg)](https://coveralls.io/github/qlimix/dependency-container-pimple) | ||
[![Packagist](https://img.shields.io/packagist/v/qlimix/dependency-container-pimple.svg)](https://packagist.org/packages/qlimix/dependency-container-pimple) | ||
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/qlimix/dependency-container-pimple/blob/master/LICENSE) | ||
|
||
Dependency registry implemented with Pimple | ||
|
||
## Install | ||
|
||
Using Composer: | ||
|
||
~~~ | ||
$ composer require qlimix/dependency-container-pimple | ||
~~~ | ||
|
||
## Testing | ||
To run all unit tests locally with PHPUnit: | ||
|
||
~~~ | ||
$ vendor/bin/phpunit | ||
~~~ | ||
|
||
## Quality | ||
To ensure code quality run grumphp which will run all tools: | ||
|
||
~~~ | ||
$ vendor/bin/grumphp run | ||
~~~ | ||
|
||
## Contributing | ||
|
||
Please see [CONTRIBUTING](CONTRIBUTING.md) for details. |
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
} | ||
], | ||
"require": { | ||
"php": ">=7.2", | ||
"qlimix/dependency-container": "^1.0", | ||
"pimple/pimple": "^3.2" | ||
}, | ||
|