summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
commitb264c03d32d04d7a33d28a5830848660f4484943 (patch)
treecfd64d5629e090433c2c923090b76ddf1414ae90 /scripts
parent7ad2f2a371eae2489330f30306cfcbb204411bae (diff)
move opening brace of class declaration to next line
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/enjitqueuehandler.php3
-rwxr-xr-xscripts/jabberqueuehandler.php3
-rwxr-xr-xscripts/maildaemon.php3
-rwxr-xr-xscripts/ombqueuehandler.php3
-rwxr-xr-xscripts/publicqueuehandler.php3
-rwxr-xr-xscripts/smsqueuehandler.php3
-rwxr-xr-xscripts/xmppconfirmhandler.php3
-rwxr-xr-xscripts/xmppdaemon.php3
8 files changed, 16 insertions, 8 deletions
diff --git a/scripts/enjitqueuehandler.php b/scripts/enjitqueuehandler.php
index 55d73e08c..3a4f8315d 100755
--- a/scripts/enjitqueuehandler.php
+++ b/scripts/enjitqueuehandler.php
@@ -33,7 +33,8 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
set_error_handler('common_error_handler');
-class EnjitQueueHandler extends QueueHandler {
+class EnjitQueueHandler extends QueueHandler
+{
function transport()
{
diff --git a/scripts/jabberqueuehandler.php b/scripts/jabberqueuehandler.php
index ea26aaf79..924fc4545 100755
--- a/scripts/jabberqueuehandler.php
+++ b/scripts/jabberqueuehandler.php
@@ -33,7 +33,8 @@ require_once(INSTALLDIR . '/lib/xmppqueuehandler.php');
set_error_handler('common_error_handler');
-class JabberQueueHandler extends XmppQueueHandler {
+class JabberQueueHandler extends XmppQueueHandler
+{
var $conn = null;
diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php
index 6100cd21b..b9facec1a 100755
--- a/scripts/maildaemon.php
+++ b/scripts/maildaemon.php
@@ -34,7 +34,8 @@ require_once('Mail/mimeDecode.php');
# FIXME: we use both Mail_mimeDecode and mailparse
# Need to move everything to mailparse
-class MailerDaemon {
+class MailerDaemon
+{
function __construct()
{
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php
index 299381ace..cdcea51dc 100755
--- a/scripts/ombqueuehandler.php
+++ b/scripts/ombqueuehandler.php
@@ -33,7 +33,8 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
set_error_handler('common_error_handler');
-class OmbQueueHandler extends QueueHandler {
+class OmbQueueHandler extends QueueHandler
+{
function transport()
{
diff --git a/scripts/publicqueuehandler.php b/scripts/publicqueuehandler.php
index b3542e5c5..5075c12df 100755
--- a/scripts/publicqueuehandler.php
+++ b/scripts/publicqueuehandler.php
@@ -33,7 +33,8 @@ require_once(INSTALLDIR . '/lib/xmppqueuehandler.php');
set_error_handler('common_error_handler');
-class PublicQueueHandler extends XmppQueueHandler {
+class PublicQueueHandler extends XmppQueueHandler
+{
function transport()
{
diff --git a/scripts/smsqueuehandler.php b/scripts/smsqueuehandler.php
index c962ad095..38f2f11fe 100755
--- a/scripts/smsqueuehandler.php
+++ b/scripts/smsqueuehandler.php
@@ -33,7 +33,8 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
set_error_handler('common_error_handler');
-class SmsQueueHandler extends QueueHandler {
+class SmsQueueHandler extends QueueHandler
+{
function transport()
{
diff --git a/scripts/xmppconfirmhandler.php b/scripts/xmppconfirmhandler.php
index 1eb932330..2b8b085ce 100755
--- a/scripts/xmppconfirmhandler.php
+++ b/scripts/xmppconfirmhandler.php
@@ -35,7 +35,8 @@ set_error_handler('common_error_handler');
define('CLAIM_TIMEOUT', 1200);
-class XmppConfirmHandler extends XmppQueueHandler {
+class XmppConfirmHandler extends XmppQueueHandler
+{
var $_id = 'confirm';
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index 28ac64725..01fe8914f 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -37,7 +37,8 @@ set_error_handler('common_error_handler');
# in jabber.php, which create a new XMPP class. A more elegant (?) solution
# might be to use make this a subclass of XMPP.
-class XMPPDaemon extends Daemon {
+class XMPPDaemon extends Daemon
+{
function XMPPDaemon($resource=null)
{