File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ vendor/bin/grumphp git:init
8282
8383Add configuration files to git:
8484``` shell
85- git add ruleset.xml phpmd.xml .eslintrc grumphp.yml
85+ git add ruleset.xml phpmd.xml .eslintrc .stylelintrc grumphp.yml
8686```
8787
8888#### 2. Add following to project`s 'Makefile':
@@ -100,7 +100,11 @@ precommit: # analyses code staged for commit
100100```
101101
102102Replace the sample `a000z999` commit hash with the hash from the project where you want to start linting from.
103- Files modified after the starting commit hash will be linted during project build and will fail the build on linter violations.
103+ Files modified after the starting commit hash will be linted during project build and will fail the build on linter violations.
104+
105+ **Note :**
106+ If using warden, commit still fails with `SplFileInfo ::openFile(/var/www/html/.git/COMMIT_EDITMSG): failed to open st
107+ ream : No such file or directory` error: rename or revert to original git 'commit-msg' hook.
104108
105109# ### 3. Commit to project`s repo.
106110Commit updated composer files, vendor folder, code-quality config files from the root and 'makefile' changes
You can’t perform that action at this time.
0 commit comments