aboutsummaryrefslogtreecommitdiff
path: root/app/Exceptions
diff options
context:
space:
mode:
authorGravatar Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> 2023-10-30 20:40:13 +0100
committerGravatar GitHub <noreply@github.com> 2023-10-30 20:40:13 +0100
commit4a02352ccc1b313ce967415c6ac10a32aba1893a (patch)
tree36bec23832a05acb930a5386d7eefb3535323a38 /app/Exceptions
parentd50bb386e7bc9ee9595338119edc4951d10c526a (diff)
applies several small optimizations (#5511)
declare(strict_types=1); Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Diffstat (limited to 'app/Exceptions')
-rw-r--r--app/Exceptions/ContextException.php1
-rw-r--r--app/Exceptions/DAOException.php2
-rw-r--r--app/Exceptions/EntriesGetterException.php2
-rw-r--r--app/Exceptions/FeedException.php2
-rw-r--r--app/Exceptions/ZipMissingException.php2
5 files changed, 9 insertions, 0 deletions
diff --git a/app/Exceptions/ContextException.php b/app/Exceptions/ContextException.php
index 00934cbfd..d2d29abc0 100644
--- a/app/Exceptions/ContextException.php
+++ b/app/Exceptions/ContextException.php
@@ -1,5 +1,6 @@
<?php
+declare(strict_types=1);
/**
* An exception raised when a context is invalid
*/
diff --git a/app/Exceptions/DAOException.php b/app/Exceptions/DAOException.php
index 14bee3403..71ed371f8 100644
--- a/app/Exceptions/DAOException.php
+++ b/app/Exceptions/DAOException.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
class FreshRSS_DAO_Exception extends Exception {
}
diff --git a/app/Exceptions/EntriesGetterException.php b/app/Exceptions/EntriesGetterException.php
index 3b76195ee..d145a0ed5 100644
--- a/app/Exceptions/EntriesGetterException.php
+++ b/app/Exceptions/EntriesGetterException.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
class FreshRSS_EntriesGetter_Exception extends Exception {
}
diff --git a/app/Exceptions/FeedException.php b/app/Exceptions/FeedException.php
index abfcbce79..49843f3ed 100644
--- a/app/Exceptions/FeedException.php
+++ b/app/Exceptions/FeedException.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
class FreshRSS_Feed_Exception extends Exception {
}
diff --git a/app/Exceptions/ZipMissingException.php b/app/Exceptions/ZipMissingException.php
index 864cc3991..5b4791b1b 100644
--- a/app/Exceptions/ZipMissingException.php
+++ b/app/Exceptions/ZipMissingException.php
@@ -1,4 +1,6 @@
<?php
+declare(strict_types=1);
+
class FreshRSS_ZipMissing_Exception extends Exception {
}