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

Fix PHPStan #201

Merged
merged 4 commits into from
Jan 1, 2025
Merged

Fix PHPStan #201

merged 4 commits into from
Jan 1, 2025

Conversation

Z3d0X
Copy link
Owner

@Z3d0X Z3d0X commented Jan 1, 2025

No description provided.

Copy link

what-the-diff bot commented Jan 1, 2025

PR Summary

  • Improvements on Dependencies and Settings

    • We've made updates to the 'composer.json' file, which is really essential to manage our software's dependencies. We've added 'larastan/larastan' and removed 'nunomaduro/larastan', along with 'phpstan/extension-installer'. This will streamline our development environment better.
    • We've also tweaked the 'phpstan.neon.dist', which is our project's configuration file for the PHPStan tool. This will improve the efficiency and overall quality of our codebase.
  • Enhancements to Code Clarity

    • Several scripts like 'ClearRoutesCacheCommand.php', 'FilamentFabricatorManager.php', 'Page.php', and 'PageRoutesService.php' now have enhanced type hinting. This increases code readability, allows us to better understand the expected data types, and helps in better handling potential errors that may arise from misusing the data types. This will ensure a much smoother and more predictable software function.
  • Ensuring Better Model Handling

    • Now, our software can more accurately work with model-related properties in the 'Page.php' script as it addresses properties such as 'parent', 'children', and 'allChildren'. It increases operational accuracy and robustness of the software, ensuring more accurate behavior.

In summary, this pull request makes our code cleaner, easier to understand, and increases operational accuracy. This ultimately enhances our software quality and maintainability.

@Z3d0X Z3d0X merged commit fadd639 into 2.x Jan 1, 2025
@Z3d0X Z3d0X deleted the fix-phpstan branch January 1, 2025 07:10
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

Successfully merging this pull request may close these issues.

1 participant