From dacebedd48b94843f59483a5c7909455fb88c21d Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Fri, 7 Jan 2022 16:01:00 +0100 Subject: [PATCH] Add unified minimum and max year in MDRequirementsSet --- src/MDRequirementsSet.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MDRequirementsSet.php b/src/MDRequirementsSet.php index 2d0fb7e..ca6b0b5 100644 --- a/src/MDRequirementsSet.php +++ b/src/MDRequirementsSet.php @@ -23,6 +23,9 @@ final class MDRequirementsSet { // Object images need to be at least 500 px wide const MIN_OBJECT_IMAGE_HEIGHT = 540; + const TIME_EARLIEST_YEAR = -6000000000; + const TIME_LATEST_YEAR = 2099; + const MIMETYPES_USER_PROFILE_IMG = ['image/jpeg', 'image/jpg']; const MIMETYPES_OBJECT_IMAGE = ['image/jpeg', 'image/jpg'];