repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/PhpHttp/RetryPlugin.php
src/Tolerance/Bridge/PhpHttp/RetryPlugin.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\PhpHttp; use Http\Client\Common\Plugin; use Http\Clien...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/RabbitMqBundle/Tracer/TracedProducer.php
src/Tolerance/Bridge/RabbitMqBundle/Tracer/TracedProducer.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\RabbitMqBundle\Tracer; use OldSound\RabbitMqBundle\Rab...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/RabbitMqBundle/Tracer/TracedConsumer.php
src/Tolerance/Bridge/RabbitMqBundle/Tracer/TracedConsumer.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\RabbitMqBundle\Tracer; use OldSound\RabbitMqBundle\Rab...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Events.php
src/Tolerance/Bridge/Symfony/Events.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony; final class Events { /** * This even...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Operation/RunBufferedOperationsWhenTerminates.php
src/Tolerance/Bridge/Symfony/Operation/RunBufferedOperationsWhenTerminates.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Operation; use Symfony\Component\Console\Conso...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Operation/OperationRunnerRegistry.php
src/Tolerance/Bridge/Symfony/Operation/OperationRunnerRegistry.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Operation; use Tolerance\Operation\Runner\Oper...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Tracer/StopWatch/WatchedTracer.php
src/Tolerance/Bridge/Symfony/Tracer/StopWatch/WatchedTracer.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Tracer\StopWatch; use Symfony\Component\Stopwa...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Tracer/EventListener/OnKernelTerminate/TraceOutgoingResponse.php
src/Tolerance/Bridge/Symfony/Tracer/EventListener/OnKernelTerminate/TraceOutgoingResponse.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Tracer\EventListener\OnKernelTerminate; use Sy...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Tracer/EventListener/OnKernelRequest/CreateAndTraceIncomingSpan.php
src/Tolerance/Bridge/Symfony/Tracer/EventListener/OnKernelRequest/CreateAndTraceIncomingSpan.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Tracer\EventListener\OnKernelRequest; use Symf...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/ToleranceBundle.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/ToleranceBundle.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle; use Symfony\Component\...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/ToleranceExtension.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/ToleranceExtension.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection; us...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/Configuration.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/Configuration.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection; us...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectMetricsCollectorsAndPublishers.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectMetricsCollectorsAndPublishers.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\CompilerPass; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; class CollectMetricsCollectorsAn...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/RabbitMqCompilerPass.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/RabbitMqCompilerPass.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\CompilerPass; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\Dependency...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectOperationRunnersCompilerPass.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectOperationRunnersCompilerPass.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\Comp...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/AopCompilerPass.php
src/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/AopCompilerPass.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\Comp...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/Event/RequestEnded.php
src/Tolerance/Bridge/Symfony/Metrics/Event/RequestEnded.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\Event; use Symfony\Component\EventDisp...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/Request/StaticRequestMetricNamespaceResolver.php
src/Tolerance/Bridge/Symfony/Metrics/Request/StaticRequestMetricNamespaceResolver.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\Request; use Symfony\Component\HttpFou...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/Request/RequestMetricNamespaceResolver.php
src/Tolerance/Bridge/Symfony/Metrics/Request/RequestMetricNamespaceResolver.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\Request; use Symfony\Component\HttpFou...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/EventListener/RequestEnded/SendRequestTimeToPublisher.php
src/Tolerance/Bridge/Symfony/Metrics/EventListener/RequestEnded/SendRequestTimeToPublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\EventListener\RequestEnded; use Psr\Lo...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/EventListener/KernelRequest/RecordRequestStartTime.php
src/Tolerance/Bridge/Symfony/Metrics/EventListener/KernelRequest/RecordRequestStartTime.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\EventListener\KernelRequest; use Symfo...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/EventListener/RequestsEnds/DispatchRequestEndedEvent.php
src/Tolerance/Bridge/Symfony/Metrics/EventListener/RequestsEnds/DispatchRequestEndedEvent.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\EventListener\RequestsEnds; use Symfon...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Symfony/Metrics/Command/CollectAndPublishMetricsCommand.php
src/Tolerance/Bridge/Symfony/Metrics/Command/CollectAndPublishMetricsCommand.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Symfony\Metrics\Command; use Symfony\Component\Console...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/JMSAopBundle/Operation/WrapperInterceptor.php
src/Tolerance/Bridge/JMSAopBundle/Operation/WrapperInterceptor.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\JMSAopBundle\Operation; use CG\Proxy\MethodInterceptor...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/JMSAopBundle/Operation/RunnerRepository.php
src/Tolerance/Bridge/JMSAopBundle/Operation/RunnerRepository.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\JMSAopBundle\Operation; use Tolerance\Operation\Runner...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/JMSAopBundle/Operation/WrapperPointcut.php
src/Tolerance/Bridge/JMSAopBundle/Operation/WrapperPointcut.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\JMSAopBundle\Operation; use JMS\AopBundle\Aop\Pointcut...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Monolog/MessageProfile/RequestIdentifierProcessor.php
src/Tolerance/Bridge/Monolog/MessageProfile/RequestIdentifierProcessor.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Monolog\MessageProfile; use Symfony\Component\HttpFoun...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/Monolog/Tracer/CurrentSpanProcessor.php
src/Tolerance/Bridge/Monolog/Tracer/CurrentSpanProcessor.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\Monolog\Tracer; use Tolerance\Tracer\SpanStack\SpanSta...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Bridge/SimpleBus/RabbitMqBundleBridge/Tracer/MessageClassNameAdditionalPropertiesResolver.php
src/Tolerance/Bridge/SimpleBus/RabbitMqBundleBridge/Tracer/MessageClassNameAdditionalPropertiesResolver.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Bridge\SimpleBus\RabbitMqBundleBridge\Tracer; use PhpAmqpLib\...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/TimeOut.php
src/Tolerance/Waiter/TimeOut.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; class TimeOut implements Waiter, StatefulWaiter { ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/CountLimited.php
src/Tolerance/Waiter/CountLimited.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; use Tolerance\Waiter\Exception\CountLimitReached; cl...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/StatefulWaiter.php
src/Tolerance/Waiter/StatefulWaiter.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; /** * This interface have to be implemented by wait...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/SleepWaiter.php
src/Tolerance/Waiter/SleepWaiter.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; class SleepWaiter implements Waiter { /** * ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/Waiter.php
src/Tolerance/Waiter/Waiter.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; interface Waiter { /** * Wait that given amo...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/ExponentialBackOff.php
src/Tolerance/Waiter/ExponentialBackOff.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; class ExponentialBackOff implements Waiter, StatefulW...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/NullWaiter.php
src/Tolerance/Waiter/NullWaiter.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; class NullWaiter implements Waiter { /** * {...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/Linear.php
src/Tolerance/Waiter/Linear.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; final class Linear implements Waiter { /** *...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/WaiterException.php
src/Tolerance/Waiter/WaiterException.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter; class WaiterException extends \Exception { }
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/Exception/TimedOutExceeded.php
src/Tolerance/Waiter/Exception/TimedOutExceeded.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter\Exception; use Tolerance\Waiter\WaiterException; clas...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Waiter/Exception/CountLimitReached.php
src/Tolerance/Waiter/Exception/CountLimitReached.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Waiter\Exception; use Tolerance\Waiter\WaiterException; clas...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/Rate/TimeRate.php
src/Tolerance/Throttling/Rate/TimeRate.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\Rate; /** * Defines a rate in time. * * @see ht...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/Rate/CounterRate.php
src/Tolerance/Throttling/Rate/CounterRate.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\Rate; class CounterRate implements Rate { /** ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/Rate/Rate.php
src/Tolerance/Throttling/Rate/Rate.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\Rate; interface Rate { /** * Get the numb...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/OperationRunner/DefaultIdentifierStrategy.php
src/Tolerance/Throttling/OperationRunner/DefaultIdentifierStrategy.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\OperationRunner; use Tolerance\Operation\Operation...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/OperationRunner/RateLimitedOperationRunner.php
src/Tolerance/Throttling/OperationRunner/RateLimitedOperationRunner.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\OperationRunner; use Tolerance\Operation\Operation...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/OperationRunner/ThrottlingIdentifierStrategy.php
src/Tolerance/Throttling/OperationRunner/ThrottlingIdentifierStrategy.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\OperationRunner; use Tolerance\Operation\Operation...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/Waiter/RateLimitWaiter.php
src/Tolerance/Throttling/Waiter/RateLimitWaiter.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\Waiter; use Tolerance\Throttling\RateLimit\RateLim...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/RateMeasureStorage/RateMeasureStorage.php
src/Tolerance/Throttling/RateMeasureStorage/RateMeasureStorage.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\RateMeasureStorage; use Tolerance\Throttling\RateM...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/RateMeasureStorage/InMemoryStorage.php
src/Tolerance/Throttling/RateMeasureStorage/InMemoryStorage.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\RateMeasureStorage; use Tolerance\Throttling\RateM...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/RateMeasure/ImmutableRateMeasure.php
src/Tolerance/Throttling/RateMeasure/ImmutableRateMeasure.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\RateMeasure; use Tolerance\Throttling\Rate\Rate; ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/RateMeasure/RateMeasure.php
src/Tolerance/Throttling/RateMeasure/RateMeasure.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\RateMeasure; use Tolerance\Throttling\Rate\Rate; ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/RateLimit/LeakyBucket.php
src/Tolerance/Throttling/RateLimit/LeakyBucket.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\RateLimit; use Tolerance\Throttling\Rate\CounterRa...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Throttling/RateLimit/RateLimit.php
src/Tolerance/Throttling/RateLimit/RateLimit.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Throttling\RateLimit; interface RateLimit { /** * Re...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Metric.php
src/Tolerance/Metrics/Metric.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics; class Metric { const TYPE_MEASURE = 1; const...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Publisher/CollectionMetricPublisher.php
src/Tolerance/Metrics/Publisher/CollectionMetricPublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Publisher; final class CollectionMetricPublisher impl...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Publisher/HostedGraphitePublisher.php
src/Tolerance/Metrics/Publisher/HostedGraphitePublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Publisher; final class HostedGraphitePublisher implem...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Publisher/DelegatesToOperationRunnerPublisher.php
src/Tolerance/Metrics/Publisher/DelegatesToOperationRunnerPublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Publisher; use Tolerance\Operation\Callback; use Tole...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Publisher/BeberleiMetricsAdapterPublisher.php
src/Tolerance/Metrics/Publisher/BeberleiMetricsAdapterPublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Publisher; use Beberlei\Metrics\Collector\Collector; ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Publisher/MetricPublisher.php
src/Tolerance/Metrics/Publisher/MetricPublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Publisher; use Tolerance\Metrics\Metric; interface M...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Publisher/LoggerPublisher.php
src/Tolerance/Metrics/Publisher/LoggerPublisher.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Publisher; use Psr\Log\LoggerInterface; final class ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Collector/NamespacedCollector.php
src/Tolerance/Metrics/Collector/NamespacedCollector.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Collector; use Tolerance\Metrics\Metric; final class...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Collector/CollectionMetricCollector.php
src/Tolerance/Metrics/Collector/CollectionMetricCollector.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Collector; final class CollectionMetricCollector impl...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Collector/MetricCollector.php
src/Tolerance/Metrics/Collector/MetricCollector.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Collector; use Tolerance\Metrics\Metric; interface M...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Collector/RabbitMq/RabbitMqCollector.php
src/Tolerance/Metrics/Collector/RabbitMq/RabbitMqCollector.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Collector\RabbitMq; use Tolerance\Metrics\Collector\M...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/src/Tolerance/Metrics/Collector/RabbitMq/RabbitMqHttpClient.php
src/Tolerance/Metrics/Collector/RabbitMq/RabbitMqHttpClient.php
<?php /* * This file is part of the Tolerance package. * * (c) Samuel ROZE <samuel.roze@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tolerance\Metrics\Collector\RabbitMq; use GuzzleHttp\ClientInterface; ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Tracer/InMemoryTracer.php
tests/Tolerance/Tracer/InMemoryTracer.php
<?php namespace Tolerance\Tracer; class InMemoryTracer implements Tracer { private $spans = []; /** * {@inheritdoc} */ public function trace(array $spans) { $this->spans[] = array_merge($this->spans, $spans); } /** * @return array */ public function getSpans()...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Guzzle/HookableMiddlewareFactory.php
tests/Tolerance/Bridge/Guzzle/HookableMiddlewareFactory.php
<?php namespace Tolerance\Bridge\Guzzle; use Psr\Http\Message\RequestInterface; class HookableMiddlewareFactory { /** * @var callable */ private $hook = null; /** * @return callable */ public function create() { return function (callable $handler) { return...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/ToleranceExtensionTest.php
tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/ToleranceExtensionTest.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection; use Prophecy\Argument; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Reference; class ToleranceExtensionTest extends \PHPU...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectOperationRunnersCompilerPassTest.php
tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectOperationRunnersCompilerPassTest.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\CompilerPass; use Symfony\Component\DependencyInjection\Reference; class CollectOperationRunnersCompilerPassTest extends \PHPUnit_Framework_TestCase { public function test_it_adds_the_operation_runners_to_the_registry() { ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectMetricsCollectorsAndPublishersTest.php
tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/CollectMetricsCollectorsAndPublishersTest.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\CompilerPass; use Prophecy\Argument; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Reference; class CollectMetricsCollectorsAndPublishersTest extends \PHPUnit_Framework_TestCase { ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/AopCompilerPassTest.php
tests/Tolerance/Bridge/Symfony/Bundle/ToleranceBundle/DependencyInjection/CompilerPass/AopCompilerPassTest.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\CompilerPass; use Symfony\Component\DependencyInjection\Reference; class AopCompilerPassTest extends \PHPUnit_Framework_TestCase { public function test_it_adds_nothing_if_aop_is_not_enabled() { $compilerPass = new Aop...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/AppBundle.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/AppBundle.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class AppBundle extends Bundle { }
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/Controller/DefaultController.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/Controller/DefaultController.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle\Controller; use Symfony\Component\HttpFoundation\Response; class DefaultController { public function indexAction() { return new Response('OK'); } public function willThrowAnExceptionAction() { throw new \RuntimeException('...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/DependencyInjection/AppExtension.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/DependencyInjection/AppExtension.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle\DependencyInjection; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; class AppExtension ext...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/ApiClient.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/ApiClient.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty; interface ApiClient { /** * Get something from the API client. * * This is used for demo and testing purposes only, obviously :) * * @throws ApiException * * @return string */ public function get(); }...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/ApiException.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/ApiException.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty; class ApiException extends \Exception { }
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/GuzzleBasedApiClient.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/GuzzleBasedApiClient.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty; use GuzzleHttp\ClientInterface; use GuzzleHttp\Exception\TransferException; class GuzzleBasedApiClient implements ApiClient { /** * @var ClientInterface */ private $client; /** * @param ClientInterface $client */ ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/StepByStepHookApiClient.php
tests/Tolerance/Bridge/Symfony/Bundle/AppBundle/ThirdParty/StepByStepHookApiClient.php
<?php namespace Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty; class StepByStepHookApiClient implements ApiClient { /** * @var callable[] */ private $hooks = []; /** * @var int */ private $counter = 0; /** * {@inheritdoc} */ public function get() { ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Throttling/RateLimit/LeakyBucketTest.php
tests/Tolerance/Throttling/RateLimit/LeakyBucketTest.php
<?php namespace Tolerance\Throttling\RateLimit; use Tolerance\Throttling\Rate\TimeRate; use Tolerance\Throttling\RateMeasureStorage\InMemoryStorage; class LeakyBucketTest extends \PHPUnit_Framework_TestCase { public function test_that_it_do_not_exceed_the_number_of_operations() { $bucket = new LeakyB...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/tests/Tolerance/Metrics/Publisher/TracedPublisher.php
tests/Tolerance/Metrics/Publisher/TracedPublisher.php
<?php namespace Tolerance\Metrics\Publisher; use Tolerance\Metrics\Metric; class TracedPublisher implements MetricPublisher { /** * @var MetricPublisher */ private $publisher; /** * @var Metric[] */ private $publishedMetrics = []; /** * @param MetricPublisher $publisher...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/app/AppKernel.php
features/symfony/app/AppKernel.php
<?php use Beberlei\Bundle\MetricsBundle\BeberleiMetricsBundle; use Csa\Bundle\GuzzleBundle\CsaGuzzleBundle; use JMS\AopBundle\JMSAopBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\TwigBundle\TwigBundle; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\HttpKernel...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/app/bootstrap.php
features/symfony/app/bootstrap.php
<?php $loader = require __DIR__.'/../../../vendor/autoload.php'; require 'AppKernel.php'; return $loader;
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/bootstrap/MetricsContext.php
features/symfony/bootstrap/MetricsContext.php
<?php use Behat\Behat\Context\Context; use Tolerance\Metrics\Metric; use Tolerance\Metrics\Publisher\TracedPublisher; class MetricsContext implements Context { /** * @var TracedPublisher */ private $tracedPublisher; /** * @param TracedPublisher $tracedPublisher */ public function ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/bootstrap/AopContext.php
features/symfony/bootstrap/AopContext.php
<?php use Behat\Behat\Context\Context; use Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty\ApiClient; use Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty\ApiException; use Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty\StepByStepHookApiClient; class AopContext implements Context { /** * @var ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/bootstrap/PhpHttpContext.php
features/symfony/bootstrap/PhpHttpContext.php
<?php use Behat\Behat\Context\Context; use Http\Mock\Client as MockClient; use Http\Client\Common\PluginClient; use Tolerance\Bridge\PhpHttp\RetryPlugin; use Tolerance\Waiter\SleepWaiter; use Tolerance\Waiter\CountLimited; use Http\Message\MessageFactory\GuzzleMessageFactory; use function GuzzleHttp\Psr7\copy_to_strin...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/bootstrap/TracerContext.php
features/symfony/bootstrap/TracerContext.php
<?php use Behat\Behat\Context\Context; use Tolerance\Tracer\InMemoryTracer; class TracerContext implements Context { /** * @var InMemoryTracer */ private $inMemoryTracer; /** * @param InMemoryTracer $inMemoryTracer */ public function __construct(InMemoryTracer $inMemoryTracer) ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/bootstrap/GuzzleContext.php
features/symfony/bootstrap/GuzzleContext.php
<?php use Behat\Behat\Context\Context; use GuzzleHttp\Exception\ClientException; use GuzzleHttp\Promise\FulfilledPromise; use GuzzleHttp\Promise\RejectedPromise; use GuzzleHttp\Psr7\Response; use Psr\Http\Message\RequestInterface; use Tolerance\Bridge\Guzzle\HookableMiddlewareFactory; use Tolerance\Bridge\Symfony\Bund...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/features/symfony/bootstrap/FeatureContext.php
features/symfony/bootstrap/FeatureContext.php
<?php use Behat\Behat\Context\Context; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Kernel; use Tolerance\Operation\Callback; use Tolerance\Operation\Runner\BufferedOperationRunner; class FeatureContext implements Context { /** * @var Kernel */ private $kernel; ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/PromiseOperationSpec.php
spec/Tolerance/Operation/PromiseOperationSpec.php
<?php namespace spec\Tolerance\Operation; use Tolerance\Operation\Operation; use PhpSpec\ObjectBehavior; class PromiseOperationSpec extends ObjectBehavior { function let() { $this->beConstructedWith(function() {}); } function it_should_be_an_operation() { $this->shouldHaveType(Op...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/CallbackSpec.php
spec/Tolerance/Operation/CallbackSpec.php
<?php namespace spec\Tolerance\Operation; use Tolerance\Operation\Operation; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class CallbackSpec extends ObjectBehavior { function let() { $this->beConstructedWith(function() {}); } function it_should_be_an_operation() { $this->sh...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Placeholder/ValueConstructedPlaceholderResponseResolverSpec.php
spec/Tolerance/Operation/Placeholder/ValueConstructedPlaceholderResponseResolverSpec.php
<?php namespace spec\Tolerance\Operation\Placeholder; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Tolerance\Operation\Operation; use Tolerance\Operation\Placeholder\PlaceholderResponseResolver; class ValueConstructedPlaceholderResponseResolverSpec extends ObjectBehavior { function it_is_a_placeholder_...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Exception/PromiseExceptionSpec.php
spec/Tolerance/Operation/Exception/PromiseExceptionSpec.php
<?php namespace spec\Tolerance\Operation\Exception; use PhpSpec\ObjectBehavior; use Psr\Http\Message\ResponseInterface; class PromiseExceptionSpec extends ObjectBehavior { function it_should_be_an_exception() { $this->beConstructedWith('anything'); $this->shouldHaveType(\Exception::class); ...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/ExceptionCatcher/AffirmativeThrowableCatcherVoterSpec.php
spec/Tolerance/Operation/ExceptionCatcher/AffirmativeThrowableCatcherVoterSpec.php
<?php namespace spec\Tolerance\Operation\ExceptionCatcher; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Tolerance\Operation\ExceptionCatcher\ThrowableCatcherVoter; class AffirmativeThrowableCatcherVoterSpec extends ObjectBehavior { function let(ThrowableCatcherVoter $firstVoter, ThrowableCatcherVoter $...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/ExceptionCatcher/IgnoreExceptionVoterSpec.php
spec/Tolerance/Operation/ExceptionCatcher/IgnoreExceptionVoterSpec.php
<?php namespace spec\Tolerance\Operation\ExceptionCatcher; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Tolerance\Operation\ExceptionCatcher\ExceptionCatcherVoter; use Tolerance\Operation\ExceptionCatcher\ThrowableCatcherVoter; class IgnoreExceptionVoterSpec extends ObjectBehavior { function it_is_an_e...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/ExceptionCatcher/WildcardExceptionVoterSpec.php
spec/Tolerance/Operation/ExceptionCatcher/WildcardExceptionVoterSpec.php
<?php namespace spec\Tolerance\Operation\ExceptionCatcher; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Tolerance\Operation\ExceptionCatcher\ExceptionCatcherVoter; use Tolerance\Operation\ExceptionCatcher\ThrowableCatcherVoter; class WildcardExceptionVoterSpec extends ObjectBehavior { function it_is_an...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Runner/PlaceholderOperationRunnerSpec.php
spec/Tolerance/Operation/Runner/PlaceholderOperationRunnerSpec.php
<?php namespace spec\Tolerance\Operation\Runner; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Psr\Log\LoggerInterface; use Tolerance\Operation\ExceptionCatcher\ThrowableCatcherVoter; use Tolerance\Operation\Operation; use Tolerance\Operation\Placeholder\PlaceholderResponseResolver; use Tolerance\Operation\R...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Runner/RetryPromiseOperationRunnerSpec.php
spec/Tolerance/Operation/Runner/RetryPromiseOperationRunnerSpec.php
<?php namespace spec\Tolerance\Operation\Runner; use GuzzleHttp\Promise\FulfilledPromise; use GuzzleHttp\Promise\Promise; use GuzzleHttp\Promise\RejectedPromise; use GuzzleHttp\Promise\RejectionException; use Tolerance\Operation\PromiseOperation; use Tolerance\Operation\Runner\OperationRunner; use Tolerance\Waiter\St...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Runner/CallbackOperationRunnerSpec.php
spec/Tolerance/Operation/Runner/CallbackOperationRunnerSpec.php
<?php namespace spec\Tolerance\Operation\Runner; use Tolerance\Operation\Callback; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class CallbackOperationRunnerSpec extends ObjectBehavior { function it_should_call_the_callable(Callback $callback) { $callback->call()->shouldBeCalled(); $th...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Runner/RetryOperationRunnerSpec.php
spec/Tolerance/Operation/Runner/RetryOperationRunnerSpec.php
<?php namespace spec\Tolerance\Operation\Runner; use Tolerance\Operation\ExceptionCatcher\ExceptionCatcherVoter; use Tolerance\Operation\ExceptionCatcher\ThrowableCatcherVoter; use Tolerance\Operation\Operation; use Tolerance\Operation\Runner\OperationRunner; use Tolerance\Operation\Runner\RetryOperationRunner; use T...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false
Tolerance/Tolerance
https://github.com/Tolerance/Tolerance/blob/b499e3f85465c6adefa522431b8b196a84045c30/spec/Tolerance/Operation/Runner/BufferedOperationRunnerSpec.php
spec/Tolerance/Operation/Runner/BufferedOperationRunnerSpec.php
<?php namespace spec\Tolerance\Operation\Runner; use Tolerance\Operation\Buffer\InMemoryOperationBuffer; use Tolerance\Operation\Operation; use Tolerance\Operation\Buffer\OperationBuffer; use Tolerance\Operation\Runner\OperationRunner; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class BufferedOperationRunnerS...
php
MIT
b499e3f85465c6adefa522431b8b196a84045c30
2026-01-05T02:23:04.845706Z
false