Skip to content

Commit

Permalink
Example of PSR-2 compliant phtml file which does not pass phpcs 1.5.3…
Browse files Browse the repository at this point in the history
… check but passes on 2.8.0
  • Loading branch information
orlangur committed Feb 25, 2017
1 parent 1e7c98c commit ecf0948
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
"jsonSwatchConfig": <?php /* @escapeNotVerified */
echo $swatchOptions = $block->getJsonSwatchConfig(); ?>,
"mediaCallback": "<?php /* @escapeNotVerified */ echo $block->getMediaCallback() ?>",
"gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar('gallery_switch_strategy',
'Magento_ConfigurableProduct') ?: 'replace'; ?>"
"gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar(
'gallery_switch_strategy',
'Magento_ConfigurableProduct'
) ?: 'replace'; ?>"
}
}
}
Expand Down

0 comments on commit ecf0948

Please sign in to comment.