Skip to content

Commit

Permalink
minor #29960 Fix heredoc (Stadly)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.4 branch.

Discussion
----------

Fix heredoc

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

A heredoc was erroneously a nowdoc.

Commits
-------

15f5f69 Fix heredoc
  • Loading branch information
fabpot committed Jan 23, 2019
2 parents 47b739c + 15f5f69 commit d760c27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This template is used for translation message extraction tests
<?php echo $view['translator']->trans('single-quoted key'); ?>
<?php echo $view['translator']->trans('double-quoted key'); ?>
<?php echo $view['translator']->trans(<<<'EOF'
<?php echo $view['translator']->trans(<<<EOF
heredoc key
EOF
); ?>
Expand Down

0 comments on commit d760c27

Please sign in to comment.