Skip to content

Conversation

@ruflin
Copy link
Owner

@ruflin ruflin commented Sep 17, 2025

- Changed retries condition from > 0 to >= 0 to allow zero retries
- Fixed type casting issue by casting retries value to int when passing to setRetries()
- Added comprehensive tests for zero retries functionality
- Updated CHANGELOG.md to document the fix
- Added missing setServerless() and getServerless() methods for interface compliance

Backport of #2282

    - Changed retries condition from > 0 to >= 0 to allow zero retries
    - Fixed type casting issue by casting retries value to int when passing to setRetries()
    - Added comprehensive tests for zero retries functionality
    - Updated CHANGELOG.md to document the fix
    - Added missing setServerless() and getServerless() methods for interface compliance

    Backport of #2282
- Added error handler in tests/bootstrap.php to suppress specific deprecation notices
- Only applies to PHP 8.5+ where these magic methods are deprecated
- Suppresses notices from vendor code (PHPUnit) that we cannot control
- Maintains compatibility with older PHP versions
@ruflin ruflin merged commit 8ed7044 into 8.x Sep 17, 2025
24 checks passed
@ruflin ruflin deleted the backport--2282 branch September 17, 2025 18:50
@hotrush
Copy link
Contributor

hotrush commented Sep 22, 2025

@ruflin do you plan to tag a new release for this fix?

@ruflin
Copy link
Owner Author

ruflin commented Sep 23, 2025

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.

3 participants