Skip to content

Commit d5fb8ef

Browse files
committed
Merge branch '3.0' into 3.1
* 3.0: [CS] Respect PSR2 4.2 [Form] fix `empty_data` option in expanded `ChoiceType` [Console] removed unneeded private methods [Security] [Guard] Improve comment with working example sync min email validator version [TwigBridge] Fix inconsistency in LintCommand help explicitly forbid e-mail validator 2.0 or higher Fixed SymfonyQuestionHelper multi-choice with defaults [DoctrineBridge] Don't use object IDs in DoctrineChoiceLoader when passing a value closure Differentiate between the first time a progress bar is displayed and subsequent times finished previous commit No more exception for malformed input name fix post_max_size_message translation [Process] Fix pipes cleaning on Windows Avoid phpunit 5.4 warnings on getMock [Form] Add exception to FormRenderer about non-unique block names [Form] Consider a violation even if the form is not submitted
2 parents fcf7e77 + b1baeec commit d5fb8ef

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Command/LintCommand.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,19 @@ protected function configure()
6565
The <info>%command.name%</info> command lints a template and outputs to STDOUT
6666
the first encountered syntax error.
6767
68-
You can validate the syntax of a file:
68+
You can validate the syntax of contents passed from STDIN:
6969
70-
<info>php %command.full_name% filename</info>
70+
<info>cat filename | php %command.full_name%</info>
7171
72-
Or of a whole directory:
72+
Or the syntax of a file:
73+
74+
<info>php %command.full_name% filename</info>
7375
74-
<info>php %command.full_name% dirname</info>
75-
<info>php %command.full_name% dirname --format=json</info>
76+
Or of a whole directory:
7677
77-
You can also pass the template contents from STDIN:
78+
<info>php %command.full_name% dirname</info>
79+
<info>php %command.full_name% dirname --format=json</info>
7880
79-
<info>cat filename | php %command.full_name%</info>
8081
EOF
8182
)
8283
;

0 commit comments

Comments
 (0)