Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:recommended_tools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
development:recommended_tools [2016/09/15 14:16] – [Dependency Management] crhallberg | development:recommended_tools [2018/09/27 14:06] – demiankatz | ||
---|---|---|---|
Line 30: | Line 30: | ||
==== Style ==== | ==== Style ==== | ||
- | For style compliance, | + | For style compliance, |
- | To test style compliance with PHP_CodeSniffer, | + | To test style compliance with PHP_CodeSniffer |
< | < | ||
- | phpcs --standard=PEAR [file] | + | vendor/bin/phpcs --standard=PEAR [file] |
</ | </ | ||
- | To automatically fix certain PHP_CodeSniffer issues, you can run: | + | Or, through [[https:// |
< | < | ||
- | phpcbf | + | vendor/ |
</ | </ | ||
- | To automatically fix additional | + | To automatically fix certain PHP_CodeSniffer |
< | < | ||
- | phing php-cs-fixer | + | vendor/bin/phing phpcbf |
</ | </ | ||
- | (Note that this assumes that the php-cs-fixer | + | To automatically fix additional issues with php-cs-fixer, from the base of your VuFind directory, run: |
+ | |||
+ | < | ||
+ | vendor/ | ||
+ | </ | ||
If you are unwilling or unable to run these tools locally, note that if you open a pull request against the [[https:// | If you are unwilling or unable to run these tools locally, note that if you open a pull request against the [[https:// |
development/recommended_tools.txt · Last modified: 2023/10/20 12:02 by demiankatz