Skip to content

Commit

Permalink
Added channel events
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Shabouta authored and zloyuser committed Aug 11, 2019
1 parent dc608fe commit 554efed
Show file tree
Hide file tree
Showing 44 changed files with 1,116 additions and 492 deletions.
2 changes: 2 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ checks:
build:
nodes:
analysis:
services:
rabbitmq: 3
project_setup:
override: true
tests:
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ php:
- 7.2
- 7.3

services:
- rabbitmq
addons:
apt:
packages:
- rabbitmq-server

cache:
directories:
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/AbstractBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace PHPinnacle\Ridge\Bench;

use PhpBench\Benchmark\Metadata\Annotations\AfterMethods;
use PhpBench\Benchmark\Metadata\Annotations\BeforeMethods;
use PHPinnacle\Ridge\Channel;
use PHPinnacle\Ridge\Client;
use function Amp\call;
Expand Down Expand Up @@ -76,4 +78,3 @@ public function clear(): void
}));
}
}

2 changes: 2 additions & 0 deletions benchmarks/ConsumeBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace PHPinnacle\Ridge\Bench;

use PhpBench\Benchmark\Metadata\Annotations\Iterations;
use PhpBench\Benchmark\Metadata\Annotations\Revs;
use PHPinnacle\Ridge\Message;
use function Amp\call;
use function Amp\Promise\wait;
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/ProduceBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace PHPinnacle\Ridge\Bench;

use PhpBench\Benchmark\Metadata\Annotations\Iterations;
use PhpBench\Benchmark\Metadata\Annotations\Revs;
use function Amp\call;
use function Amp\Promise\wait;

Expand All @@ -28,4 +30,3 @@ public function benchPublish(): void
}));
}
}

Loading

0 comments on commit 554efed

Please sign in to comment.