stable

Clone or download

Read-only

Tuleap\Upload\FileBeingUploadedLocker works on PHP 8.0

The issue was by the different return type of \sem_get() on PHP 8.0 [0]. This change can be tested with: make tests-unit-php PHP_VERSION=80 FILES=tests/unit/common/Upload/FileBeingUploadedLockerTest.php Part of request #17931: Unit tests should pass with PHP 8.0 [0] https://github.com/php/php-src/blob/php-8.0.0/UPGRADING#L631-L633 Change-Id: If188e9cbbed58c03d7ae1ed2d5567a8e90509bec

Modified Files

Name
M src/common/Upload/FileBeingUploadedLocker.php +1 −1 Go to diff View file