From 4992011939a6a7ba871c2f719288faced8d2d1e7 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Mon, 14 Dec 2020 20:24:00 +0100 Subject: [PATCH] Remove superfluous newlines as per PHPCBF --- MDErrorReporter.php | 1 - exceptions/generic/MDAccessDeniedException.php | 2 -- exceptions/generic/MDConfigCannotBeLoadedException.php | 2 -- exceptions/generic/MDExpectedException.php | 2 -- exceptions/generic/MDFileDoesNotExist.php | 2 -- exceptions/generic/MDFileIsNotReadable.php | 2 -- exceptions/generic/MDInaccessiblePropertyException.php | 2 -- exceptions/generic/MDInvalidEmail.php | 2 -- exceptions/generic/MDInvalidUrl.php | 2 -- exceptions/generic/MDOutputBufferNotStarted.php | 2 -- exceptions/generic/MDRequiredConfigNotSet.php | 2 -- exceptions/generic/MDWrongCsrfTokenException.php | 2 -- exceptions/generic/MDgenericInvalidInputsException.php | 2 -- exceptions/generic/MDhttpFailedException.php | 2 -- exceptions/generic/MDmainEntityNotExistentException.php | 2 -- exceptions/generic/MDpageParameterNotFromListException.php | 2 -- exceptions/page/MDPageNotInAggregatedException.php | 2 -- exceptions/page/MDmainEntityNotPublicException.php | 2 -- exceptions/page/MDpageParameterMissingException.php | 2 -- exceptions/page/MDpageParameterNotNumericException.php | 2 -- exceptions/updates/MDDuplicateLinkException.php | 2 -- exceptions/updates/MDFileUploadNotAcceptedException.php | 2 -- exceptions/updates/MDInvalidCurrency.php | 2 -- exceptions/updates/MDInvalidInputDate.php | 2 -- exceptions/updates/MDInvalidLengthUnit.php | 2 -- exceptions/updates/MDInvalidLicense.php | 2 -- exceptions/updates/MDInvalidObjectPublicationBackground.php | 2 -- exceptions/updates/MDInvalidWeightUnit.php | 2 -- exceptions/updates/MDNoUpdateVarSetException.php | 2 -- exceptions/updates/MDTooManyFilesUploadException.php | 2 -- exceptions/updates/MDWrongFileType.php | 2 -- exceptions/updates/MDcouldNotSaveException.php | 2 -- exceptions/updates/MDcouldNotSetPublic.php | 2 -- exceptions/updates/MDwriteAccessDeniedException.php | 2 -- 34 files changed, 67 deletions(-) diff --git a/MDErrorReporter.php b/MDErrorReporter.php index d6cc26d..8ed6a5f 100644 --- a/MDErrorReporter.php +++ b/MDErrorReporter.php @@ -250,5 +250,4 @@ final class MDErrorReporter { $this->_contact_mail_addr = $contact_mail_addr; } - } diff --git a/exceptions/generic/MDAccessDeniedException.php b/exceptions/generic/MDAccessDeniedException.php index 944aabb..3b53df6 100644 --- a/exceptions/generic/MDAccessDeniedException.php +++ b/exceptions/generic/MDAccessDeniedException.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for invalid page parameters. */ final class MDAccessDeniedException extends MDExpectedException { - /** * Error message. * @@ -17,5 +16,4 @@ final class MDAccessDeniedException extends MDExpectedException { return $errorMsg; } - } diff --git a/exceptions/generic/MDConfigCannotBeLoadedException.php b/exceptions/generic/MDConfigCannotBeLoadedException.php index d7a33b0..223f26c 100644 --- a/exceptions/generic/MDConfigCannotBeLoadedException.php +++ b/exceptions/generic/MDConfigCannotBeLoadedException.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for errors loading configuration information. */ final class MDConfigCannotBeLoadedException extends Exception { - /** * Error message. * @@ -17,5 +16,4 @@ final class MDConfigCannotBeLoadedException extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDExpectedException.php b/exceptions/generic/MDExpectedException.php index fdc525e..7808de8 100644 --- a/exceptions/generic/MDExpectedException.php +++ b/exceptions/generic/MDExpectedException.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for invalid page parameters. */ class MDExpectedException extends Exception { - /** * Error message. * @@ -17,5 +16,4 @@ class MDExpectedException extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDFileDoesNotExist.php b/exceptions/generic/MDFileDoesNotExist.php index d6d8fb5..e7407ff 100644 --- a/exceptions/generic/MDFileDoesNotExist.php +++ b/exceptions/generic/MDFileDoesNotExist.php @@ -10,7 +10,6 @@ declare(strict_types = 1); * Custom exception class for non-existing files. */ final class MDFileDoesNotExist extends Exception { - /** * Error message. * @@ -22,5 +21,4 @@ final class MDFileDoesNotExist extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDFileIsNotReadable.php b/exceptions/generic/MDFileIsNotReadable.php index 55b0319..95f962c 100644 --- a/exceptions/generic/MDFileIsNotReadable.php +++ b/exceptions/generic/MDFileIsNotReadable.php @@ -10,7 +10,6 @@ declare(strict_types = 1); * Custom exception class for non-existing files. */ final class MDFileIsNotReadable extends Exception { - /** * Error message. * @@ -22,5 +21,4 @@ final class MDFileIsNotReadable extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDInaccessiblePropertyException.php b/exceptions/generic/MDInaccessiblePropertyException.php index ba22492..92e850c 100644 --- a/exceptions/generic/MDInaccessiblePropertyException.php +++ b/exceptions/generic/MDInaccessiblePropertyException.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for errors loading configuration information. */ final class MDInaccessiblePropertyException extends Exception { - /** * Error message. * @@ -17,5 +16,4 @@ final class MDInaccessiblePropertyException extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDInvalidEmail.php b/exceptions/generic/MDInvalidEmail.php index b807061..4976186 100644 --- a/exceptions/generic/MDInvalidEmail.php +++ b/exceptions/generic/MDInvalidEmail.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDInvalidEmail extends MDgenericInvalidInputsException { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDInvalidEmail extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/generic/MDInvalidUrl.php b/exceptions/generic/MDInvalidUrl.php index b1d741a..5d00784 100644 --- a/exceptions/generic/MDInvalidUrl.php +++ b/exceptions/generic/MDInvalidUrl.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDInvalidUrl extends MDgenericInvalidInputsException { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDInvalidUrl extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/generic/MDOutputBufferNotStarted.php b/exceptions/generic/MDOutputBufferNotStarted.php index c5f3f1a..fe06b83 100644 --- a/exceptions/generic/MDOutputBufferNotStarted.php +++ b/exceptions/generic/MDOutputBufferNotStarted.php @@ -10,7 +10,6 @@ declare(strict_types = 1); * Custom exception class for non-existing files. */ final class MDOutputBufferNotStarted extends Exception { - /** * Error message. * @@ -22,5 +21,4 @@ final class MDOutputBufferNotStarted extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDRequiredConfigNotSet.php b/exceptions/generic/MDRequiredConfigNotSet.php index 6fadc46..fcec6a8 100644 --- a/exceptions/generic/MDRequiredConfigNotSet.php +++ b/exceptions/generic/MDRequiredConfigNotSet.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for errors loading configuration information. */ final class MDRequiredConfigNotSet extends Exception { - /** * Error message. * @@ -17,5 +16,4 @@ final class MDRequiredConfigNotSet extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDWrongCsrfTokenException.php b/exceptions/generic/MDWrongCsrfTokenException.php index c94f05e..b8cfd45 100644 --- a/exceptions/generic/MDWrongCsrfTokenException.php +++ b/exceptions/generic/MDWrongCsrfTokenException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDWrongCsrfTokenException extends MDgenericInvalidInputsException { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDWrongCsrfTokenException extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/generic/MDgenericInvalidInputsException.php b/exceptions/generic/MDgenericInvalidInputsException.php index 87e4783..a6b673b 100644 --- a/exceptions/generic/MDgenericInvalidInputsException.php +++ b/exceptions/generic/MDgenericInvalidInputsException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ class MDgenericInvalidInputsException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ class MDgenericInvalidInputsException extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDhttpFailedException.php b/exceptions/generic/MDhttpFailedException.php index 3b49773..17a7524 100644 --- a/exceptions/generic/MDhttpFailedException.php +++ b/exceptions/generic/MDhttpFailedException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDhttpFailedException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDhttpFailedException extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDmainEntityNotExistentException.php b/exceptions/generic/MDmainEntityNotExistentException.php index f8912c7..40a97f1 100644 --- a/exceptions/generic/MDmainEntityNotExistentException.php +++ b/exceptions/generic/MDmainEntityNotExistentException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * preset list of allowed values. */ final class MDmainEntityNotExistentException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDmainEntityNotExistentException extends Exception { return $errorMsg; } - } diff --git a/exceptions/generic/MDpageParameterNotFromListException.php b/exceptions/generic/MDpageParameterNotFromListException.php index 4d4fc00..1bc4ab2 100644 --- a/exceptions/generic/MDpageParameterNotFromListException.php +++ b/exceptions/generic/MDpageParameterNotFromListException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * preset list of allowed values. */ final class MDpageParameterNotFromListException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDpageParameterNotFromListException extends Exception { return $errorMsg; } - } diff --git a/exceptions/page/MDPageNotInAggregatedException.php b/exceptions/page/MDPageNotInAggregatedException.php index e6da3b7..cdd2ca8 100644 --- a/exceptions/page/MDPageNotInAggregatedException.php +++ b/exceptions/page/MDPageNotInAggregatedException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDPageNotInAggregatedException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDPageNotInAggregatedException extends Exception { return $errorMsg; } - } diff --git a/exceptions/page/MDmainEntityNotPublicException.php b/exceptions/page/MDmainEntityNotPublicException.php index dd44032..cb4a8e6 100644 --- a/exceptions/page/MDmainEntityNotPublicException.php +++ b/exceptions/page/MDmainEntityNotPublicException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDmainEntityNotPublicException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDmainEntityNotPublicException extends Exception { return $errorMsg; } - } diff --git a/exceptions/page/MDpageParameterMissingException.php b/exceptions/page/MDpageParameterMissingException.php index bd9364c..51b2fa8 100644 --- a/exceptions/page/MDpageParameterMissingException.php +++ b/exceptions/page/MDpageParameterMissingException.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for missing page parameters. */ final class MDpageParameterMissingException extends Exception { - /** * Error message. * @@ -17,5 +16,4 @@ final class MDpageParameterMissingException extends Exception { return $errorMsg; } - } diff --git a/exceptions/page/MDpageParameterNotNumericException.php b/exceptions/page/MDpageParameterNotNumericException.php index a052185..f11aa7d 100644 --- a/exceptions/page/MDpageParameterNotNumericException.php +++ b/exceptions/page/MDpageParameterNotNumericException.php @@ -5,7 +5,6 @@ declare(strict_types = 1); * Custom exception class for invalid page parameters. */ final class MDpageParameterNotNumericException extends Exception { - /** * Error message. * @@ -17,5 +16,4 @@ final class MDpageParameterNotNumericException extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDDuplicateLinkException.php b/exceptions/updates/MDDuplicateLinkException.php index 6239a8d..89891b5 100644 --- a/exceptions/updates/MDDuplicateLinkException.php +++ b/exceptions/updates/MDDuplicateLinkException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * linking table. */ final class MDDuplicateLinkException extends Exception { - /** * Error message. * @@ -19,5 +18,4 @@ final class MDDuplicateLinkException extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDFileUploadNotAcceptedException.php b/exceptions/updates/MDFileUploadNotAcceptedException.php index 84f1054..5e30fa8 100644 --- a/exceptions/updates/MDFileUploadNotAcceptedException.php +++ b/exceptions/updates/MDFileUploadNotAcceptedException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * preset list of allowed values. */ final class MDFileUploadNotAcceptedException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDFileUploadNotAcceptedException extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDInvalidCurrency.php b/exceptions/updates/MDInvalidCurrency.php index 8443e6e..829174f 100644 --- a/exceptions/updates/MDInvalidCurrency.php +++ b/exceptions/updates/MDInvalidCurrency.php @@ -13,7 +13,6 @@ declare(strict_types = 1); * accepted by museum-digital. */ final class MDInvalidCurrency extends MDgenericInvalidInputsException { - /** * Error message. * @@ -25,5 +24,4 @@ final class MDInvalidCurrency extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/updates/MDInvalidInputDate.php b/exceptions/updates/MDInvalidInputDate.php index 975e629..2e07d18 100644 --- a/exceptions/updates/MDInvalidInputDate.php +++ b/exceptions/updates/MDInvalidInputDate.php @@ -13,7 +13,6 @@ declare(strict_types = 1); * accepted by museum-digital. */ final class MDInvalidInputDate extends Exception { - /** * Error message. * @@ -25,5 +24,4 @@ final class MDInvalidInputDate extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDInvalidLengthUnit.php b/exceptions/updates/MDInvalidLengthUnit.php index 63db37a..fa25427 100644 --- a/exceptions/updates/MDInvalidLengthUnit.php +++ b/exceptions/updates/MDInvalidLengthUnit.php @@ -13,7 +13,6 @@ declare(strict_types = 1); * accepted by museum-digital. */ final class MDInvalidLengthUnit extends MDgenericInvalidInputsException { - /** * Error message. * @@ -25,5 +24,4 @@ final class MDInvalidLengthUnit extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/updates/MDInvalidLicense.php b/exceptions/updates/MDInvalidLicense.php index 68f2f95..322bf97 100644 --- a/exceptions/updates/MDInvalidLicense.php +++ b/exceptions/updates/MDInvalidLicense.php @@ -13,7 +13,6 @@ declare(strict_types = 1); * accepted by museum-digital. */ final class MDInvalidLicense extends MDgenericInvalidInputsException { - /** * Error message. * @@ -25,5 +24,4 @@ final class MDInvalidLicense extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/updates/MDInvalidObjectPublicationBackground.php b/exceptions/updates/MDInvalidObjectPublicationBackground.php index e6e052d..c7d29ef 100644 --- a/exceptions/updates/MDInvalidObjectPublicationBackground.php +++ b/exceptions/updates/MDInvalidObjectPublicationBackground.php @@ -13,7 +13,6 @@ declare(strict_types = 1); * accepted by museum-digital. */ final class MDInvalidObjectPublicationBackground extends MDgenericInvalidInputsException { - /** * Error message. * @@ -25,5 +24,4 @@ final class MDInvalidObjectPublicationBackground extends MDgenericInvalidInputsE return $errorMsg; } - } diff --git a/exceptions/updates/MDInvalidWeightUnit.php b/exceptions/updates/MDInvalidWeightUnit.php index cd18927..7d45336 100644 --- a/exceptions/updates/MDInvalidWeightUnit.php +++ b/exceptions/updates/MDInvalidWeightUnit.php @@ -13,7 +13,6 @@ declare(strict_types = 1); * accepted by museum-digital. */ final class MDInvalidWeightUnit extends MDgenericInvalidInputsException { - /** * Error message. * @@ -25,5 +24,4 @@ final class MDInvalidWeightUnit extends MDgenericInvalidInputsException { return $errorMsg; } - } diff --git a/exceptions/updates/MDNoUpdateVarSetException.php b/exceptions/updates/MDNoUpdateVarSetException.php index 55f5da6..5519a86 100644 --- a/exceptions/updates/MDNoUpdateVarSetException.php +++ b/exceptions/updates/MDNoUpdateVarSetException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * preset list of allowed values. */ final class MDNoUpdateVarSetException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDNoUpdateVarSetException extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDTooManyFilesUploadException.php b/exceptions/updates/MDTooManyFilesUploadException.php index 1c80829..392cd80 100644 --- a/exceptions/updates/MDTooManyFilesUploadException.php +++ b/exceptions/updates/MDTooManyFilesUploadException.php @@ -12,7 +12,6 @@ declare(strict_types = 1); * Custom exception class for wrongly used files. */ final class MDTooManyFilesUploadException extends Exception { - /** * Error message. * @@ -24,5 +23,4 @@ final class MDTooManyFilesUploadException extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDWrongFileType.php b/exceptions/updates/MDWrongFileType.php index b487646..0fc7037 100644 --- a/exceptions/updates/MDWrongFileType.php +++ b/exceptions/updates/MDWrongFileType.php @@ -12,7 +12,6 @@ declare(strict_types = 1); * Custom exception class for wrongly used files. */ final class MDWrongFileType extends Exception { - /** * Error message. * @@ -24,5 +23,4 @@ final class MDWrongFileType extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDcouldNotSaveException.php b/exceptions/updates/MDcouldNotSaveException.php index 854ea41..68c0e63 100644 --- a/exceptions/updates/MDcouldNotSaveException.php +++ b/exceptions/updates/MDcouldNotSaveException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDcouldNotSaveException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDcouldNotSaveException extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDcouldNotSetPublic.php b/exceptions/updates/MDcouldNotSetPublic.php index 43e6d7c..37db318 100644 --- a/exceptions/updates/MDcouldNotSetPublic.php +++ b/exceptions/updates/MDcouldNotSetPublic.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDcouldNotSetPublic extends Exception { - /** * Error message. * @@ -18,6 +17,5 @@ final class MDcouldNotSetPublic extends Exception { return $errorMsg; } - } diff --git a/exceptions/updates/MDwriteAccessDeniedException.php b/exceptions/updates/MDwriteAccessDeniedException.php index adbcc87..c9ebce9 100644 --- a/exceptions/updates/MDwriteAccessDeniedException.php +++ b/exceptions/updates/MDwriteAccessDeniedException.php @@ -6,7 +6,6 @@ declare(strict_types = 1); * are not set public. */ final class MDwriteAccessDeniedException extends Exception { - /** * Error message. * @@ -18,5 +17,4 @@ final class MDwriteAccessDeniedException extends Exception { return $errorMsg; } - }