mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-15 04:54:01 +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:
@@ -30,7 +30,7 @@ class PinterestBridge extends FeedExpander {
|
||||
|
||||
private function fixLowRes() {
|
||||
|
||||
$newitems = [];
|
||||
$newitems = array();
|
||||
$pattern = '/https\:\/\/i\.pinimg\.com\/[a-zA-Z0-9]*x\//';
|
||||
foreach($this->items as $item) {
|
||||
|
||||
|
Reference in New Issue
Block a user