tweeper: fix style issues found by Coder Sniffer
authorAntonio Ospite <ao2@ao2.it>
Mon, 16 May 2016 13:34:20 +0000 (15:34 +0200)
committerAntonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 08:55:09 +0000 (10:55 +0200)
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 1 | ERROR | [x] Missing file doc comment
 4 | ERROR | [x] "require" is a statement not a function; no
   |       |     parentheses are required
 4 | ERROR | [x] Language constructs must be followed by a single
   |       |     space; expected "require (" but found "require("

tweeper

diff --git a/tweeper b/tweeper
index a13752f..6256e20 100755 (executable)
--- a/tweeper
+++ b/tweeper
@@ -1,4 +1,9 @@
 #!/usr/bin/env php
 <?php
 
-require(dirname(__FILE__) . '/tweeper.php');
+/**
+ * @file
+ * CLI file to run tweeper.
+ */
+
+require dirname(__FILE__) . '/tweeper.php';