Minor formatting
Remove useless else...return
Global formatting fix
Simplify extractOptionalParameters
Merge pull request #5782 from lucasmichot/4.2-routes-extractoptionalparameters

[4.2] Route : simplify extractOptionalParameters
Merge pull request #5781 from lucasmichot/4.2-formatting

[4.2] Global formatting fix
Merge pull request #5779 from lucasmichot/4.2-useless-else

[4.2] Remove useless else...return
Merge pull request #5777 from lucasmichot/4.2-pagination-fragment

[4.2] Pagination : minor formatting
Fix conflict
Merge pull request #5780 from lucasmichot/4.2-validation-validatemimes

[4.2] Validation : simplify validateMimes
Extract method for if check.
Typo
Factorize replaceDigitsBetween
Remaining useless else
Add missing new line
Remove useless else with throw
Initialize array in SQLiteGrammar.php
Remove duplicate unset()
Remove forgotten method
Added unit test for array_last function