File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
- # Code block checker
1
+ # Symfony Code Block Checker
2
2
3
- Make sure that code blocks have valid syntax and can actually run.
3
+ Makes sure that code blocks have valid syntax and can actually run.
4
4
5
5
``` terminal
6
- $ ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev
6
+ $ php ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev
7
7
8
8
::error file=cache,line=377::[Invalid syntax] PHP Parse error: syntax error, unexpected token "}"
9
9
10
10
[ERROR] Build completed with 1 errors
11
11
12
12
13
- $ ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev --generate-baseline=baseline.json
14
- $ ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev --baseline=baseline.json
13
+ $ php ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev --generate-baseline=baseline.json
14
+ $ php ./code-block-checker.php verify:docs /path/to/docs cache.rst controller.rst --env=dev --baseline=baseline.json
15
15
16
16
[OK] Build completed successfully!
17
17
18
18
```
19
19
20
+ This project is considered ** an internal tool** and therefore, you
21
+ ** shouldn't use this project in your application** . Unlike the rest of the
22
+ Symfony projects, this repository doesn't provide any support and it doesn't
23
+ guarantee backward compatibility either. Any or the entire project can change,
24
+ or even disappear, at any moment without prior notice.
You can’t perform that action at this time.
0 commit comments