Make all non-inherited classes final
This commit is contained in:
@ -4,7 +4,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for invalid page parameters.
|
||||
*/
|
||||
class MDAccessDeniedException extends MDExpectedException {
|
||||
final class MDAccessDeniedException extends MDExpectedException {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -4,7 +4,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for errors loading configuration information.
|
||||
*/
|
||||
class MDConfigCannotBeLoadedException extends Exception {
|
||||
final class MDConfigCannotBeLoadedException extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -2,8 +2,6 @@
|
||||
/**
|
||||
* This file contains an exception class for trying to enter non-existent files.
|
||||
*
|
||||
* @file
|
||||
*
|
||||
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||
*/
|
||||
declare(strict_types = 1);
|
||||
@ -11,7 +9,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for non-existing files.
|
||||
*/
|
||||
class MDFileDoesNotExist extends Exception {
|
||||
final class MDFileDoesNotExist extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -2,8 +2,6 @@
|
||||
/**
|
||||
* This file contains an exception class for trying to enter non-existent files.
|
||||
*
|
||||
* @file
|
||||
*
|
||||
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||
*/
|
||||
declare(strict_types = 1);
|
||||
@ -11,7 +9,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for non-existing files.
|
||||
*/
|
||||
class MDFileIsNotReadable extends Exception {
|
||||
final class MDFileIsNotReadable extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -4,7 +4,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for errors loading configuration information.
|
||||
*/
|
||||
class MDInaccessiblePropertyException extends Exception {
|
||||
final class MDInaccessiblePropertyException extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -2,8 +2,6 @@
|
||||
/**
|
||||
* This file contains an exception class for trying to enter non-existent files.
|
||||
*
|
||||
* @file
|
||||
*
|
||||
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||
*/
|
||||
declare(strict_types = 1);
|
||||
@ -11,7 +9,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for non-existing files.
|
||||
*/
|
||||
class MDOutputBufferNotStarted extends Exception {
|
||||
final class MDOutputBufferNotStarted extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -4,7 +4,7 @@ declare(strict_types = 1);
|
||||
/**
|
||||
* Custom exception class for errors loading configuration information.
|
||||
*/
|
||||
class MDRequiredConfigNotSet extends Exception {
|
||||
final class MDRequiredConfigNotSet extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -5,7 +5,7 @@ declare(strict_types = 1);
|
||||
* Exception thrown in case the main entity of a page (e.g. an object, an institution etc.)
|
||||
* are not set public.
|
||||
*/
|
||||
class MDhttpFailedException extends Exception {
|
||||
final class MDhttpFailedException extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -5,7 +5,7 @@ declare(strict_types = 1);
|
||||
* Custom exception class for invalid page parameters, which must be values of a
|
||||
* preset list of allowed values.
|
||||
*/
|
||||
class MDmainEntityNotExistentException extends Exception {
|
||||
final class MDmainEntityNotExistentException extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
@ -5,7 +5,7 @@ declare(strict_types = 1);
|
||||
* Custom exception class for invalid page parameters, which must be values of a
|
||||
* preset list of allowed values.
|
||||
*/
|
||||
class MDpageParameterNotFromListException extends Exception {
|
||||
final class MDpageParameterNotFromListException extends Exception {
|
||||
|
||||
/**
|
||||
* Error message.
|
||||
|
Reference in New Issue
Block a user