Skip to content

Commit f635703

Browse files
authored
Search php binary in user's $PATH is more flexibel
1 parent aa66055 commit f635703

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/phpca

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/php
1+
#!/usr/bin/env php
22
<?php
33
// ? create-project installation : require installation
44
$vendor_dir = is_dir(dirname(dirname((__FILE__))).'/vendor') ? dirname(dirname((__FILE__))).'/vendor' : dirname(dirname(dirname(dirname(__FILE__))));
@@ -57,4 +57,4 @@ if (!empty($args['FILES'])) {
5757
echo PHP_EOL;
5858
$analyzer->printUsedExtensions();
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)