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

Make php generated code conform to PSR-4. #2435

Merged
merged 1 commit into from
Dec 8, 2016

Conversation

TeBoring
Copy link
Contributor

@TeBoring TeBoring commented Dec 2, 2016

  1. Generate single file for each message.
  2. Lazily initiate metadata.
    Fixes [php] Allow individual files per class #2267

@TeBoring TeBoring force-pushed the master branch 2 times, most recently from 80cd21b to 3f445a3 Compare December 5, 2016 18:50
@TeBoring
Copy link
Contributor Author

TeBoring commented Dec 5, 2016

@stanley-cheung
This PR depends on newly added php/composer.json. The broken jenkins test needs to wait for this PR being merged, so it can see the newly added php/composer.json during the setup phase.

@TeBoring TeBoring force-pushed the master branch 2 times, most recently from 751891b to a21881a Compare December 6, 2016 22:30
1. Generate single file for each message.
2. Lazily initiate metadata.
"autoload": {
"psr-4": {
"Foo\\": "tests/generated/Foo",
"Bar\\": "tests/generated/Bar",
Copy link
Contributor

Choose a reason for hiding this comment

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

This is really cool

Copy link
Contributor

@stanley-cheung stanley-cheung left a comment

Choose a reason for hiding this comment

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

LGTM

@TeBoring
Copy link
Contributor Author

TeBoring commented Dec 8, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants