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: laravel/gitlab/index.html
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,38 @@ <h3>Gitlab CI configuration for a Laravel application running with Kool.dev</h3>
97
97
phpunit:
98
98
extends: .phpunit</pre>
99
99
</div>
100
+
<p>and on your <b>kool.yml</b> make sure to add on the default Laravel preset, the QA help tasks which you can run locally and will be used by the CI jobs above:</p>
phpmd: kool run phpqa phpmd app text phpmd/codesize.xml,phpmd/controversial.xml,phpmd/design.xml,phpmd/naming.xml,unusedcode,phpmd/cleancode.xml
113
+
phpmnd: kool run phpqa phpmnd app --ignore-funcs=round,sleep,abort,strpad,number_format --exclude=tests --progress --extensions=default_parameter,-return,argument
114
+
php-security-checker: kool run phpqa security-checker security:check composer.lock
115
+
phpunit: kool exec app ./vendor/bin/phpunit
116
+
start:chrome: kool docker -- --name="chromedriver" --network=$KOOL_GLOBAL_NETWORK -d --shm-size=256M fireworkweb/chromedriver:latest
117
+
stop:chrome: docker stop chromedriver
118
+
dusk: kool run artisan dusk
119
+
php-cs-fixer-check:
120
+
- kool run phpqa php-cs-fixer fix --diff --dry-run app/
121
+
- kool run phpqa php-cs-fixer fix --diff --dry-run tests/
122
+
- kool run phpqa php-cs-fixer fix --diff --dry-run resources/lang
123
+
- kool run phpqa php-cs-fixer fix --diff --dry-run config
124
+
- kool run phpqa php-cs-fixer fix --diff --dry-run database
125
+
php-cs-fixer:
126
+
- kool run phpqa php-cs-fixer fix --diff --format=txt --verbose app/
127
+
- kool run phpqa php-cs-fixer fix --diff --format=txt --verbose tests/
128
+
- kool run phpqa php-cs-fixer fix --diff --format=txt --verbose resources/lang
129
+
- kool run phpqa php-cs-fixer fix --diff --format=txt --verbose config
130
+
- kool run phpqa php-cs-fixer fix --diff --format=txt --verbose database</pre>
0 commit comments