enable strict_types

This commit is contained in:
Marius 2023-11-18 15:55:15 +01:00
parent 8cebb26c3d
commit 77bf1776a9
10 changed files with 21 additions and 0 deletions

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class CustomCSSExtension extends Minz_Extension {
public function init() {
$this->registerTranslates();

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class CustomJSExtension extends Minz_Extension {
public function init() {
$this->registerTranslates();

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class ImageProxyExtension extends Minz_Extension {
// Defaults
const PROXY_URL = 'https://images.weserv.nl/?url=';

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class QuickCollapseExtension extends Minz_Extension {
public function init() {
$this->registerTranslates();

View file

@ -1,4 +1,6 @@
<?php
declare(strict_types=1);
class ReadingTimeExtension extends Minz_Extension {
public function init() {
Minz_View::appendScript($this->getFileUrl('readingtime.js', 'js'));

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class ShareByEmailExtension extends Minz_Extension {
public function init() {
$this->registerTranslates();

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class StickyFeedsExtension extends Minz_Extension {
public function init() {
Minz_View::appendStyle($this->getFileUrl('style.css', 'css'));

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class TTRSS_APIExtension extends Minz_Extension {
public function init() {
$this->registerHook('post_update',

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
class TitleWrapExtension extends Minz_Extension {
public function init() {
Minz_View::appendStyle($this->getFileUrl('title_wrap.css', 'css'));

View file

@ -1,4 +1,7 @@
<?php
declare(strict_types=1);
class ShowFeedIdExtension extends Minz_Extension {
public function init() {
Minz_View::appendScript($this->getFileUrl('showfeedid.js', 'js'));