Closed Lakshan-Madushanka closed 2 weeks ago
Removal of Unused Import
An unnecessary import statement was removed from the file VerifyGuestAction.php
leading to cleaner, leaner code.
Simplified Code Condition
The structure of the code has been simplified in ReactionBuilder.php
by merging separate condition branches, thus making the code straightforward and easier to read.
Formatting Clean Up
Consistent formatting has been ensured in several files such as VerifyGuestController.php
, SecureGuestMode.php
, and CreateCommentForm.php
by taking care of proper spacings and correct layout of braces. This provides easier navigation and a standard looking codebase.
Removed duplicate import Statement
Redundant import of Illuminate\Foundation\Auth\User
that was repeated in Guest.php
file has been eliminated, avoiding the repetition of the same code.
Constructor Formatting Fix
The layout format of a constructor in VerifyLinkGenerated.php
was improved for it to align with the existing formatting standard of the codebase.
Consistency in Object Instantiation
The process of creating instances of MailMessage
has been standardized across the notification class in terms of parenthesis usage, thus making the code uniform.
Lambda Function Formatting Clean Up
The layout and format of lambda functions in test files CreateCommentFormTest.php
and UpdateCommentFormTest.php
were cleaned, enhancing readability and ease of understanding.
This pull request applies code style fixes from an analysis carried out by StyleCI.
For more information, click here.