mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
phpcs: Always use long array syntax
Most of the code in RSS-Bridge uses the long array syntax. This commit adds a check to enforce using this syntax over the short array syntax. All failures have been fixed.
This commit is contained in:
parent
1df3598a74
commit
3bc8c9468a
21 changed files with 66 additions and 60 deletions
|
@ -19,7 +19,7 @@ class N26Bridge extends BridgeAbstract
|
|||
or returnServerError('Error while downloading the website content');
|
||||
|
||||
foreach($html->find('div[class="ag ah ai aj bs bt dx ea fo gx ie if ih ii ij ik s"]') as $article) {
|
||||
$item = [];
|
||||
$item = array();
|
||||
|
||||
$item['uri'] = self::URI . $article->find('h2 a', 0)->href;
|
||||
$item['title'] = $article->find('h2 a', 0)->plaintext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue