summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-11-17 11:21:36 +0100
committerGuillaume Mazoyer <respawneral@gmail.com>2014-11-17 11:21:36 +0100
commit656261727b9354fa9ecb46382888873e6eceb3a3 (patch)
treefd72588c4db17b6a8bc088543c7dded70b6d4c3a /auth
parentb479270737528e13b874aa3a59a6eafa854fa093 (diff)
Code format. Always use () for functions.
Diffstat (limited to 'auth')
-rw-r--r--auth/authentication.php4
-rw-r--r--auth/ssh.php6
-rw-r--r--auth/telnet.php2
3 files changed, 6 insertions, 6 deletions
diff --git a/auth/authentication.php b/auth/authentication.php
index 8ff8d97..6e03271 100644
--- a/auth/authentication.php
+++ b/auth/authentication.php
@@ -21,8 +21,8 @@
ini_set('include_path', ini_get('include_path').':./libs/phpseclib-0.3.7');
-require_once 'ssh.php';
-require_once 'telnet.php';
+require_once('ssh.php');
+require_once('telnet.php');
/**
* This class needs to be extended by every class implementing an
diff --git a/auth/ssh.php b/auth/ssh.php
index 5fdd489..d8d56a1 100644
--- a/auth/ssh.php
+++ b/auth/ssh.php
@@ -19,9 +19,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-require_once 'Crypt/RSA.php';
-require_once 'Net/SSH2.php';
-require_once 'authentication.php';
+require_once('Crypt/RSA.php');
+require_once('Net/SSH2.php');
+require_once('authentication.php');
final class SSH extends Authentication {
private $port;
diff --git a/auth/telnet.php b/auth/telnet.php
index 40a8822..2f3465d 100644
--- a/auth/telnet.php
+++ b/auth/telnet.php
@@ -19,7 +19,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-require_once 'authentication.php';
+require_once('authentication.php');
final class Telnet extends Authentication {
private $port;