diff options
author | Thomas PEREZ <[email protected]> | 2019-10-09 20:57:28 +0200 |
---|---|---|
committer | Thomas PEREZ <[email protected]> | 2019-10-09 21:00:07 +0200 |
commit | 46783061ceddee1fe8dd4f9aa9e71a2e6a293e7f (patch) | |
tree | 39844e383c16163c8f3cfdc92c06354353069dfd /src | |
parent | 98940ef86c39217b8bdf61e06b8883024334c45c (diff) |
Php cs fixer
Diffstat (limited to 'src')
-rw-r--r-- | src/Diactoros/ServerRequestFactory.php | 2 | ||||
-rw-r--r-- | src/Diactoros/StreamFactory.php | 2 | ||||
-rw-r--r-- | src/Diactoros/UploadedFileFactory.php | 2 | ||||
-rw-r--r-- | src/Exception/MetricException.php | 3 | ||||
-rw-r--r-- | src/Exception/RoadRunnerException.php | 3 | ||||
-rw-r--r-- | src/Exceptions/RoadRunnerException.php | 3 | ||||
-rw-r--r-- | src/Metrics.php | 2 | ||||
-rw-r--r-- | src/MetricsInterface.php | 2 | ||||
-rw-r--r-- | src/Worker.php | 5 |
9 files changed, 11 insertions, 13 deletions
diff --git a/src/Diactoros/ServerRequestFactory.php b/src/Diactoros/ServerRequestFactory.php index cb534577..d4ec92b9 100644 --- a/src/Diactoros/ServerRequestFactory.php +++ b/src/Diactoros/ServerRequestFactory.php @@ -22,4 +22,4 @@ final class ServerRequestFactory implements ServerRequestFactoryInterface $uploadedFiles = []; return new ServerRequest($serverParams, $uploadedFiles, $uri, $method); } -}
\ No newline at end of file +} diff --git a/src/Diactoros/StreamFactory.php b/src/Diactoros/StreamFactory.php index 1c51d911..1a7f975e 100644 --- a/src/Diactoros/StreamFactory.php +++ b/src/Diactoros/StreamFactory.php @@ -41,4 +41,4 @@ final class StreamFactory implements StreamFactoryInterface { return new Stream($resource); } -}
\ No newline at end of file +} diff --git a/src/Diactoros/UploadedFileFactory.php b/src/Diactoros/UploadedFileFactory.php index 7de9a30f..36a0554e 100644 --- a/src/Diactoros/UploadedFileFactory.php +++ b/src/Diactoros/UploadedFileFactory.php @@ -31,4 +31,4 @@ final class UploadedFileFactory implements UploadedFileFactoryInterface return new UploadedFile($stream, $size, $error, $clientFilename, $clientMediaType); } -}
\ No newline at end of file +} diff --git a/src/Exception/MetricException.php b/src/Exception/MetricException.php index 2d12eefe..6f2e7fde 100644 --- a/src/Exception/MetricException.php +++ b/src/Exception/MetricException.php @@ -13,5 +13,4 @@ use Spiral\Goridge\Exceptions\RPCException; class MetricException extends RPCException { - -}
\ No newline at end of file +} diff --git a/src/Exception/RoadRunnerException.php b/src/Exception/RoadRunnerException.php index 348cb106..0f8d5def 100644 --- a/src/Exception/RoadRunnerException.php +++ b/src/Exception/RoadRunnerException.php @@ -10,5 +10,4 @@ namespace Spiral\RoadRunner\Exception; class RoadRunnerException extends \Spiral\RoadRunner\Exceptions\RoadRunnerException { - -}
\ No newline at end of file +} diff --git a/src/Exceptions/RoadRunnerException.php b/src/Exceptions/RoadRunnerException.php index 803e4e31..b044a16e 100644 --- a/src/Exceptions/RoadRunnerException.php +++ b/src/Exceptions/RoadRunnerException.php @@ -14,5 +14,4 @@ namespace Spiral\RoadRunner\Exceptions; */ class RoadRunnerException extends \RuntimeException { - -}
\ No newline at end of file +} diff --git a/src/Metrics.php b/src/Metrics.php index c17b96eb..d204a585 100644 --- a/src/Metrics.php +++ b/src/Metrics.php @@ -100,4 +100,4 @@ final class Metrics implements MetricsInterface throw new MetricException($e->getMessage(), $e->getCode(), $e); } } -}
\ No newline at end of file +} diff --git a/src/MetricsInterface.php b/src/MetricsInterface.php index 04756216..a809536c 100644 --- a/src/MetricsInterface.php +++ b/src/MetricsInterface.php @@ -56,4 +56,4 @@ interface MetricsInterface * @throws MetricException */ public function set(string $collector, float $value, array $labels = []); -}
\ No newline at end of file +} diff --git a/src/Worker.php b/src/Worker.php index b67ebd3b..2659af5c 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -149,7 +149,8 @@ class Worker // PID negotiation (socket connections only) if (!empty($p['pid'])) { $this->relay->send( - sprintf('{"pid":%s}', getmypid()), Relay::PAYLOAD_CONTROL + sprintf('{"pid":%s}', getmypid()), + Relay::PAYLOAD_CONTROL ); } @@ -163,4 +164,4 @@ class Worker return true; } -}
\ No newline at end of file +} |