Tags: friendsofhyperf/trigger
Tags
Update documentation links to docs.hdj.me Replaced all references to hyperf.fans with docs.hdj.me in documentation, configuration, and composer.json files to reflect the new official documentation site.
fix: update RedisServerMutex prefix for clarity
refactor: improve server mutex implementation and configuration (#1019) * refactor: improve server mutex implementation and configuration - Change server mutex prefix from APP_ENV to APP_NAME for better identification - Remove readonly properties from Consumer class to allow dependency injection flexibility - Improve RedisServerMutex constructor with better name construction and default owner handling - Add getName() method to ServerMutexInterface for consistency - Create ServerMutexCommand for mutex management operations This refactor improves the server mutex functionality by: - Using application name instead of environment for mutex prefix - Making Consumer properties mutable for better DI container compatibility - Enhancing RedisServerMutex with proper name formatting and owner handling - Providing interface consistency with getName() method * refactor: enhance ServerMutexCommand for improved action handling and configuration * refactor: update ServerMutexCommand and RedisServerMutex for improved clarity and functionality * Update * refactor: improve server mutex filtering logic to handle missing configuration * refactor: add ServerMutexCommand to the command list in ConfigProvider * refactor: improve variable naming in ServerMutexCommand for clarity * refactor: set default value for connection in RedisServerMutex constructor * refactor: update RedisServerMutex constructor to conditionally set options * refactor: move owner assignment in RedisServerMutex constructor for clarity --------- Co-authored-by: Deeka Wong <[email protected]>
chore: update php-mysql-replication version constraint to support v9 … …(#1006)
Replace 'if (false)' with interface_exists checks Updated several interface files to use 'if (! interface_exists(...))' instead of 'if (false)' for conditional interface declarations. This improves clarity and ensures interfaces are only declared when not already present. Co-Authored-By: Deeka Wong <[email protected]>
Standardize nullable type hints to 'null|Type' order Refactors type hints and docblocks across the codebase to consistently use the 'null|Type' order for nullable types, improving code readability and alignment with modern PHP standards. No functional changes are introduced; this is a documentation and type annotation update only.
chore(deps): update huangdijia/php-coding-standard to ^2.4 (#911) * chore(deps): update huangdijia/php-coding-standard to ^2.4 Updates the PHP coding standard package from ^2.0 to ^2.4 to get the latest improvements and fixes. * style: apply PHP coding standard fixes after updating to ^2.4 Reorders union types to follow null-first convention and applies other code style improvements as required by the updated huangdijia/php-coding-standard package. This commit includes automatic fixes across multiple components: - Union type reordering (Type|null → null|Type) - Consistent formatting and style improvements - No functional changes, only code style compliance --------- Co-authored-by: Deeka Wong <[email protected]>
PreviousNext