Skip to content
  • Stefan Bürk's avatar
    [BUGFIX] Update composer dev dependencies to min required versions · 07cd70ee
    Stefan Bürk authored and Andreas Kienast's avatar Andreas Kienast committed
    phpunit has released new versions for 8.5.x and 9.5.x, which
    do not longer automaticly throw exception for user depcrecations.
    As there are tests expecting this exception, the min version must
    be increased and the explicity configuration option set. Otherwise
    nightly composerMax unit tests will fail.
    
    Furthermore there was a patch merged which needs to have
    'phpspec/prophecy' on ^1.14.0 as minimum requirement. Otherwise
    nightly composerMin php7.4 tests will fail.
    
    This patch increase the min version for the two dev dependencies
    and apply the needed phpunit configuration option to throw
    user deprectation excetions again.
    
    Used composer commands:
    
    composer req --dev --with-dependencies phpunit/phpunit:^9.5.10
    composer req --dev phpspec/prophecy:^1.14.0
    
    Tests:
    
    Build/Scripts/runTests.sh -s composerInstallMin -p 7.4 ;  \
      Build/Scripts/runTests.sh -s unit -p 7.4
    
    Build/Scripts/runTests.sh -s composerInstallMax -p 7.4 ;  \
      Build/Scripts/runTests.sh -s unit -p 7.4
    
    Build/Scripts/runTests.sh -s composerInstallMax -p 7.4 ;  \
      Build/Scripts/runTests.sh -s unit -p 8.0
    
    Resolves: #95360
    Related: #95210
    Releases: master, 10.4
    Change-Id: Ia009fe20a0b53b3d1bdef097b00c1993d3b8c596
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71292
    
    
    Tested-by: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
    Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    07cd70ee