You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `Generic.PHP.Syntax` sniff will check the syntax of each PHP file using [the built-in PHP linter](http://php.net/manual/en/features.commandline.options.php). Use the `php_path` configuration option to tell the Syntax sniff where to find the PHP binary.
246
+
The `Generic.PHP.Syntax` sniff will check the syntax of each PHP file using [the built-in PHP linter](https://www.php.net/commandline.options). Use the `php_path` configuration option to tell the Syntax sniff where to find the PHP binary.
247
247
248
248
```bash
249
249
$ phpcs --config-set php_path /path/to/php
250
250
```
251
251
252
252
### Setting the path to CSSLint (PHP_CodeSniffer < 4.0.0)
253
253
254
-
The `Generic.Debug.CSSLint` sniff will check each CSS file using [CSS Lint](http://csslint.net/). Use the `csslint_path` configuration option to tell the CSSLint sniff where to find the tool.
254
+
The `Generic.Debug.CSSLint` sniff will check each CSS file using [CSS Lint](https://csslint.net/). Use the `csslint_path` configuration option to tell the CSSLint sniff where to find the tool.
### Setting the path to JSHint (PHP_CodeSniffer < 4.0.0)
269
269
270
-
The `Generic.Debug.JSHint` sniff will check each JavaScript file using [JSHint](http://www.jshint.com/), a tool to detect errors and potential problems in JavaScript code. Use the `jshint_path` configuration option to tell the JSHint sniff where to find the tool.
270
+
The `Generic.Debug.JSHint` sniff will check each JavaScript file using [JSHint](https://www.jshint.com/), a tool to detect errors and potential problems in JavaScript code. Use the `jshint_path` configuration option to tell the JSHint sniff where to find the tool.
### Setting the path to JSLint (PHP_CodeSniffer < 4.0.0)
283
283
284
-
The `Squiz.Debug.JSLint` sniff will check each JavaScript file using [JSLint](http://www.jslint.com/), a JavaScript program that looks forproblemsin JavaScript programs. Use the `jslint_path` configuration option to tell the JSLint sniff where to find the tool.
284
+
The `Squiz.Debug.JSLint` sniff will check each JavaScript file using [JSLint](https://www.jslint.com/), a JavaScript program that looks forproblemsin JavaScript programs. Use the `jslint_path` configuration option to tell the JSLint sniff where to find the tool.
Copy file name to clipboardExpand all lines: wiki/FAQ.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,6 @@ Always run PHP_CodeSniffer until you get a passing result. Once you've made the
55
55
56
56
## What does PHP_CodeSniffer use to tokenize my code?
57
57
58
-
PHP_CodeSniffer uses [PHP's inbuilt tokenizer functions](http://www.php.net/tokenizer) to parse your code. It then modifies that output to include much more data about the file, such as matching function braces to function keywords.
58
+
PHP_CodeSniffer uses [PHP's inbuilt tokenizer functions](https://www.php.net/tokenizer) to parse your code. It then modifies that output to include much more data about the file, such as matching function braces to function keywords.
59
59
60
60
<palign="right"><ahref="#table-of-contents">back to top</a></p>
> The `*nix``diff` command is required for generating reports in `diff` format. Windows users may need to ensure that the `diff` command is available by either installing [DiffUtils](http://gnuwin32.sourceforge.net/packages/diffutils.htm) or, if available, adding the Git `/usr/bin/` sub-directory to the Windows system `PATH`.
214
+
> The `*nix``diff` command is required for generating reports in `diff` format. Windows users may need to ensure that the `diff` command is available by either installing [DiffUtils](https://gnuwin32.sourceforge.net/packages/diffutils.htm) or, if available, adding the Git `/usr/bin/` sub-directory to the Windows system `PATH`.
215
215
216
216
<palign="right"><ahref="#table-of-contents">back to top</a></p>
0 commit comments