You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated Error Detection Settings in Code Analysis
Modified the psalm.xml file for intensifying levels of error detection in the static code analysis and enabling the unused code detection. Additionally, updated the list of ignored files for the analysis scope.
Refined Object Annotations
Refined the @var annotations for the sender property in JobEvent.php file and other properties in various files, essentially making the object definitions more precise.
Enhanced Log Message Generation Process
Made changes to LogBehavior.php file to update the logger messages based on worker's PID.
Suppressed Less Critical Psalm Warnings
Added @psalm-suppress annotations in several files like Action.php, Queue.php, Behavior.php etc. to ignore some non-critical warnings generated by Psalm, a static analysis tool.
Added Type Hints For Improved Code Clarity and Robustness
Modified function signatures in Command.php file and others by adding type hints, improving both code readability and reliability.
Improved Type and Value Consistency
Changed property names, added type hints, and conducted type casting in areas throughout the codebase to ensure consistency in code and values.
Swapped PHP Serialization with Laravel's SerializableClosure
In Job.php, switched from native PHP serialization to Laravel's SerializableClosure for handling closures, enhancing compatibility and code efficiency.
Improved Code Analysis Annotating
Major part of the change involved adding or modifying @var annotations across many files like Queue.php, src/drivers/file/Queue.php, src/drivers/redis/InfoAction.php, etc to improve the benefits of static code analysis.
Added new method and file to enhance functionality
In src/drivers/file/Queue.php file, added new remove() method. Additionally, new file src/drivers/sqs/Payload.php has been added.
Introduced Changes to Enable Usage of New Payload Class
In the src/drivers/sqs/Queue.php file, modified method signatures for using the new Payload class instead of array structures for certain operations.
Updated Comment and Return Type Annotations
Updated property, comment and return type annotations in multiple files across the codebase to enable clearer understanding and direction for developers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.