Skip to content

[Improvement] Decompose proxy generator#393

Merged
lisachenko merged 3 commits intomasterfrom
feature/decompose-proxy-generator
May 1, 2018
Merged

[Improvement] Decompose proxy generator#393
lisachenko merged 3 commits intomasterfrom
feature/decompose-proxy-generator

Conversation

@lisachenko
Copy link
Copy Markdown
Member

This PR adds one more dependency, but makes core more readable and maintainable. Hope, that zendframework/zend-code is good enough to be used as code generator.

@lisachenko lisachenko added this to the 3.x milestone Apr 7, 2018
BODY;
}

}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing brace for the class must go on the next line after the body

string $joinPointType,
string $methodName,
array $advices
): MethodInvocation {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There must be a single space between the closing parenthesis and the opening brace of a multi-line function declaration; found 0 spaces

@lisachenko lisachenko force-pushed the feature/decompose-proxy-generator branch from 5aad5c7 to dd47ea6 Compare April 7, 2018 18:03
@scrutinizer-notifier
Copy link
Copy Markdown

The inspection completed: No new issues

Copy link
Copy Markdown
Contributor

@TheCelavi TheCelavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't went into every detail, but seams legit. I like zend-code, why not?

@lisachenko
Copy link
Copy Markdown
Member Author

@TheCelavi Thanks for reviewing!
Only the disadvantage is that zendframework/zend-code has strange dependency on zendframework/zend-eventmanager (see zendframework/zend-code#32 (comment)) and zendframework/zend-code is not maintained last years (last commit was on 20 Oct 2017).

But all @Ocramius's tools depend on zendframework/zend-code, so this should be stable enough.

@TheCelavi
Copy link
Copy Markdown
Contributor

But all @Ocramius's tools depend on zendframework/zend-code, so this should be stable enough.

That means that you are betting on Ocramius's good health and well being? He is old, and I heard that he drinks a lot... :D :D :D

@Ocramius
Copy link
Copy Markdown

Don't forget that I'm also affected by chronic laziness!

@lisachenko
Copy link
Copy Markdown
Member Author

That means that you are betting on Ocramius's good health and well being? He is old, and I heard that he drinks a lot... :D :D :D

Don't forget that I'm also affected by chronic laziness!

Ah, it's acceptable for me, we can proceed with that, because we are lazy too! ⬆️ 😄 🍻

@lisachenko lisachenko merged commit 8f80d19 into master May 1, 2018
@lisachenko lisachenko deleted the feature/decompose-proxy-generator branch May 1, 2018 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants