•  
      request #22659 Run Tuleap with PHP 8.1
    Infos
    #22659
    Thomas Gerbet (tgerbet)
    2023-01-16 17:48
    2021-08-23 16:31
    24225
    Details
    Run Tuleap with PHP 8.1

    Tracking the ongoing work regarding PHP 8.1 support.

    • [x] Unit tests
    • [x] REST tests
    • [x] DB/Integration tests
    • [x] SOAP tests
    • [x] Switch the CLI/backend actions to PHP 8.1
    • [x] Switch frontend to PHP 8.1
    • [ ] Drop support of PHP 8.0
    Other
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Under implementation
    Empty
    Attachments
    Empty
    References
    Referencing request #22659

    Git commit

    tuleap/tuleap/stable

    league/commonmark: 2.0.1 -> 2.0.2 334eb155aa
    mikey179/vfsstream: 1.6.8 -> 1.6.9 81d57cc8d1
    mockery/mockery: 1.4.2 -> 1.4.4 ad224a7630
    symfony/console: 5.3.6 -> 5.3.7 84c85f4340
    mikey179/vfsstream: 1.6.9 -> 1.6.10 ea4dbd6145
    symfony/process: 5.2.1 -> 5.3.7 b0f7356d07
    laminas/laminas-mail: 2.14.1 -> 2.15.1 c64c30891c
    symfony/options-resolver: 5.2.1 -> 5.3.7 9d5e7770b7
    deptrac: 0.15.1 -> 0.18.0 6fbdc24bf5
    tuleap/prometheus-client: 1.2.0 -> 1.3.0 96d4e058a0
    Guzzle: 7.3.0 -> 7.4.0 a413e2eedb
    league/commonmark: 2.0.2 -> 2.1.0 7d7f52477e
    php-http/client-common: 2.3.0 -> 2.5.0 1a0ed34917
    php-http/client-common: 2.3.0 -> 2.5.0 (OAuth Server plugin dev dep) d279de5557
    league/flysystem: 2.1.1 -> 2.3.2 6e8ce8cdc6
    lcobucci/clock: 2.0.0 -> 2.1.0 fae80ecc0b
    sabre/dav: 4.1.5 -> 4.3.0 2d4c2a5e5a
    ezyang/htmlpurifier: 4.13.0 -> 4.14.0 f16c57e102
    laminas/laminas-httphandlerrunner: 2.0.0 -> 2.1.0 afb429deb0
    laminas/laminas-feed: 2.14.1 -> 2.16.0 9045ee0087
    mockery/mockery: 1.4.4 -> 1.5.0 8dfc8ab3bf
    php-mime-mail-parser/php-mime-mail-parser: 7.0.0 -> 7.1.2 a1b1b9f2f3
    php-di/php-di: 6.3.4 -> 6.4.0 f041eabe54
    ezyang/htmlpurifier: 4.14.0 -> 4.16.0 20c488f54d
    willdurand/negotiation: 3.0.0 -> 3.1.0 6a8b45150a
    php-http/message: 1.12.0 -> 1.13.0 e994838e9a
    Fix PHP 8.1 hard crashes when launching the unit tests b7869f2373
    Easy fixes for the PHP 8.1 compat 8b0a6503f4
    Bump mustache.php to 2.14.2 (with our patches on top of it) c88349f8de
    Fix PHP 8.1 deprecation notice in Restler's RestException 4c25d4dca9
    Various PHP 8.1 compatibility fixes e22e0d2cad
    Fix calls to imagefilledpolygon() when using PHP 8.1 ef7d172949
    Fix ReferenceManager unit tests when PHP 8.1 is used d4c211ee23
    Convert most of the call made to the deprecated strftime() function f827cbb02a
    Check PHP unit tests with PHP 8.1 at the end of the nightly pipeline 23e7649883
    Run the integration/DB tests with PHP 8.1 547fc28c51
    Run the REST tests with PHP 8.1 8eed68e9cf
    Run the SOAP tests with PHP 8.1 5b8287dd6b
    Run PHP 8.1 nightly tests in parallel 6e2d41026a
    Move dev instances to PHP 8.1 4f7b5d764f
    CLI and backend tasks use PHP 8.1 9c11c0348b
    laminas/laminas-cache: 2.11.2 -> 3.10.0 fe811f729f
    PHPUnit: 9.5.10 -> 9.5.27 d041e06c61
    Switch everything to PHP 8.1 by default 07bd192f8a
    nikic/php-parser: 4.12.0 -> 4.15.2 0a53c0ba75
    fix(php81): Tests can still be run on PHP 8.0 f285f86ecf

    Follow-ups

    User avatar

    gerrit #27663 (Switch everything to PHP 8.1 by default) integrated in Tuleap 14.4.99.78


    • 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
    User avatar
    Thomas Gerbet (tgerbet)2023-01-05 16:55
    • 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
    User avatar
    Thomas Gerbet (tgerbet)2023-01-02 11:08
    • 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
    User avatar

    gerrit #27541 integrated into Tuleap 14.3.99.101


    • 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
    User avatar
    Thomas Gerbet (tgerbet)2022-12-30 09:02
    • 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 Blocked to Under implementation
    User avatar
    Thomas Gerbet (tgerbet)2021-08-23 16:46

    Blocked for now, waiting for the support of some upstream library notably mikey179/vfsstream. Some changes have been started in gerrit #23768 (and the Docker image used to run the unit tests with PHP 8.1 is available).


    • Status changed from Under implementation to Blocked