mayflower / mo4-coding-standard

MO4 Coding Standard Rules for Codesniffer based on Symfony Coding Standards.
MIT License
17 stars 10 forks source link

Add Constant Spacing Sniff, fixes #182 #183

Closed xalopp closed 3 years ago

xalopp commented 3 years ago

Type of PR

Breaking changes

A new Sniff can always break existing code

Description

Implements Constant Spacing Sniff

codecov[bot] commented 3 years ago

Codecov Report

Merging #183 (017f9b2) into master (2592077) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##              master      #183   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       133       138    +5     
===========================================
  Files              6         7    +1     
  Lines            509       526   +17     
===========================================
+ Hits             509       526   +17     
Impacted Files Coverage Δ
MO4/Sniffs/WhiteSpace/ConstantSpacingSniff.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2592077...017f9b2. Read the comment docs.

mmoll commented 3 years ago

@xalopp please rebase and adjust the tests :)

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.3% 1.3% Duplication