-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
c63c8ce
commit bfd281b
Showing
14 changed files
with
270 additions
and
0 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[{Makefile,*.mk}] | ||
indent_style = tab |
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 @@ | ||
services: | ||
phpcsfixer: |
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 @@ | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
/.flintci.yml export-ignore | ||
/.github/ export-ignore | ||
/.php_cs.dist export-ignore | ||
/.scrutinizer.yml export-ignore | ||
/.travis.yml export-ignore | ||
/phpspec.yml.dist export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/tests/ 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,27 @@ | ||
| Q | A | ||
| ------------ | --- | ||
| Bug? | no|yes | ||
| New Feature? | no|yes | ||
| Version | Specific version or SHA of a commit | ||
|
||
|
||
#### Actual Behavior | ||
|
||
What is the actual behavior? | ||
|
||
|
||
#### Expected Behavior | ||
|
||
What is the behavior you expect? | ||
|
||
|
||
#### Steps to Reproduce | ||
|
||
What are the steps to reproduce this bug? Please add code examples, | ||
screenshots or links to GitHub repositories that reproduce the problem. | ||
|
||
|
||
#### Possible Solutions | ||
|
||
If you have already ideas how to solve the issue, add them here. | ||
(remove this section if not needed) |
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,41 @@ | ||
| Q | A | ||
| --------------- | --- | ||
| Bug fix? | no|yes | ||
| New feature? | no|yes | ||
| BC breaks? | no|yes | ||
| Deprecations? | no|yes | ||
| Related tickets | fixes #X, partially #Y, mentioned in #Z | ||
| License | MIT | ||
|
||
|
||
#### What's in this PR? | ||
|
||
Explain the contents of the PR. | ||
|
||
|
||
#### Why? | ||
|
||
Which problem does the PR fix? (remove this section if you linked an issue above) | ||
|
||
|
||
#### Example Usage | ||
|
||
``` php | ||
// If you added new features, show examples of how to use them here | ||
// (remove this section if not a new feature) | ||
|
||
$foo = new Foo(); | ||
|
||
// Now we can do | ||
$foo->doSomething(); | ||
``` | ||
|
||
|
||
#### Checklist | ||
|
||
- [ ] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix | ||
|
||
|
||
#### To Do | ||
|
||
- [ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here |
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 @@ | ||
.php_cs | ||
.php_cs.cache | ||
/behat.yml | ||
/build/ | ||
/composer.lock | ||
/phpspec.yml | ||
/phpunit.xml | ||
/vendor/ |
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,15 @@ | ||
<?php | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->exclude('spec') | ||
->in(__DIR__) | ||
; | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@Symfony' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'yoda_style' => false, | ||
]) | ||
->setFinder($finder) | ||
; |
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 @@ | ||
filter: | ||
paths: [src/*] | ||
checks: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
tools: | ||
external_code_coverage: true |
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,47 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- nightly | ||
|
||
env: | ||
global: | ||
- TEST_COMMAND="composer test" | ||
|
||
branches: | ||
except: | ||
- /^analysis-.*$/ | ||
- /^flintci-.*$/ | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
include: | ||
- php: 5.6 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-coverage" | ||
|
||
before_install: | ||
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi | ||
|
||
install: | ||
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355 | ||
- if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi | ||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction | ||
|
||
script: $TEST_COMMAND | ||
|
||
after_success: > | ||
if [[ $COVERAGE = true ]]; then | ||
wget https://scrutinizer-ci.com/ocular.phar | ||
php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml | ||
fi |
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 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
|
||
[Unreleased]: https://github.com/bernardphp/drivers/compare/1.0.0...HEAD |
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) 2017 Henrik Bjornskov | ||
|
||
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,26 @@ | ||
# Bernard Drivers | ||
|
||
[![Latest Version](https://img.shields.io/github/release/bernardphp/drivers.svg?style=flat-square)](https://github.com/bernardphp/drivers/releases) | ||
[![Build Status](https://img.shields.io/travis/bernardphp/drivers.svg?style=flat-square)](https://travis-ci.org/bernardphp/drivers) | ||
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/bernardphp/drivers.svg?style=flat-square)](https://scrutinizer-ci.com/g/bernardphp/drivers) | ||
[![Quality Score](https://img.shields.io/scrutinizer/g/bernardphp/drivers.svg?style=flat-square)](https://scrutinizer-ci.com/g/bernardphp/drivers) | ||
[![Total Downloads](https://img.shields.io/packagist/dt/bernard/drivers.svg?style=flat-square)](https://packagist.org/packages/bernard/drivers) | ||
|
||
**Official Bernard drivers.** | ||
|
||
|
||
## Install | ||
|
||
Via Composer | ||
|
||
``` bash | ||
$ composer require bernard/drivers | ||
``` | ||
|
||
|
||
## Usage | ||
|
||
|
||
## License | ||
|
||
The MIT License (MIT). Please see [License File](LICENSE) for more information. |
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,43 @@ | ||
{ | ||
"name": "bernard/drivers", | ||
"description": "Official Bernard drivers", | ||
"license": "MIT", | ||
"keywords": ["message queue", "message", "queue", "bernard"], | ||
"homepage": "https://github.com/bernardphp", | ||
"authors": [ | ||
{ | ||
"name": "Márk Sági-Kazár", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^5.6 || ^7.0", | ||
"bernard/bernard": "dev-master" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^5.7 || ^6.0 || ^7.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Bernard\\Driver\\": "src/" | ||
}, | ||
"exclude-from-classmap": [ | ||
"**/Tests/" | ||
] | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf build/ vendor/", | ||
"test": "echo \"No tests defined\"", | ||
"test-coverage": "echo \"No tests defined\"" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "0.1-dev" | ||
} | ||
}, | ||
"prefer-stable": true, | ||
"minimum-stability": "dev" | ||
} |
Empty file.