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

"No PHP code" error in Markdown files #110

Closed
danepowell opened this issue Oct 16, 2020 · 1 comment · Fixed by #111
Closed

"No PHP code" error in Markdown files #110

danepowell opened this issue Oct 16, 2020 · 1 comment · Fixed by #111

Comments

@danepowell
Copy link
Contributor

This was fixed in acquia/coding-standards 0.5.0: acquia/coding-standards-php#10

But ORCA is still using 0.4.3: https://github.com/acquia/orca/blob/v2.10.0/composer.lock#L11

We either need to composer update and commit the new composer.lock with the coding standards 0.5.0, or remove composer.lock entirely. This would make ORCA somewhat less stable as a package (because end users would always get the latest version of dependencies on each ORCA build), but would prevent issues like this one and having to always chase upstream updates.

@TravisCarden
Copy link
Contributor

Thanks, @danepowell. I've fixed and merged the immediate manifestation. Maybe we'll cut a release after the weekend. As to removing the composer.lock, I don't think we can do that. Not only would that destabilize ORCA in principle, it would result in unexpected effects on users. For example, if ORCA just downloads the latest coding standards on every build, a team whose static analysis passes today could start failing tomorrow without anything changing on their end. Then they have a fire drill. As it stands, we can alert users that changes are coming and document them in our release notes. Maybe the takeaway is just that we need to apply updates to coding-standards to ORCA more regularly.

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 a pull request may close this issue.

2 participants