[TASK] Update to phpunit 4.1 84/29584/6
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 20 Apr 2014 12:46:13 +0000 (14:46 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 12 May 2014 15:04:35 +0000 (17:04 +0200)
commit4f982ca057290d4ba370b69e8ac83fb6e45c8e32
tree09f0f8865e068a2609e87d24ec72c4d89b48531a
parent65603ab6f69ab96e06b39e0f865fc0e7e4b06c15
[TASK] Update to phpunit 4.1

Do not forget to "composer update" test instances!

Updating from phpunit 3.7 to 4.1 is smooth, except two details:

* The mock framework dropped staticExpects, two test cases must
  be refactored to circumvent this.

* The mocker now tries to resolve method argument type hints, so
  those classes must exist and autoloaded, some FLOW dependencies
  are affected here.

Change-Id: Ie74bdad000182dde808d3771fa6eec4764a133da
Resolves: #58676
Releases: 6.2
Reviewed-on: https://review.typo3.org/29584
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
composer.json
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Core/ClassLoader.php [new file with mode: 0644]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Log/LoggerInterface.php [new file with mode: 0644]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Log/SystemLoggerInterface.php [new file with mode: 0644]
typo3/sysext/core/ext_autoload.php
typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php