Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-08 12:11:58 +00:00 committed by StyleCI Bot
parent e516000918
commit 64f1db2521

View File

@ -1,12 +1,14 @@
#!/usr/bin/env php
<?php
if(!function_exists("readline")) {
function readline($prompt = null){
if (!function_exists('readline')) {
function readline($prompt = null)
{
if ($prompt) {
echo $prompt;
}
$fp = fopen("php://stdin","r");
$fp = fopen('php://stdin', 'r');
$line = rtrim(fgets($fp, 1024));
return $line;
}
}