File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -65,18 +65,19 @@ protected function configure()
65
65
The <info>%command.name%</info> command lints a template and outputs to STDOUT
66
66
the first encountered syntax error.
67
67
68
- You can validate the syntax of a file :
68
+ You can validate the syntax of contents passed from STDIN :
69
69
70
- <info>php %command.full_name% filename </info>
70
+ <info>cat filename | php %command.full_name%</info>
71
71
72
- Or of a whole directory:
72
+ Or the syntax of a file:
73
+
74
+ <info>php %command.full_name% filename</info>
73
75
74
- <info>php %command.full_name% dirname</info>
75
- <info>php %command.full_name% dirname --format=json</info>
76
+ Or of a whole directory:
76
77
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>
78
80
79
- <info>cat filename | php %command.full_name%</info>
80
81
EOF
81
82
)
82
83
;
You can’t perform that action at this time.
0 commit comments