We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 886d1c3 commit 8207fb5Copy full SHA for 8207fb5
README.md
@@ -2,7 +2,7 @@
2
:rocket: Cloc & duplicate code checker written in PHP
3
4
## Requirements
5
- PHP >= 5.4
+ PHP >= 5.5.9
6
7
## Installation
8
```
composer.json
@@ -15,7 +15,8 @@
15
}
16
],
17
"require": {
18
- "symfony/console": "^4.0"
+ "php": "^5.5.9",
19
+ "symfony/console": "^3.4"
20
},
21
"autoload": {
22
"psr-4": {
phpcloc
@@ -1,6 +1,10 @@
1
#!/usr/bin/env php
<?php
-require __DIR__.'/vendor/autoload.php';
+if (file_exists($a = __DIR__.'/../../autoload.php')) {
+ require_once $a;
+} else {
+ require_once __DIR__.'/vendor/autoload.php';
+}
9
use Appzcoder\PHPCloc\Commands\ClocCommand;
10
use Appzcoder\PHPCloc\Commands\DuplicateCommand;
0 commit comments