From 76ade41543bafb8ed6a92b482c1e2eedcc2fe54b Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Thu, 24 Mar 2022 18:24:55 -0400 Subject: [PATCH] [No Squash] Fix Linting (#2527) --- bridges/BundestagParteispendenBridge.php | 2 +- bridges/LaTeX3ProjectNewslettersBridge.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bridges/BundestagParteispendenBridge.php b/bridges/BundestagParteispendenBridge.php index 446e61c0..1af24e01 100644 --- a/bridges/BundestagParteispendenBridge.php +++ b/bridges/BundestagParteispendenBridge.php @@ -81,7 +81,7 @@ URI; // Try to parse the date $dateTime = DateTime::createFromFormat('d.m.Y', $date); - if ($dateTime !== FALSE) + if ($dateTime !== false) $item['timestamp'] = $dateTime->getTimestamp(); return $item; diff --git a/bridges/LaTeX3ProjectNewslettersBridge.php b/bridges/LaTeX3ProjectNewslettersBridge.php index 08e5fd85..61bc1f6d 100644 --- a/bridges/LaTeX3ProjectNewslettersBridge.php +++ b/bridges/LaTeX3ProjectNewslettersBridge.php @@ -4,9 +4,9 @@ class LaTeX3ProjectNewslettersBridge extends BridgeAbstract { const MAINTAINER = 'µKöff'; const NAME = 'LaTeX3 Project Newsletters'; const URI = 'https://www.latex-project.org'; - const DESCRIPTION = 'Newsletters by the LaTeX3 project team covering topics of interest in the area of' - . 'LaTeX3/expl3 development. They appear in irregular intervals and are not necessarily tied to individual' - . 'releases of the software (as the LaTeX3 kernel code is updated rather often).'; + const DESCRIPTION = 'Newsletters by the LaTeX3 project team covering topics of interest in the area of + LaTeX3/expl3 development. They appear in irregular intervals and are not necessarily tied to individual + releases of the software (as the LaTeX3 kernel code is updated rather often).'; public function collectData(){ $html = getSimpleHTMLDOM(static::URI . '/news/latex3-news/') or returnServerError('No contents received!');