Fixed php warning and set TYPO3 max dependency to 6.2