Skip to content

Commit

Permalink
CS: Remove parenthesis around include / require
Browse files Browse the repository at this point in the history
include and require are statements and not functions.
Therefore the parenthesis will only perform string grouping.

-> align with the rest of the code base.
  • Loading branch information
thomasjfox authored and mrubinsk committed Aug 6, 2015
1 parent 7d40196 commit a617fcd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion framework/Kolab_Filter/lib/Horde/Kolab/Filter/Content.php
Expand Up @@ -163,7 +163,7 @@ function _parse($inh, $transport)

if (!$senderok) {
if ($ical && $allow_outlook_ical_forward ) {
require_once(__DIR__ . '/Outlook.php');
require_once __DIR__ . '/Outlook.php';
$rc = Kolab_Filter_Outlook::embedICal($this->_fqhostname,
$this->_sender,
$this->_recipients,
Expand Down
2 changes: 1 addition & 1 deletion framework/Pdf/lib/Horde/Pdf/Writer.php
Expand Up @@ -1472,7 +1472,7 @@ public function addFont($family, $style = '', $file = '')
if ($file == '') {
$file = str_replace(' ', '', $family) . Horde_String::lower($style) . '.php';
}
include($file);
include $file;
if (!isset($name)) {
throw new Horde_Pdf_Exception('Could not include font definition file');
}
Expand Down
6 changes: 3 additions & 3 deletions hippo/planet.horde.org/libs/aggregator.php
@@ -1,10 +1,10 @@
<?php


include_once('MDB2.php');
include_once('utf2entities.php');
include_once 'MDB2.php';
include_once 'utf2entities.php';

include_once('magpierss/rss_fetch.inc');
include_once 'magpierss/rss_fetch.inc';

class aggregator {

Expand Down
4 changes: 2 additions & 2 deletions hippo/planet.horde.org/libs/scripts/aggregate.php
@@ -1,6 +1,6 @@
<?php
include_once('../../inc/config.inc.php');
include_once('aggregator.php');
include_once '../../inc/config.inc.php';
include_once 'aggregator.php';

$agg = new aggregator();
$agg->aggregateAllBlogs(isset($argv[1]) ? $argv[1] : null);

0 comments on commit a617fcd

Please sign in to comment.