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

Code Standards: Serialized routes have trailing space before newline #3

Open
lauripiisang opened this issue Sep 11, 2017 · 0 comments

Comments

@lauripiisang
Copy link

When generating routes (php-swaggerize-fastroute-library 0.2.0 , php 7.1), the output file contains trailing space before newline when => leads to array on next line.

Example from git diff:
image

I guess this is a var_export issue.

Passing the output through rtrim($serializedRoutes, " ") should do the trick.

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

No branches or pull requests

1 participant