Skip to content

Commit

Permalink
Add args that everyone can use in their projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Helmus committed Sep 26, 2022
1 parent d77dd43 commit 46d5956
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 34 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.5.0
### Added
- Args to show phpcs warnings/errors in color and show the correct class that
renders the warning/error. This way it's easier to ignore if necessary.

### Removed
- Rule `Generic.Formatting.MultipleStatementAlignment`, since this did not help for the readability
of the code.


## 3.4.0
### Added
- Constraint for `squizlabs/php_codesniffer` to be compatible with
Expand Down
5 changes: 4 additions & 1 deletion src/GlobalCommon/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
-->
<ruleset name="Global/Common">
<description>Global its extension to PSR2.</description>
<!-- Show sniff codes in all reports. Easier to ignore rules when necessary -->
<arg value="s"/>
<!-- Use colors in output -->
<arg name="colors" />

<!-- Base rules on PSR12 -->
<rule ref="PSR12">
Expand Down Expand Up @@ -76,7 +80,6 @@

<!-- Formatting -->
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>

<!-- Functions -->
<rule ref="Generic.Functions.CallTimePassByReference"/>
Expand Down
20 changes: 0 additions & 20 deletions src/MediaCT/phpmd.xml

This file was deleted.

13 changes: 0 additions & 13 deletions src/MediaCT/ruleset.xml

This file was deleted.

0 comments on commit 46d5956

Please sign in to comment.