Skip to content

Commit 1acad14

Browse files
committed
Add information about the base path (fixes #22)
1 parent c0b6d91 commit 1acad14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ The example above uses two reports, one to display in the build log (full) and o
3131
> **Note:** Gitlab currently does not support multiple codequality artifacts.
3232
> You will not be able to display the violations of multiple tools (e.g. PHP Code Sniffer & PHPStan) in the Code Quality report.
3333
34+
Inside the codequality artifact, Gitlab expects relative paths to the files with violations.
35+
To generate relative paths with PHP Code Sniffer, set the `basepath` argument in your `phpcs.xml.dist` configuration file with `<arg name="basepath" value="."/>` or run phpcs with `--basepath=.` (adjust the base path as necessary).
36+
3437

3538
## References
3639

0 commit comments

Comments
 (0)