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
| otherArguments | String. Flags or arguments that are not covered in GitHooks |'-format json'|
162
-
163
-
164
-
These are the options supported by GitHooks. Obviously, each tool has many other options. More precise configuration is possible with each tool configuration file.
165
-
166
-
Many of the options are *optional* as long as the tool has a properly established configuration file. The `conf:init`command copies a githooks.yml file template to the root of the project with all the options commented of each the tool. To make sure that when you finish configuring it, all the options are valid, you can launch the command`conf:check`:
All the available options are in the [wiki](https://github.com/Wtyd/githooks/wiki/ConfigurationFile).
170
116
171
117
# Contributing
172
118
Contributions from others would be very much appreciated! Send pull [request](https://github.com/Wtyd/githooks/pulls)/[issue](https://github.com/Wtyd/githooks/issues). Check all steps fordo that at Wiki section for [Contributing](https://github.com/Wtyd/githooks/wiki/Contributing). Thanks!
Copy file name to clipboardExpand all lines: qa/phpstan.neon
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
ignoreErrors: [
11
11
'#Call to an undefined static method Illuminate\\Support\\Facades\\Storage::[a-zA-Z\\_]+\(\)#',
12
12
'#Method Wtyd\\GitHooks\\ConfigurationFile\\Exception\\WrongExecutionValueException::[a-zA-Z0-9\\_]+\(\) has parameter \$executionValue with no typehint specified.#',
13
+
'#Parameter \#1 \$version1 of function version_compare expects string, string\|false given.#'# phpversion returns string|false
13
14
# '#Method [a-zA-Z0-9\\_]+ToolConfigurationFactory::create\(\) has parameter \$toolData with no typehint specified.#'
14
15
# '#Method [a-zA-Z0-9\\_]+Command::handle\(\)#',
15
16
# '#Property [a-zA-Z0-9\\_]+Command::\$root \(string\) does not accept string\|false.#'
0 commit comments