shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.85k stars 334 forks source link

PHP8.3 `RecursiveDirectoryIterator::__construct : Failed to open directory: Not a directory` #832

Closed limingxinleo closed 3 months ago

limingxinleo commented 3 months ago

Describe the bug

Version

Runners

Operating systems ubuntu-latest

PHP versions PHP8.3

To Reproduce

When I run test cases in PHP8.3, it will be thrown this exception

RecursiveDirectoryIterator::__construct : Failed to open directory: Not a directory

The github actions yml:

https://github.com/hyperf/hyperf/blob/master/.github/workflows/test.yml#L31

Screenshots/Logs image

shivammathur commented 3 months ago

@limingxinleo This does not seem to be related to setup-php.