mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-21 15:51:55 +02:00
[phpcs] enforce single quotes (#732)
* [phpcs] Add rule to enforce single quoted strings
This commit is contained in:
@@ -73,7 +73,7 @@ class ShanaprojectBridge extends BridgeAbstract {
|
||||
// Getting the picture is a little bit tricky as it is part of the style.
|
||||
// Luckily the style is part of the parent div :)
|
||||
|
||||
if(preg_match("/url\(\/\/([^\)]+)\)/i", $anime->parent->style, $matches))
|
||||
if(preg_match('/url\(\/\/([^\)]+)\)/i', $anime->parent->style, $matches))
|
||||
return $matches[1];
|
||||
|
||||
returnServerError('Could not extract background image!');
|
||||
|
Reference in New Issue
Block a user