forked from stechstudio/backoff
-
Notifications
You must be signed in to change notification settings - Fork 2
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
29 changed files
with
353 additions
and
646 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
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
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,29 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* JBZoo Toolbox - Retry | ||
* JBZoo Toolbox - Retry. | ||
* | ||
* This file is part of the JBZoo Toolbox project. | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @package Retry | ||
* @license MIT | ||
* @copyright Copyright (C) JBZoo.com, All rights reserved. | ||
* @link https://github.com/JBZoo/Retry | ||
* @see https://github.com/JBZoo/Retry | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
$default = include __DIR__ . '/vendor/jbzoo/codestyle/src/phan/default.php'; | ||
$default = include __DIR__ . '/vendor/jbzoo/codestyle/src/phan.php'; | ||
|
||
$config = array_merge($default, [ | ||
return \array_merge($default, [ | ||
'directory_list' => [ | ||
'src', | ||
] | ||
], | ||
]); | ||
|
||
$config['plugins'][] = 'NotFullyQualifiedUsagePlugin'; | ||
$config['plugins'][] = 'UnknownElementTypePlugin'; | ||
|
||
return $config; |
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 |
---|---|---|
@@ -1,61 +1,69 @@ | ||
{ | ||
"name" : "jbzoo/retry", | ||
"type" : "library", | ||
"description" : "Tiny PHP library providing retry functionality with multiple backoff strategies and jitter support", | ||
"license" : "MIT", | ||
"keywords" : [ | ||
"jbzoo", "jitter", "retry", "backoff", "middleware", | ||
"back-off", "retry-after", "failure", "restart", "retryable" | ||
"name" : "jbzoo/retry", | ||
"type" : "library", | ||
"description" : "Tiny PHP library providing retry functionality with multiple backoff strategies and jitter support", | ||
"license" : "MIT", | ||
"keywords" : [ | ||
"jbzoo", | ||
"jitter", | ||
"retry", | ||
"backoff", | ||
"middleware", | ||
"back-off", | ||
"retry-after", | ||
"failure", | ||
"restart", | ||
"retryable" | ||
], | ||
|
||
"authors" : [ | ||
"authors" : [ | ||
{ | ||
"name" : "Joseph Szobody", | ||
"email" : "joseph@stechstudio.com", | ||
"name" : "Denis Smetannikov", | ||
"email" : "admin@jbzoo.com", | ||
"role" : "lead" | ||
}, | ||
{ | ||
"name" : "Denis Smetannikov", | ||
"email" : "[email protected]" | ||
"name" : "Joseph Szobody", | ||
"email" : "[email protected]", | ||
"role" : "author" | ||
} | ||
], | ||
|
||
"require" : { | ||
"php" : ">=7.4" | ||
"minimum-stability" : "dev", | ||
"prefer-stable" : true, | ||
|
||
"require" : { | ||
"php" : "^8.1" | ||
}, | ||
|
||
"require-dev" : { | ||
"jbzoo/toolbox-dev" : "^4.0.1" | ||
"require-dev" : { | ||
"jbzoo/toolbox-dev" : "7.x-dev" | ||
}, | ||
|
||
"replace" : { | ||
"replace" : { | ||
"stechstudio/backoff" : "*" | ||
}, | ||
|
||
"autoload" : { | ||
"psr-4" : { | ||
"JBZoo\\Retry\\" : "src" | ||
}, | ||
"autoload" : { | ||
"psr-4" : {"JBZoo\\Retry\\" : "src"}, | ||
"files" : [ | ||
"src/defines.php", | ||
"src/aliases.php" | ||
] | ||
}, | ||
|
||
"autoload-dev" : { | ||
"classmap" : ["tests"] | ||
"autoload-dev" : { | ||
"psr-4" : {"JBZoo\\PHPUnit\\" : "tests"} | ||
}, | ||
|
||
"config" : { | ||
"config" : { | ||
"optimize-autoloader" : true, | ||
"allow-plugins" : { | ||
"composer/package-versions-deprecated" : true | ||
} | ||
"allow-plugins" : {"composer/package-versions-deprecated" : true} | ||
}, | ||
|
||
"extra" : { | ||
"extra" : { | ||
"branch-alias" : { | ||
"dev-master" : "2.x-dev" | ||
"dev-master" : "7.x-dev" | ||
} | ||
} | ||
} |
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,26 +1,21 @@ | ||
<?php | ||
|
||
/** | ||
* JBZoo Toolbox - Retry | ||
* JBZoo Toolbox - Retry. | ||
* | ||
* This file is part of the JBZoo Toolbox project. | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @package Retry | ||
* @license MIT | ||
* @copyright Copyright (C) JBZoo.com, All rights reserved. | ||
* @link https://github.com/JBZoo/Retry | ||
* @see https://github.com/JBZoo/Retry | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace JBZoo\Retry; | ||
|
||
/** | ||
* Class Exception | ||
* @package JBZoo\Retry | ||
*/ | ||
class Exception extends \RuntimeException | ||
{ | ||
} |
Oops, something went wrong.