Skip to content

Commit

Permalink
linter: Add shebang so it can be run directly (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze authored and dg committed Oct 27, 2021
1 parent 2af5c54 commit a209777
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/latte-lint
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env php
<?php

declare(strict_types=1);
Expand Down Expand Up @@ -32,7 +33,7 @@ Latte linter
';

if ($argc < 2) {
echo "Usage: php latte-lint <path>\n";
echo "Usage: latte-lint <path>\n";
exit(1);
}

Expand Down

0 comments on commit a209777

Please sign in to comment.