1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-16 05:24:08 +02:00

[phpcs] enforce single quotes (#732)

* [phpcs] Add rule to enforce single quoted strings
This commit is contained in:
LogMANOriginal
2018-06-29 23:55:33 +02:00
committed by Teromene
parent 5ea79ac1fc
commit 193ca87afa
43 changed files with 283 additions and 279 deletions

View File

@@ -9,9 +9,9 @@ class Rue89Bridge extends FeedExpander {
protected function parseItem($item){
$item = parent::parseItem($item);
$url = "http://api.rue89.nouvelobs.com/export/mobile2/node/"
. str_replace(" ", "", substr($item['uri'], -8))
. "/full";
$url = 'http://api.rue89.nouvelobs.com/export/mobile2/node/'
. str_replace(' ', '', substr($item['uri'], -8))
. '/full';
$datas = json_decode(getContents($url), true);
$item['content'] = $datas['node']['body'];