Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ExponentialBackoffErrorHandler and accompanying test.
Added MicroSleepErrorHandler and accompanying test.
- Loading branch information
0 parents
commit 41f6927
Showing
13 changed files
with
1,399 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,2 @@ | ||
/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,23 @@ | ||
notifications: | ||
email: false | ||
|
||
sudo: false | ||
|
||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
install: | ||
- alias composer=composer\ -n && composer selfupdate | ||
- composer validate | ||
- composer --prefer-source install | ||
- composer --prefer-source require satooshi/php-coveralls | ||
|
||
script: | ||
- bin/test --coverage-clover=build/logs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Retry | ||
===== | ||
|
||
[![Latest version][Version image]][Releases] | ||
[![Build status][Build image]][Build] | ||
[![Test coverage][Coverage image]][Coverage] | ||
[![Code style][Style image]][Style] | ||
|
||
Provides error handlers for [Retry][Retry]. | ||
|
||
Requirements | ||
------------ | ||
|
||
- [PHP 5.5](http://php.net/) | ||
- [Composer](https://getcomposer.org/) | ||
|
||
|
||
[Releases]: https://github.com/ScriptFUSION/Retry-Error-Handlers/releases | ||
[Version image]: https://poser.pugx.org/scriptfusion/retry-error-handlers/v/stable "Latest version" | ||
[Build]: http://travis-ci.org/ScriptFUSION/Retry-Error-Handlers | ||
[Build image]: https://travis-ci.org/ScriptFUSION/Retry-Error-Handlers.svg "Build status" | ||
[Coverage]: https://coveralls.io/github/ScriptFUSION/Retry-Error-Handlers | ||
[Coverage image]: https://coveralls.io/repos/ScriptFUSION/Retry-Error-Handlers/badge.svg "Test coverage" | ||
[Style]: https://styleci.io/repos/63633635 | ||
[Style image]: https://styleci.io/repos/63633635/shield?style=flat "Code style" | ||
[Retry]: https://github.com/ScriptFUSION/Retry |
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,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd "$(dirname "$0")"/.. | ||
|
||
vendor/bin/phpunit -c test "$@" |
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 @@ | ||
{ | ||
"name": "scriptfusion/retry-error-handlers", | ||
"description": "Error handlers for Retry.", | ||
"authors": [ | ||
{ | ||
"name": "Bilge", | ||
"email": "bilge@scriptfusion.com" | ||
} | ||
], | ||
"require": { | ||
"scriptfusion/retry": "^1" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"ScriptFUSION\\Retry\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"ScriptFUSIONTest\\Retry\\": "test" | ||
} | ||
} | ||
} |
Oops, something went wrong.