Skip to content

No longer require a space before a colon for control structures using… #132

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

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

hostep
Copy link
Contributor

@hostep hostep commented Aug 18, 2019

@magento-cicd2
Copy link

magento-cicd2 commented Aug 18, 2019

CLA assistant check
All committers have signed the CLA.

@hostep hostep force-pushed the fixes-issue-118 branch 2 times, most recently from 7426521 to 77d0290 Compare August 18, 2019 10:55
@hostep
Copy link
Contributor Author

hostep commented Aug 18, 2019

I've added a unit test, but for some reason it's not working properly. If somebody could give me a hint why not, that would be appreciated!

It might be because there is no corresponding Sniff added, but does that mean that no unit test is required in this case?

@hostep
Copy link
Contributor Author

hostep commented Aug 18, 2019

I've thought about it some more and it doesn't make much sense to have unit tests for this in the magento-coding-standard repo. The unit tests should be (and are already) part of the PHP_CodeSniffer repo.
So they are removed again over here.

@lenaorobei
Copy link
Contributor

@hostep thank you for this improvement.

magento-devops-reposync-svc pushed a commit that referenced this pull request Dec 17, 2021
AC-391: Static test to cover "deprecated" jQuery methods
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.

Space before colon required in phtml files when using alternative syntax for control structures?
3 participants