diff --git a/bridges/ABCTabsBridge.php b/bridges/ABCTabsBridge.php
index 2e451e28..ef2c75b1 100644
--- a/bridges/ABCTabsBridge.php
+++ b/bridges/ABCTabsBridge.php
@@ -8,7 +8,7 @@ class ABCTabsBridge extends BridgeAbstract {
public function collectData(){
$html = '';
- $html = getSimpleHTMLDOM(static::URI.'tablatures/nouveautes.html')
+ $html = getSimpleHTMLDOM(static::URI . 'tablatures/nouveautes.html')
or returnClientError('No results for this query.');
$table = $html->find('table#myTable', 0)->children(1);
diff --git a/bridges/AllocineFRBridge.php b/bridges/AllocineFRBridge.php
index 959d0efa..431ae58f 100644
--- a/bridges/AllocineFRBridge.php
+++ b/bridges/AllocineFRBridge.php
@@ -45,7 +45,7 @@ class AllocineFRBridge extends BridgeAbstract {
public function getName(){
if(!is_null($this->getInput('category'))) {
return self::NAME . ' : '
- .array_search(
+ . array_search(
$this->getInput('category'),
self::PARAMETERS[$this->queriedContext]['category']['values']
);
diff --git a/bridges/AmazonBridge.php b/bridges/AmazonBridge.php
index cbc61190..b7933e85 100644
--- a/bridges/AmazonBridge.php
+++ b/bridges/AmazonBridge.php
@@ -52,7 +52,7 @@ class AmazonBridge extends BridgeAbstract {
public function getName(){
if(!is_null($this->getInput('tld')) && !is_null($this->getInput('q'))) {
- return 'Amazon.'.$this->getInput('tld').': '.$this->getInput('q');
+ return 'Amazon.' . $this->getInput('tld') . ': ' . $this->getInput('q');
}
return parent::getName();
@@ -60,8 +60,8 @@ class AmazonBridge extends BridgeAbstract {
public function collectData() {
- $uri = 'https://www.amazon.'.$this->getInput('tld').'/';
- $uri .= 's/?field-keywords='.urlencode($this->getInput('q')).'&sort='.$this->getInput('sort');
+ $uri = 'https://www.amazon.' . $this->getInput('tld') . '/';
+ $uri .= 's/?field-keywords=' . urlencode($this->getInput('q')) . '&sort=' . $this->getInput('sort');
$html = getSimpleHTMLDOM($uri)
or returnServerError('Could not request Amazon.');
@@ -86,7 +86,7 @@ class AmazonBridge extends BridgeAbstract {
$price = $element->find('span.s-price', 0);
$price = ($price) ? $price->innertext : '';
- $item['content'] = '
'.$price;
+ $item['content'] = '
' . $price;
$this->items[] = $item;
}
diff --git a/bridges/AnidexBridge.php b/bridges/AnidexBridge.php
index a89cb567..ae387c90 100644
--- a/bridges/AnidexBridge.php
+++ b/bridges/AnidexBridge.php
@@ -140,7 +140,7 @@ class AnidexBridge extends BridgeAbstract {
if (strpos($link->href, '/torrent/') === 0 && !in_array($link->href, $results))
$results[] = $link->href;
if (empty($results) && empty($this->getInput('q')))
- returnServerError('No results from Anidex: '.$search_url);
+ returnServerError('No results from Anidex: ' . $search_url);
//Process each item individually
foreach ($results as $element) {
@@ -156,7 +156,7 @@ class AnidexBridge extends BridgeAbstract {
if ($torrent_id != 0 && ctype_digit($torrent_id)) {
//Retrieve data for this torrent ID
- $item_uri = self::URI . 'torrent/'.$torrent_id;
+ $item_uri = self::URI . 'torrent/' . $torrent_id;
//Retrieve full description from torrent page
if ($item_html = getSimpleHTMLDOMCached($item_uri)) {
diff --git a/bridges/AutoJMBridge.php b/bridges/AutoJMBridge.php
index 665a4688..598f0431 100644
--- a/bridges/AutoJMBridge.php
+++ b/bridges/AutoJMBridge.php
@@ -47,7 +47,7 @@ class AutoJMBridge extends BridgeAbstract {
$item = array();
$item['uri'] = $url;
$item['title'] = $serie;
- $item['content'] = '
'. $serie . '
'; + $item['content'] = '' . $serie . '
'; $item['content'] .= '' - . $deal->find('a[class*='. $selectorLink .']', 0)->innertext + . $deal->find('a[class*=' . $selectorLink . ']', 0)->innertext . '' . $this->getPrice($deal) . $this->getDiscount($deal) . $this->getShipsFrom($deal) . $this->getShippingCost($deal) . $this->GetSource($deal) - . $deal->find('div[class*='. $selectorDescription .']', 0)->innertext + . $deal->find('div[class*=' . $selectorDescription . ']', 0)->innertext . ' | ' - . $deal->find('div[class*='. $selectorHot .']', 0) + . $deal->find('div[class*=' . $selectorHot . ']', 0) ->find('span', 1)->outertext . ' |