-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ssx/analysis-XZpaGa
Apply fixes from StyleCI
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of ssx/skrub | ||
* | ||
* (c) Scott Robinson <[email protected]> | ||
* | ||
* 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); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of ssx/skrub | ||
* | ||
* (c) Scott Robinson <[email protected]> | ||
* | ||
* 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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of ssx/skrub | ||
* | ||
* (c) Scott Robinson <[email protected]> | ||
* | ||
* 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; | ||
|