•  
      request #13487 Run Tuleap test suites with PHP 7.4
    Infos
    #13487
    Thomas Gerbet (tgerbet)
    2020-04-02 13:21
    2019-06-14 09:04
    14596
    Details
    Run Tuleap test suites with PHP 7.4
    PHP 7.4 alpha 1 has been released yesterday [0] and the packages are already available in Remi repositories. We should start playing our test suites with it in the Tuleap nightly test pipeline.
    If some tests/code parts are not working due to breaking changes in PHP 7.4 that will leave us ample time to fix it and it might can also find issues in PHP itself.



    Todo list:
    * REST tests
    * SOAP tests




    [0] https://github.com/php/php-src/blob/php-7.4.0alpha1/NEWS
    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2020-04-02
    Attachments
    Empty
    References
    Referencing request #13487

    Git commit

    tuleap/tuleap/stable

    Run PHPUnit unit test suites with PHP 7.4 in the nightly pipeline 0293c939db
    Use a generic script to start MySQL when running the SimpleTest test suite 00852dfba4
    Run Simpletest unit test suite with PHP 7.4 in the nightly pipeline aa53e86b62
    Re-enable PHP 7.4 disabled test 1d8bedd297
    Disable PHP 7.4 test suites until the issues reported since the 7.4 beta 1 can be fixed 422770a7de
    Fix PHP 7.4 warnings when trying to access array offset on a int or null value d3a733e142
    Update mustache/mustache to get PHP 7.4 fixes 3e6f7c0e52
    Skip broken test due to PHP 7.4 beta/RC1 issue e793919570
    Fix invalid array accesses reported by PHP 7.4 when running the Simpletest test suite e23a6efa03
    PHP 7.4.0 RC2: Re-enable fixed test and disable newly broken test ebc3b801c4
    Does not skip PHPUnit unit test when running under PHP 7.4 ? d7bfe44386
    Update HTMLPurifier to 4.12.0 cd0b045704
    REST tests can be executed with PHP 7.4 b5888ab41d
    Fix PHP 7.4 notices in the KanbanFactory class ec4a9871ce
    Fix PHP 7.4 notices in XMLImport_XMLImportFieldStrategyList class ae462964b0
    Bump PHPSecLib to solve PHP 7.4 deprecations in deprecated tracker_encryption plugin 6693f48dd1
    DB/integration tests can be executed with PHP 7.4 d8c3663e38
    SOAP tests can be executed with PHP 7.4 8f2df000d9
    Nightly pipeline does not save the right reports for the SOAP tests 109603e44f
    Fix PHP 7.4 notice visible when importing trackers 1fedf7b912

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-04-02 13:21
    This was the last patch, let's close.

    • Status changed from Under implementation to Closed
    • Connected artifacts
    • Close date set to 2020-04-02
    User avatar
    Thomas Gerbet (tgerbet)2019-08-26 11:47
    The changes coming with PHP 7.4 beta break our unit test test suites (in part because of https://twitter.com/nikita_ppv/status/1148931277216800769).


    We need to fix that but in the meantime I'm going to silent the corresponding tests the nightly pipeline to avoid an "alert fatigue".

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Reopen to Under implementation
    User avatar
    Thomas Gerbet (tgerbet)2019-06-14 17:36
    Reopening, REST/SOAP and simpletest unit test testsuites still needs to be ported.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Closed to Reopen
    • Close date cleared