Completed
Push — master ( d9e007...48e73f )
by
unknown
20s queued 11s
created
src/Validators/BaseValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace frictionlessdata\datapackage\Validators;
4 4
 
5
-use frictionlessdata\datapackage\Registry;
6 5
 use frictionlessdata\datapackage\Utils;
7 6
 use frictionlessdata\tableschema\SchemaValidator;
8 7
 use frictionlessdata\tableschema\SchemaValidationError;
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         unlink($tempfile);
357 357
         $tempfile .= '.zip';
358 358
         stream_copy_to_stream(fopen($source, 'r'), fopen($tempfile, 'w'));
359
-        register_shutdown_function(function () use ($tempfile) {
359
+        register_shutdown_function(function() use ($tempfile) {
360 360
             unlink($tempfile);
361 361
         });
362 362
 
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
         $tempdir = tempnam(sys_get_temp_dir(), 'datapackage-php');
378 378
         unlink($tempdir);
379 379
         mkdir($tempdir);
380
-        register_shutdown_function(function () use ($tempdir) {
380
+        register_shutdown_function(function() use ($tempdir) {
381 381
             Utils::removeDir($tempdir);
382 382
         });
383 383
         /* @noinspection PhpUnhandledExceptionInspection File existence is checked afterwards anyway */
Please login to merge, or discard this patch.
src/Datapackages/BaseDatapackage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
             ++$ri;
198 198
         }
199 199
         $this->saveDescriptor($files['datapackage.json']);
200
-        register_shutdown_function(function () use ($base) {
200
+        register_shutdown_function(function() use ($base) {
201 201
             Utils::removeDir($base);
202 202
         });
203 203
         if ($zip->open($zip_filename, ZipArchive::CREATE | ZipArchive::OVERWRITE) === true) {
Please login to merge, or discard this patch.