Skip to content

Conversation

sivaschenko
Copy link
Member

Covered ThisInTemplateSniff with autofix. Autofix is replacing $this with $block in .phtml files

Autofixes are applied when executing vendor/bin/phpcbf instead of vendor/bin/phpcs (preserving most options/arguments).

Also, corrected helper call check: this test does not replace the original warning, but adds an additional one.

Resolves: https://jira.corp.magento.com/browse/AC-2221

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

Successfully merging this pull request may close these issues.

2 participants