Skip to content

Commit d52e5e9

Browse files
author
Martin Seysen
committed
Optimize README.md
Optimize config order
1 parent 0a5a79b commit d52e5e9

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ There are also several debug options which can be adjusted using the following p
149149
If you are using Laravel Sail and maybe not lokal PHP is installed, you can adjust the following parameters in the git-hooks.php config file:
150150

151151
```php
152-
'use_sail' => env('GITHOOKS_USE_SAIL', false),
152+
'use_sail' => env('GITHOOKS_USE_SAIL', false),
153153
```
154154
This will force the local git hooks to use the `sail` command to execute the hooks.
155155

@@ -158,8 +158,8 @@ This will force the local git hooks to use the `sail` command to execute the hoo
158158
By default commands are executed locally, however this behavior can be adjusted for each hook using the parameters `run_in_docker` and `docker_container`:
159159

160160
```php
161-
'run_in_docker' => env('LARAVEL_PINT_RUN_IN_DOCKER', true),
162-
'docker_container' => env('LARAVEL_PINT_DOCKER_CONTAINER', 'app'),
161+
'run_in_docker' => env('LARAVEL_PINT_RUN_IN_DOCKER', true),
162+
'docker_container' => env('LARAVEL_PINT_DOCKER_CONTAINER', 'app'),
163163
```
164164

165165
### Creating Custom Git Hooks

config/git-hooks.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -292,17 +292,6 @@
292292
*/
293293
'analyzer_chunk_size' => env('GITHOOKS_ANALYZER_CHUNK_SIZE', 100),
294294

295-
/*
296-
|--------------------------------------------------------------------------
297-
| Output errors
298-
|--------------------------------------------------------------------------
299-
|
300-
| This configuration option allows you output any errors encountered
301-
| during execution directly for easy debug.
302-
|
303-
*/
304-
'output_errors' => env('GITHOOKS_OUTPUT_ERRORS', false),
305-
306295
/*
307296
|--------------------------------------------------------------------------
308297
| Automatically fix errors
@@ -337,6 +326,17 @@
337326
*/
338327
'stop_at_first_analyzer_failure' => env('GITHOOKS_STOP_AT_FIRST_ANALYZER_FAILURE', true),
339328

329+
/*
330+
|--------------------------------------------------------------------------
331+
| Output errors
332+
|--------------------------------------------------------------------------
333+
|
334+
| This configuration option allows you output any errors encountered
335+
| during execution directly for easy debug.
336+
|
337+
*/
338+
'output_errors' => env('GITHOOKS_OUTPUT_ERRORS', false),
339+
340340
/*
341341
|--------------------------------------------------------------------------
342342
| Debug commands

0 commit comments

Comments
 (0)