Skip to content

Commit 46d5956

Browse files
Add args that everyone can use in their projects.
1 parent d77dd43 commit 46d5956

File tree

4 files changed

+14
-34
lines changed

4 files changed

+14
-34
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 3.5.0
8+
### Added
9+
- Args to show phpcs warnings/errors in color and show the correct class that
10+
renders the warning/error. This way it's easier to ignore if necessary.
11+
12+
### Removed
13+
- Rule `Generic.Formatting.MultipleStatementAlignment`, since this did not help for the readability
14+
of the code.
15+
16+
717
## 3.4.0
818
### Added
919
- Constraint for `squizlabs/php_codesniffer` to be compatible with

src/GlobalCommon/ruleset.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
-->
88
<ruleset name="Global/Common">
99
<description>Global its extension to PSR2.</description>
10+
<!-- Show sniff codes in all reports. Easier to ignore rules when necessary -->
11+
<arg value="s"/>
12+
<!-- Use colors in output -->
13+
<arg name="colors" />
1014

1115
<!-- Base rules on PSR12 -->
1216
<rule ref="PSR12">
@@ -76,7 +80,6 @@
7680

7781
<!-- Formatting -->
7882
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
79-
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
8083

8184
<!-- Functions -->
8285
<rule ref="Generic.Functions.CallTimePassByReference"/>

src/MediaCT/phpmd.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/MediaCT/ruleset.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)