Completed
Push — develop ( d904e7...d28137 )
by Yitzchok
01:24
created
src/EmojiPrinter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Coderabbi\Phpumoji;
4 4
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
         $config = Xml::loadFile($GLOBALS['__PHPUNIT_CONFIGURATION_FILE'], false, true, true)->documentElement;
16 16
         $emojiset = $config->hasAttribute('emojiset') ? $config->getAttribute('emojiset') : 'phpumoji';
17 17
 
18
-        $this->emojis = require(__DIR__ . "/Emojisets/{$emojiset}");
18
+        $this->emojis = require(__DIR__."/Emojisets/{$emojiset}");
19 19
 
20 20
         if ($this->numTests == -1) {
21 21
             $this->numTests = count($suite);
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 
39 39
     private function emojify(string $progress) :string
40 40
     {
41
-        return (array_values(array_filter($this->emojis, function ($key) use ($progress) {
41
+        return (array_values(array_filter($this->emojis, function($key) use ($progress) {
42 42
             return strrpos(strtoupper($key), $progress) === 0;
43
-        }, ARRAY_FILTER_USE_KEY))[0] ?? $this->emojis['pass']) . ' ';
43
+        }, ARRAY_FILTER_USE_KEY))[0] ?? $this->emojis['pass']).' ';
44 44
     }
45 45
 }
Please login to merge, or discard this patch.