Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Use New casts() Method in Laravel 11 #296

Open
bloopdex opened this issue Sep 23, 2024 · 0 comments
Open

Update to Use New casts() Method in Laravel 11 #296

bloopdex opened this issue Sep 23, 2024 · 0 comments

Comments

@bloopdex
Copy link

With the release of Laravel 11, the casts property has been deprecated and replaced by the new casts() method. This issue seeks to facilitate the transition by updating our codebase and documentation accordingly.

Tasks:

  1. Update Code Examples: Refactor all instances in our codebase where the casts property is used to utilize the casts() method instead.

  2. Revise Documentation: Modify the project documentation to reflect the changes in Laravel 11, ensuring it clearly explains the new method and its usage.

  3. Check for Compatibility: Review the code for any potential backward compatibility issues and document any necessary migration steps for users.

  4. Add Tests: Implement unit tests to verify that the casts() method functions as expected in our context.

Expected Outcome

By completing this task, we will ensure that our project remains compatible with Laravel 11 and provides clear guidance for users on how to implement the new casts() method effectively. This will enhance usability and reduce confusion for developers upgrading to the latest version.

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

No branches or pull requests

1 participant