bovigo / vfsStream

vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 8.1 Support

allejo opened this issue Β· comments

Hello and welcome fellow PHP developers preparing for the 8.1 release scheduled for later this year πŸ‘‹

The current stable release of vfsStream is the 1.6.x series (located in the v1.6 branch); this series of vfsStream is in maintenance mode only and is only expecting to see small fixes.

If you're developing for 8.1

If you're a library or project that is developing for PHP 8.1, use our 1.6.10-alpha.* series of tags and report issues to us. These are marked as "pre-releases" because we don't want to spam releases that have no new features.

When PHP 8.1 has been released, we will tag a stable release of vfsStream supporting PHP 8.1.

If you don't care about 8.1 yet

If you're not actively developing for PHP 8.1, the latest stable release 1.6.9 will work for you just fine.

commented

phpspec/prophecy now has a new release with PHP 8.1 support. So the --ignore-platform-deps here can be removed

run: composer ${{ matrix.dependencies }} --prefer-dist --no-progress --ignore-platform-reqs

Also with PHP 8.1 RC out it would be nice to have a stable release of 1.6.10 (unless there are other changes planned for this series).

@allejo now we're at PHP 8.1 RC2 is there any chance that 1.6.10 can be released so that your dependencies can make stable releases that are compatible with PHP 8.1 when it is out. I created the MR #268 to address the last work around for your testing dependencies.

On it! Let me run some final tests this week and I'll get a tag pushed