Apply fixes from StyleCI
This commit is contained in:
parent
e516000918
commit
64f1db2521
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user