Add unified minimum and max year in MDRequirementsSet

This commit is contained in:
Joshua Ramon Enslin 2022-01-07 16:01:00 +01:00
parent 783fe29fc9
commit dacebedd48
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -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'];