Skip to content

MailsMockTrait remove backward compatibility #228

@DenTray

Description

@DenTray

Description

What needs to be done?

Review the assertFixture method in the MailsMockTrait class. Refactor its code to remove all backward compatibility logic related to deprecated Laravel versions that are no longer supported by the package. Ensure the method only supports the current Laravel versions that the package officially supports. Clean up redundant conditionals, branches, and legacy code to simplify and improve maintainability.

Expected Outcome

What is the expected result?

  • The assertFixture method no longer contains any code catering to outdated Laravel versions.

  • The method works correctly and consistently with supported Laravel versions.

  • The code is cleaner, more maintainable, and free from unnecessary backward compatibility checks.

  • No breaking changes for the currently supported Laravel versions.


Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions