•  
      request #21412 Run PHP unit tests on PHP 8.0 nightly
    Infos
    #21412
    Thomas Gerbet (tgerbet)
    2021-06-18 17:21
    2021-05-26 15:49
    22908
    Details
    Run PHP unit tests on PHP 8.0 nightly

    This is the first step towards a full PHP 8.0 support, it will covers:

    • bump of dependencies (a lot of them) to get PHP 8.0 support
    • necessary changes in the codebase
    • update of the CI nightly pipeline to add the PHP 8.0/PHP unit tests stage
    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2021-06-18
    Attachments
    Empty
    References
    Referencing request #21412

    Git commit

    tuleap/tuleap/stable

    lcobucci/jwt: 3.4.3 -> 4.1.4 d222410fbf
    php-mime-mail-parser/php-mime-mail-parser: 6.0.0 -> 7.0.0 3779f9cf1b
    Run the PHP unit tests with PHP 8.0 in the nightly pipeline b40da75760
    Add missing Makefile target for php80 4dd65b3caf
    Adjust to breaking changes of lcobucci/jwt in e2e tests d12ae0d9a1
    webimpress/safe-writer: 2.0.1 -> 2.2.0 3f02ccc469
    Make test target 'phpunit-ci' generic 797abb0334
    embed/embed: 3.4.8 -> 4.3.2 5043e4684d
    league/uri: 6.2.1 -> 6.8.0 47ea3385da
    laminas/laminas-httphandlerrunner: 1.2.0 -> 1.4.0 3d82f129af
    paragonie/constant_time_encoding: 2.2.2 -> 2.4.0 c561a1158f
    smarty-gettext/smarty-gettext: 1.5.1 -> 1.6.2 cffb2948fe
    amphp/http-server: 2.0.1 -> 2.1.2 64c327ef6b
    lasserafn/php-initial-avatar-generator: 4.1.1 -> 4.2.1 e94e0aa8b6
    Update dependencies of amphp/log e351122ef3
    laminas/laminas-cache: 2.9.0 -> 2.11.2 ba161136ce
    laminas/laminas-feed: 2.12.2 -> 2.14.1 9b1fa0c06c
    php-http/logger-plugin: 1.2.0 -> 1.2.1 041f579389
    laminas/laminas-mail: 2.12.5 -> 2.14.1 9c8203c811
    tuleap/prometheus-client: 1.1.0 -> 1.2.0 208506a96a

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2021-06-18 17:21

    Unit tests are running fine on PHP 8.0 and all our deps are now compatible with PHP 8.0 (or at least they claims to be in their composer.json).


    • Status changed from Under implementation to Closed
    • Close date set to 2021-06-18