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(generation): simplify traits and method parameter attributes #753

Conversation

gturpin-dev
Copy link
Contributor

@gturpin-dev gturpin-dev commented Nov 19, 2024

I don't think I opened an issue about it.
But there was an issue where the ClassManipulator do not simplifies class traits when they are in another namespace of the current class.
Same goes for class method parameter attributes.

This PR make those two things to be simplified.
It cleans the current make:model command generated stub file

@gturpin-dev gturpin-dev changed the title fix(generation): simplify class traits and class method parameter attributes in ClassManipulator fix(generation): simplify class traits and class method parameter attributes in ClassManipulator Nov 19, 2024
@innocenzi innocenzi changed the title fix(generation): simplify class traits and class method parameter attributes in ClassManipulator fix(generation): simplify traits and method parameter attributes Nov 19, 2024
@innocenzi innocenzi self-assigned this Nov 19, 2024
@brendt brendt merged commit 3cca6bc into tempestphp:main Nov 20, 2024
58 checks passed
@brendt
Copy link
Member

brendt commented Nov 20, 2024

Nice!

@gturpin-dev gturpin-dev deleted the fix/generation/class-manipulator-expanded-namespaces branch November 20, 2024 10:59
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.

3 participants