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

Refactoring for strong typing enforce, added phpstan and rector #1

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

indy2kro
Copy link
Owner

No description provided.

Copy link

what-the-diff bot commented Apr 16, 2024

PR Summary

  • Improvement in GitHub Actions workflow
    Additional steps were added for executing certain tasks in the workflow which makes the testing processes more efficient.

  • Additional Rector package and configuration file
    A new package has been introduced to the system which has the ability to run static analysis and automatically refactor the code based on the provided configuration, enhancing the code quality.

  • Environment Variables for Git-hooks Configuration
    The configuration has been updated to utilize environment variables providing more flexibility and allowing specific settings to be altered on-the-fly, hence optimizing system performance.

  • Underlying Code Elegance with Type Hinting
    Updated numerous methods across various files by adding return type and parameter type hints. This brings clarity in terms of what kind of data is handled and returned by methods, reducing the chances of bugs related to unexpected data types.

  • New Analyzer for JavaScript files
    Added a new file for analyzing and fixing JavaScript files using a tool called Prettier, improving code standards in JavaScript files making the code tidy and easier to read.

  • Enhancement in Command's structure
    Several command related files have been updated to provide clear return type hints, ensuring a more predictable command execution process.

  • Tools contract updated
    Made changes to a Contract to give a clear view of what functions need to be implemented thereby creating a common and interchangeable object structure across the system.

  • Grammar Corrections
    Fixed spelling errors existing in code comments increasing the text readability.

  • Improved Facade & Git Files handling
    Updated files associated with Git and Facades to provide clearer return type hints which makes the handling of these components predictable.

  • Interface Update for handling Hooks
    A new method has been added to handle commands at a broader interface level, which increases flexibility and the capability for peculiarity.

Please note, this summary has omitted minor details and nit-pick changes focusing only on big picture changes that add substantial value to the system.

@indy2kro indy2kro merged commit 8d4f057 into master Apr 16, 2024
6 checks passed
@indy2kro indy2kro deleted the v2-upgrade branch April 16, 2024 11:08
indy2kro pushed a commit that referenced this pull request Oct 31, 2024
Füge Unterstützung für Laravel Sail hinzu
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