[No Squash] Fix Linting (#2527)

This commit is contained in:
Yaman Qalieh 2022-03-24 18:24:55 -04:00 committed by GitHub
parent cb4bc57c72
commit 76ade41543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ URI;
// Try to parse the date // Try to parse the date
$dateTime = DateTime::createFromFormat('d.m.Y', $date); $dateTime = DateTime::createFromFormat('d.m.Y', $date);
if ($dateTime !== FALSE) if ($dateTime !== false)
$item['timestamp'] = $dateTime->getTimestamp(); $item['timestamp'] = $dateTime->getTimestamp();
return $item; return $item;

View File

@ -4,9 +4,9 @@ class LaTeX3ProjectNewslettersBridge extends BridgeAbstract {
const MAINTAINER = 'µKöff'; const MAINTAINER = 'µKöff';
const NAME = 'LaTeX3 Project Newsletters'; const NAME = 'LaTeX3 Project Newsletters';
const URI = 'https://www.latex-project.org'; const URI = 'https://www.latex-project.org';
const DESCRIPTION = 'Newsletters by the LaTeX3 project team covering topics of interest in the area of' 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' 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).'; releases of the software (as the LaTeX3 kernel code is updated rather often).';
public function collectData(){ public function collectData(){
$html = getSimpleHTMLDOM(static::URI . '/news/latex3-news/') or returnServerError('No contents received!'); $html = getSimpleHTMLDOM(static::URI . '/news/latex3-news/') or returnServerError('No contents received!');