Skip to content

Commit

Permalink
Add discord link
Browse files Browse the repository at this point in the history
  • Loading branch information
meekstellar committed Nov 18, 2022
1 parent 578702a commit 3e61232
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[![Codecov](https://codecov.io/gh/spiral/roadrunner-bridge/branch/master/graph/badge.svg)](https://codecov.io/gh/spiral/roadrunner-bridge/)
[![Total Downloads](https://poser.pugx.org/spiral/roadrunner-bridge/downloads)](https://packagist.org/packages/spiral/roadrunner-bridge)
[![StyleCI](https://github.styleci.io/repos/447581540/shield)](https://github.styleci.io/repos/447581540)
<a href="https://discord.gg/8bZsjYhVVk"><img src="https://img.shields.io/badge/discord-chat-magenta.svg"></a>

## Requirements

Expand Down Expand Up @@ -1324,7 +1325,7 @@ use Spiral\RoadRunnerBridge\Bootloader as RoadRunnerBridge;

protected const LOAD = [
// ...
RoadRunnerBridge\CentrifugoBootloader::class,
RoadRunnerBridge\CentrifugoBootloader::class,
// ...
];
```
Expand Down
2 changes: 1 addition & 1 deletion src/GRPC/ProtocCommandBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private function getProtoFiles(string $protoDir): array
{
return \array_filter(
$this->files->getFiles($protoDir),
static fn(string $file) => \str_ends_with($file, '.proto')
static fn (string $file) => \str_ends_with($file, '.proto')
);
}

Expand Down
14 changes: 7 additions & 7 deletions tests/src/GRPC/ProtocCommandBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public function testBuild(): void

$files->shouldReceive('getFiles')->with('path1')
->andReturn([
'message.proto.tmp',
'service.proto.tmp',
'message.proto',
'service.proto',
'.gitignore',
'.gitattributes'
'message.proto.tmp',
'service.proto.tmp',
'message.proto',
'service.proto',
'.gitignore',
'.gitattributes',
]);

$this->assertSame(
Expand All @@ -61,7 +61,7 @@ public function testBuildWithNullServicesBasePath(): void
'message.proto',
'service.proto',
'.gitignore',
'.gitattributes'
'.gitattributes',
]);

$this->assertSame(
Expand Down

0 comments on commit 3e61232

Please sign in to comment.