Skip to content

Conversation

@huangdijia
Copy link
Member

Summary

This PR removes backward compatibility code and deprecated functionality that was marked for removal in version 3.2.

Changes

  • Collection (src/collection/src/Collection.php:1679-1682): Removed array_is_list() check that was reindexing items for backward compatibility
  • ProxyTrait (src/di/src/Aop/ProxyTrait.php:36-56): Removed deprecated __getParamsMap() method used for parameter mapping
  • Coordinator (src/coordinator/src/Listener/ResumeExitCoordinatorListener.php): Deleted entire deprecated listener class
  • SocketIO Future (src/socketio-server/src/Emitter/Future.php:33,44): Removed deprecated $flag parameter from constructor
  • WebSocket (src/websocket-server/src/ConfigProvider.php:15-17 and src/websocket-server/src/Exception/WebSocketHandeShakeException.php): Removed typo class alias and deprecated exception file

All removed code was properly marked with deprecation notices indicating removal in v3.2.

Test plan

  • Verify all existing tests pass
  • Confirm no references to removed code exist in the codebase
  • Check that no breaking changes are introduced for code not using deprecated features

Remove backward compatibility code and deprecated functionality that was marked for removal in v3.2, including:
- Collection: array_is_list check for reindexing items
- ProxyTrait: __getParamsMap method for parameter mapping
- Coordinator: ResumeExitCoordinatorListener class
- SocketIO: Future flag parameter
- WebSocket: HandeShakeException typo alias and file
@huangdijia huangdijia added this to the v3.2 milestone Nov 11, 2025
@limingxinleo limingxinleo merged commit c99003e into hyperf:3.2 Nov 11, 2025
76 checks passed
@huangdijia huangdijia deleted the refactor/remove-v3.2-deprecated-code branch November 11, 2025 04:19
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.

2 participants