From d003edee5d2f990e319d3a2e6f682f20173e1818 Mon Sep 17 00:00:00 2001 From: Scott Robinson Date: Wed, 25 Sep 2019 19:31:52 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/SkrubCommand.php | 12 +++++++++++- src/SkrubPlugin.php | 10 ++++++++++ src/SkrubProvider.php | 10 ++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/SkrubCommand.php b/src/SkrubCommand.php index 396a7cc..b0087de 100644 --- a/src/SkrubCommand.php +++ b/src/SkrubCommand.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace SSX\Package\Skrub; use RecursiveIteratorIterator; @@ -135,7 +145,7 @@ private function getDirectorySize($dir) * * @return bool|string */ - function bytesToHumanReadable($bytes, $decimals = 2) + public function bytesToHumanReadable($bytes, $decimals = 2) { $sz = 'BKMGTP'; $factor = floor((strlen($bytes) - 1) / 3); diff --git a/src/SkrubPlugin.php b/src/SkrubPlugin.php index 725311f..f62a42f 100644 --- a/src/SkrubPlugin.php +++ b/src/SkrubPlugin.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace SSX\Package\Skrub; use Composer\Composer; diff --git a/src/SkrubProvider.php b/src/SkrubProvider.php index 43e438d..729adb9 100644 --- a/src/SkrubProvider.php +++ b/src/SkrubProvider.php @@ -1,4 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace SSX\Package\Skrub; use Composer\Plugin\Capability\CommandProvider;