shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

Home Page:https://setup-php.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

limingxinleo opened this issue · comments

Describe the bug

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

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

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