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
Copy file name to clipboardExpand all lines: doc/faq.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ For example:
85
85
- Warning: Unsupported declare 'strict_types' in vendor/ocramius/proxy-manager/src/ProxyManager/Configuration.php on line 19
86
86
- Parse error: parse error, expecting ';'' or'{'' in vendor/ocramius/proxy-manager/src/ProxyManager/Configuration.php on line 87
87
87
88
-
SourceTree probably doesn't import your local $PATH variable before running the scripts. This causes a lot of issues like a different PHP version than the one installed locally or exectuables that can't be found.
88
+
SourceTree probably doesn't import your local $PATH variable before running the scripts. This causes a lot of issues like a different PHP version than the one installed locally or executables that can't be found.
89
89
90
90
You can fix this by adding following line to the top of the git hooks:
Copy file name to clipboardExpand all lines: doc/parameters.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ Hides the tip describing how to circumvent the Git commit hook and bypass GrumPH
129
129
130
130
GrumPHP uses the Symfony Process component to run external tasks.
131
131
The component will trigger a timeout after 60 seconds by default.
132
-
If you've got tools that run more then 60 seconds, you can increase this parameter.
132
+
If you've got tools that run more than 60 seconds, you can increase this parameter.
133
133
It is also possible to disable the timeout by setting the value to `null`.
134
134
When receiving a `Symfony\Component\Process\Exception\ProcessTimedOutException` during the execution of GrumPHP, you probably need to increment this setting.
Copy file name to clipboardExpand all lines: doc/tasks/eslint.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -111,4 +111,4 @@ Report errors only (no warnings). [eslint.org](https://eslint.org/docs/user-guid
111
111
112
112
**other settings**
113
113
114
-
Any other eslint settings (such as rules, env, ignore patterns, etc) should be able to be set through an [eslint config file](https://eslint.org/docs/user-guide/configuring) (instructions to generate a config file at top of document).
114
+
Any other eslint settings (such as rules, env, ignore patterns, etc.) should be able to be set through an [eslint config file](https://eslint.org/docs/user-guide/configuring) (instructions to generate a config file at top of document).
Copy file name to clipboardExpand all lines: doc/tasks/phpcs.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ PHP_CodeSniffer will print all screen-based reports 80 characters wide. You may
97
97
*Default: []*
98
98
99
99
This is a list of regex patterns that will filter files to validate. With this option you can skip files like tests. This option is used in relation with the parameter `triggered_by`.
100
-
For exemple to validate only files in your `src/App/` and `src/AppBundle/` directories in a Symfony you can use
100
+
For example to validate only files in your `src/App/` and `src/AppBundle/` directories in a Symfony you can use
101
101
```yml
102
102
whitelist_patterns:
103
103
- /^src\/App\/(.*)/
@@ -134,7 +134,7 @@ A list of rules that should not be checked. Leave this option blank to run all c
134
134
135
135
### Symfony 2
136
136
137
-
If you want to use Phpcs for your Symfony2 projects, you can require the leanpub phpcs repo.
137
+
If you want to use Phpcs for your Symfony2 projects, you can require the leaphub phpcs repo.
Copy file name to clipboardExpand all lines: doc/tasks/phpmnd.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ With this parameter you can define which directory you want to run `phpmnd` in (
42
42
*Default: []*
43
43
44
44
This is a list of regex patterns that will filter files to validate. With this option you can skip files like tests. This option is used in relation with the parameter `triggered_by`.
45
-
For exemple to validate only files in your `src/App/` and `src/AppBundle/` directories in a Symfony you can use
45
+
For example to validate only files in your `src/App/` and `src/AppBundle/` directories in a Symfony you can use
Copy file name to clipboardExpand all lines: doc/tasks/phpparser.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ grumphp:
79
79
declare_strict_types: ~
80
80
```
81
81
82
-
This visitore is not configurable!
82
+
This visitor is not configurable!
83
83
84
84
85
85
### forbidden_class_method_calls
@@ -103,7 +103,7 @@ grumphp:
103
103
104
104
This is a list of blacklisted class method calls. The syntax is `$variableName->methodName`.
105
105
When one of the functions inside this list is being called by your code,
106
-
the parser will markt this method as an error.
106
+
the parser will mark this method as an error.
107
107
108
108
109
109
### forbidden_function_calls
@@ -127,7 +127,7 @@ grumphp:
127
127
128
128
This is a list of blacklisted function calls.
129
129
When one of the functions inside this list is being called by your code,
130
-
the parser will markt this method as an error.
130
+
the parser will mark this method as an error.
131
131
132
132
*Note* that statements like `die()` and `exit` are not functions but exit nodes. You can validate these statements by adding the [`no_exit_statements`](https://github.com/phpro/grumphp/blob/master/doc/tasks/phpparser.md#no_exit_statements) visitor to your configuration.
133
133
@@ -152,7 +152,7 @@ grumphp:
152
152
153
153
This is a list of blacklisted static method calls. The syntax is `Fully\Qualified\ClassName::staticMethodName`.
154
154
When one of the functions inside this list is being called by your code,
155
-
the parser will markt this method as an error.
155
+
the parser will mark this method as an error.
156
156
157
157
158
158
### nameresolver
@@ -258,7 +258,7 @@ This will result in easy and understandable visitors!
258
258
259
259
### Optional interfaces and classes
260
260
261
-
We also added some optional interfaces and to make it easier to interct with the GrumPHP context:
261
+
We also added some optional interfaces and to make it easier to interact with the GrumPHP context:
0 commit comments