Fixed some PSR-2 compliance issues identified by phpcs, remaining errors are
intentional deviations for code clarity.
Fixed some PSR-2 compliance issues in unit tests identified by phpcs, remaining
errors are intentional deviations for code clarity.
Added unit test to ensure correct handling for the MIME Types in theIANA
official register.