[TASK] Update to phpunit 7.5 23/59823/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 1 Mar 2019 13:57:56 +0000 (14:57 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 1 Mar 2019 16:21:48 +0000 (17:21 +0100)
commitf74cf58c1daff84e14e41d73074ad8e6e64bd46e
treeb2ed474a47b5cbaae5a3de712e7d6c13aacd7c1b
parent672290f8084b9d538b0a067c07a3278a4cbbea06
[TASK] Update to phpunit 7.5

Updating to latest v7 branch of phpunit is blocked by
codeception which relies on phpunit-mock-objects, so
we need to update this first from 2.4 to 2.5:

composer require --dev codeception/codeception:^2.5.4

Updating its dependencies then drops phpunit-mock-objects
and fetches phpunit 7.5:

composer update --with-dependencies codeception/codeception

Younger phpunit now has a random-order built in, the currently
used plugin can be removed:

composer remove --dev fiunchinho/phpunit-randomizer

typo3/testing-framework needs a raise to prevent a lower
phpunit version that would break the randomizer again:

composer require --dev typo3/testing-framework:~5.0.6

runTests.sh and its docker-compose file need some adaptions
so the unit test randomizer can be used, example calls:

Build/Scripts/runTests.sh -s unitRandom

Build/Scripts/runTests.sh -s unitRandom -o 1551445682

bamboo also needs some adaptions to now use built in phpunit
random functionality instead of phpunit-randomizer.

Change-Id: I0acfebdcb1f4da785845c8397ad23b7bb8174505
Resolves: #87107
Releases: master, 9.5
Reviewed-on: https://review.typo3.org/c/59823
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Build/Scripts/runTests.sh
Build/bamboo/pom.xml
Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Build/bamboo/src/main/java/core/NightlySpec.java
Build/testing-docker/local/docker-compose.yml
composer.json
composer.lock
typo3/sysext/core/composer.json