From 7f65a0aa8671dd0a9587a5f34d23effc06c8c11b Mon Sep 17 00:00:00 2001 From: Tony133 Date: Wed, 19 Apr 2017 12:12:32 +0200 Subject: [PATCH] Fix indentation --- src/wdm/debian/Packager.php | 2 +- src/wdm/debian/control/StandardFile.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wdm/debian/Packager.php b/src/wdm/debian/Packager.php index 8d3f89b..1eee342 100644 --- a/src/wdm/debian/Packager.php +++ b/src/wdm/debian/Packager.php @@ -183,7 +183,7 @@ class Packager symlink(readlink($source), $dest); return; // don't set perms on symlink targets } else { - if(!copy($source, $dest)) { + if (!copy($source, $dest)) { echo "Error: failed to copy: $source -> $dest \m"; return; } diff --git a/src/wdm/debian/control/StandardFile.php b/src/wdm/debian/control/StandardFile.php index 7092840..ee8b459 100644 --- a/src/wdm/debian/control/StandardFile.php +++ b/src/wdm/debian/control/StandardFile.php @@ -183,7 +183,7 @@ class StandardFile { $control = ''; foreach ($this->_keys as $key => $value) { - if($value){ + if ($value) { $control .= "{$key}: {$value}" . PHP_EOL; } }