Passed
Push — master ( 74c394...11881f )
by Alexandr
03:26
created
src/Entity/Authorization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     public function __construct(array $data, string $url)
42 42
     {
43
-        $data['challenges'] = array_map(static function (array $entry) {
43
+        $data['challenges'] = array_map(static function(array $entry) {
44 44
             return new Challenge($entry);
45 45
         }, $data['challenges']);
46 46
 
Please login to merge, or discard this patch.
src/Entity/Order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function __construct(array $data, string $url)
51 51
     {
52 52
         // extract only value from identifiers data
53
-        $data['identifiers'] = array_map(static function (array $entry) {
53
+        $data['identifiers'] = array_map(static function(array $entry) {
54 54
             return $entry['value'];
55 55
         }, $data['identifiers']);
56 56
 
Please login to merge, or discard this patch.
src/Service/AccountService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 
158 158
     private function contactFromEmails(array $emails): array
159 159
     {
160
-        return array_map(static function (string $email) {
160
+        return array_map(static function(string $email) {
161 161
             return strpos($email, 'mailto') === false ? 'mailto:' . $email : $email;
162 162
         }, $emails);
163 163
     }
Please login to merge, or discard this patch.
src/Logger/LogMiddleware.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function __invoke(callable $handler): callable
34 34
     {
35
-        return function (RequestInterface $request, array $options) use ($handler) {
35
+        return function(RequestInterface $request, array $options) use ($handler) {
36 36
             if ($this->logger->logRequestsOnly()) {
37 37
                 $this->logRequest($request);
38 38
             }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     private function handleSuccess(RequestInterface $request): callable
49 49
     {
50
-        return function (ResponseInterface $response) use ($request) {
50
+        return function(ResponseInterface $response) use ($request) {
51 51
             if ($this->logger->debugMode()) {
52 52
                 $level = $this->logger->getLogLevel($response);
53 53
                 $context = [
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     private function handleFailure(RequestInterface $request): callable
68 68
     {
69
-        return function (\Exception $reason) use ($request) {
69
+        return function(\Exception $reason) use ($request) {
70 70
             if ($this->logger->logErrorsOnly() || $this->logger->debugMode()) {
71 71
                 if ($reason instanceof RequestException && $reason->hasResponse()) {
72 72
                     /** @var ResponseInterface $response */
Please login to merge, or discard this patch.
src/Service/OrderService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
         $this->processOrderBasePath($directoryName);
62 62
 
63
-        $identifiers = array_map(static function (string $subject) {
63
+        $identifiers = array_map(static function(string $subject) {
64 64
             return [
65 65
                 'type' => 'dns',
66 66
                 'value' => $subject,
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
 
345 345
         $filesList = scandir($basePath);
346 346
         if ($filesList !== false) {
347
-            array_walk($filesList, static function (string $file) use ($basePath) {
347
+            array_walk($filesList, static function(string $file) use ($basePath) {
348 348
                 if (is_file($basePath . $file)) {
349 349
                     unlink($basePath . $file);
350 350
                 }
Please login to merge, or discard this patch.
src/Service/AuthorizationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function getAuthorizations(Account $account, array $urls): array
39 39
     {
40
-        return array_map(function (string $url) use ($account) {
40
+        return array_map(function(string $url) use ($account) {
41 41
             return $this->updateAuthorization($account, $url);
42 42
         }, $urls);
43 43
     }
Please login to merge, or discard this patch.