Skip to content

Implement missing stream wrapper functions for testing#31

Merged
Seldaek merged 2 commits intocomposer:mainfrom
renanrodrigo:fix-php8.5
Mar 2, 2026
Merged

Implement missing stream wrapper functions for testing#31
Seldaek merged 2 commits intocomposer:mainfrom
renanrodrigo:fix-php8.5

Conversation

@renanrodrigo
Copy link
Contributor

PHP 8.5 seems to not ignore or tolerate missing methods in classes implementing the StreamWrapper interface. This patch adds the missing methods to the test stream wrapper used in ClassMapGeneratorTest.php, ensuring compatibility with PHP 8.5 and later versions.

Fixes: #30

renanrodrigo and others added 2 commits February 26, 2026 12:19
PHP 8.5 seems to not ignore or tolerate missing methods in classes
implementing the StreamWrapper interface. This patch adds the missing methods
to the test stream wrapper used in ClassMapGeneratorTest.php, ensuring
compatibility with PHP 8.5 and later versions.

Fixes: composer#30
@Seldaek Seldaek merged commit 7560f12 into composer:main Mar 2, 2026
13 checks passed
@Seldaek
Copy link
Member

Seldaek commented Mar 2, 2026

Thanks

@renanrodrigo renanrodrigo deleted the fix-php8.5 branch March 2, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version 1.7.1 tests failing (and fail to build in Ubuntu) with PHP 8.5

2 participants