Skip to content

Commit

Permalink
Add bin config option
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed Aug 27, 2018
1 parent 1c39184 commit 6690b47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/phptal-lint
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env php
<?php
require __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../vendor/autoload.php';

use Scn\PhpTalLint\PhpTalLintCli;
use Scn\PhpTalLint\TestRunner;
Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@
"Scn\\PhpTalLint\\": "src/"
}
},
"bin": [
"bin/phptal-lint"
],
"config": {
"platform": {
"php": "5.6"
},
"bin-dir": "bin"
}
},
"scripts": {
"tests": "bin/phpunit -c phpunit.xml",
"tests": "./vendor/bin/phpunit -c phpunit.xml",
"lint-tests": "bin/phptal-lint -d tests/files"
},
"scripts-descriptions": {
Expand Down

0 comments on commit 6690b47

Please sign in to comment.