* Fix loosly comparison to strict + argument types and return types for >=7.0
* Change hard-coded strings to ::class,
* Fix unit-tests failures - some relative to 7.0 phpunit env deployment
* Fix exception string + format return types
* Change string representation of new classes in traceLog to ::class
Credit to @arthurkushman
Make extension comparisons done in `getFileType()` case insensitive to support audio/visual file types being correctly recognized when the file being uploaded has an uppercase extension as is occasionally the case. I.e. `.JPG` is the same as `.jpg`, this just tells October to consider them the same.
removed my prior changes to the code behaviour
removed errorous PHPDocs
fixed some PHPDocs
removed my prior changes to the code behaviour
removed errorous PHPDocs
Updates the string version of the date to use PHP's IntlDateFormatter
which gives us translated dates in the appropriate format, based on
the user's locale set in backend preferences.
If ever there's a case where locale wasn't set or didn't match anything,
it would default to the system locale.
This is because the 'onInsert' callback is used for both actions, yet yielded different results causing breakages
Fixes#1281
Also improved code readability in some places