Completed
Pull Request — master (#24)
by Lars
12:05
created
src/intraface.dk/demo/Demo/Root.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     function renderHtml()
17 17
     {
18
-        return get_class($this) . ' intentionally left blank';
18
+        return get_class($this).' intentionally left blank';
19 19
     }
20 20
 
21 21
     function execute()
Please login to merge, or discard this patch.
src/intraface.dk/webservice/xmlrpc/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-require_once dirname(__FILE__) . '/../../common.php';
2
+require_once dirname(__FILE__).'/../../common.php';
3 3
 require_once 'konstrukt/konstrukt.inc.php';
4 4
 require_once 'Ilib/ClassLoader.php';
5 5
 require_once 'konstrukt/konstrukt.inc.php';
Please login to merge, or discard this patch.
cron/common.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 /**
3 3
  * Set environment for the crontabs
4 4
  */
5
-$config_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.local.php';
5
+$config_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'config.local.php';
6 6
 if (!file_exists($config_file)) {
7 7
     die('The config.local.php file is missing. Please create it.');
8 8
 }
Please login to merge, or discard this patch.
cron/order_notifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
 	    // @hack
40 40
 	    if ($kernel->intranet->get('name') == 'Discimport.dk') {
41
-	        mail('[email protected]', $number . ' new orders', 'Do not come back complaining I did not warn you about new orders in Intraface.dk.');
41
+	        mail('[email protected]', $number.' new orders', 'Do not come back complaining I did not warn you about new orders in Intraface.dk.');
42 42
 	    }
43 43
 	}
44 44
 
Please login to merge, or discard this patch.
cron/email_batch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
                 $filehandler = new FileHandler($kernel, $file['id']);
68 68
                 
69 69
                 // lille hack med at s�tte uploadpath p�
70
-                $attachment = Swift_Attachment::fromPath($filehandler->getUploadPath() . $filehandler->get('server_file_name'), $filehandler->get('file_type'))->setFilename($file['filename']);
70
+                $attachment = Swift_Attachment::fromPath($filehandler->getUploadPath().$filehandler->get('server_file_name'), $filehandler->get('file_type'))->setFilename($file['filename']);
71 71
                 $message->attach($attachment);
72 72
             }
73 73
         }    
Please login to merge, or discard this patch.
scripts/user/elevforeningen/ef.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         continue;
52 52
     }
53 53
 
54
-    echo $debtor['id'] . ' order set as sent';
54
+    echo $debtor['id'].' order set as sent';
55 55
     $d = Debtor::factory($kernel, $debtor['id']);
56 56
     $d->setStatus('sent');
57 57
 
Please login to merge, or discard this patch.
scripts/user/carmakoma_contacts_to_newsletter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@  discard block
 block discarded – undo
43 43
 }
44 44
 
45 45
 while ($row = $result->fetchRow(MDB2_FETCHMODE_ASSOC)) {
46
-    echo $row['number']. ', ' . $row['id']. ', ' . $row['date_created'] . ', '.$row['email']. ', '. $row['name']. ', ';
46
+    echo $row['number'].', '.$row['id'].', '.$row['date_created'].', '.$row['email'].', '.$row['name'].', ';
47 47
     
48
-    $newsletter = $db->query('SELECT id FROM newsletter_subscriber WHERE contact_id = '. $row['id']);
48
+    $newsletter = $db->query('SELECT id FROM newsletter_subscriber WHERE contact_id = '.$row['id']);
49 49
     if ($newsletter->numRows() == 0) {
50 50
         $subscriber = new NewsletterSubscriber($list);
51 51
         $contact = new Contact($kernel, $row['id']);
@@ -60,6 +60,6 @@  discard block
 block discarded – undo
60 60
     $i++;
61 61
 }
62 62
 
63
-echo $i. " number of contacts";
63
+echo $i." number of contacts";
64 64
 
65 65
 ?>
66 66
\ No newline at end of file
Please login to merge, or discard this patch.
scripts/cleanup_database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 }
18 18
 
19 19
 if (empty($opts->k) OR empty($opts->fk) OR empty($opts->ft) OR empty($opts->t)) {
20
-    echo 'not used correctly' . "\n";
20
+    echo 'not used correctly'."\n";
21 21
     exit(1);
22 22
 }
23 23
 
Please login to merge, or discard this patch.
generate_package_xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
 
251 251
 foreach ($web_files AS $file) {
252 252
     $src_file = substr($file, 4);
253
-    $formatted_file = substr($file, strlen($web_dir . '/'));
253
+    $formatted_file = substr($file, strlen($web_dir.'/'));
254 254
     if (in_array($src_file, $ignore)) continue;
255 255
     $pfm->addInstallAs($src_file, $formatted_file);
256 256
 }
Please login to merge, or discard this patch.