Passed
Push — master ( 403b97...3809dd )
by Vinai
02:33
created
src/StaticAccess/Internal/GenericCurrencyInfoAccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     private static function requireFile($mapFileName)
78 78
     {
79
-        if (! isset(self::$memoizedMapData[$mapFileName])) {
79
+        if (!isset(self::$memoizedMapData[$mapFileName])) {
80 80
             self::$memoizedMapData[$mapFileName] = require $mapFileName;
81 81
         }
82 82
         return self::$memoizedMapData[$mapFileName];
Please login to merge, or discard this patch.
src/Build/WriteCurrencyInfoMapFiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
     private function writeSubMaps(CurrencyInfoKeys $currencyInfoKeys)
30 30
     {
31
-        array_map(function ($infoType) {
31
+        array_map(function($infoType) {
32 32
             $this->writeExport($this->getSubMapFileName($infoType), $this->getSubTypeMap($infoType));
33 33
         }, $currencyInfoKeys->get());
34 34
     }
Please login to merge, or discard this patch.
tests/testsuite/CurrencyInfoTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     private function assertStaticMethodWasCalledWithParams($methodName, ...$expectedArgs)
36 36
     {
37
-        if (! isset(self::$staticMethodCalls[$methodName])) {
37
+        if (!isset(self::$staticMethodCalls[$methodName])) {
38 38
             $this->fail(sprintf('Static method "%s" was not called', $methodName));
39 39
         }
40 40
         $message = 'Expected static method call arguments do not match';
Please login to merge, or discard this patch.
tests/testsuite/Build/WriteCurrencyInfoMapFilesTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         $infoTypeKeys = ['foo', 'bar'];
49 49
         $source = [
50
-            ['foo' => 'BAZ', 'bar' => 2,],
51
-            ['foo' => 'QUX', 'bar' => 3,],
50
+            ['foo' => 'BAZ', 'bar' => 2, ],
51
+            ['foo' => 'QUX', 'bar' => 3, ],
52 52
         ];
53 53
 
54 54
         /** @var CurrencyInfoKeys|\PHPUnit_Framework_MockObject_MockObject $stubCurrencyInfoKeys */
Please login to merge, or discard this patch.
tests/testsuite/Build/CurrencyInfoSourceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         $testSource = ['foo' => ['bar' => 'buz']];
45 45
         $fileName = tempnam(sys_get_temp_dir(), 'test-');
46
-        register_shutdown_function(function () use ($fileName) {
46
+        register_shutdown_function(function() use ($fileName) {
47 47
             @unlink($fileName);
48 48
         });
49 49
         file_put_contents($fileName, json_encode($testSource));
Please login to merge, or discard this patch.
tests/testsuite/StaticAccess/CurrencyInfoTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function testReturnsAllRecordsForGivenCurrency()
22 22
     {
23 23
         $euroInfo = CurrencyInfo::getMapForCurrency('EUR');
24
-        array_map(function ($infoKey) use ($euroInfo) {
24
+        array_map(function($infoKey) use ($euroInfo) {
25 25
             $this->assertArrayHasKey($infoKey, $euroInfo);
26 26
         }, CurrencyInfoKeys::getStatic());
27 27
     }
Please login to merge, or discard this patch.
tests/testsuite/StaticAccess/Internal/GenericCurrencyInfoAccessTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         $euroInfo = CurrencyInfo::getMapForCurrency('EUR');
62 62
         $currencyInfoKeys = new CurrencyInfoKeys();
63
-        array_map(function ($infoKey) use ($euroInfo) {
63
+        array_map(function($infoKey) use ($euroInfo) {
64 64
             $this->assertArrayHasKey($infoKey, $euroInfo);
65 65
         }, $currencyInfoKeys->get());
66 66
     }
Please login to merge, or discard this patch.