File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,13 @@ It is also possible to specify the reports to be used in the `phpcs.xml.dist` fi
41
41
<arg name="report-\M icheh\P hpCodeSniffer\R eport\G itlab" value="phpcs-quality-report.json"/>
42
42
` ` `
43
43
44
+ # # Upgrade from version 1 to 2
45
+
46
+ The usage of this package remains the same.
47
+ However, the calculation of the fingerprint has been updated and is now based on the content instead of the line number.
48
+ This has the advantage that lines with violations can move up or down and GitLab will not report them as new violations.
49
+ When upgrading to version 2, it is likely that all violations will show up as changed once, since all fingerprints are new.
50
+
44
51
# # References
45
52
46
53
- [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/)
You can’t perform that action at this time.
0 commit comments