Passed
Pull Request — develop (#1)
by Andreas
03:25
created
src/JSONCatalogProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $catalogData = json_decode($json, true);
88 88
 
89 89
         // handle errors
90
-        switch(json_last_error()) {
90
+        switch (json_last_error()) {
91 91
 
92 92
             case JSON_ERROR_DEPTH:
93 93
                 throw new JSONException("The maximum stack depth has been exceeded");
Please login to merge, or discard this patch.
tests/JSONCatalogProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     {
125 125
         // arrange
126 126
         $sampleCatalogFilename = "sample-catalog.json";
127
-        $testResourceFolderPath = realpath(__DIR__ . '/resources');
127
+        $testResourceFolderPath = realpath(__DIR__.'/resources');
128 128
         $adapter = new Local($testResourceFolderPath);
129 129
         $filesystem = new Filesystem($adapter);
130 130
 
Please login to merge, or discard this patch.