Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Added more simple sniffs to the Zend Coding Standard #8

Merged
merged 3 commits into from
Dec 4, 2018
Merged

Added more simple sniffs to the Zend Coding Standard #8

merged 3 commits into from
Dec 4, 2018

Conversation

michalbundyra
Copy link
Member

I've started testing the library with webimpress/coding-standard to release version 1.0.0 of my library.
I've added several simple sniffs here which I have implemented and override some with my version, as these are more reliable or fixes more cases (please see tests).

There is one problem with spaces around namespace operators.
I wanted to include that sniff, but looks like one sniff from Slevomat library wrongly recognised references and do a fix file with invalid use import: use ; (it is only in first fix loop, then somehow it is removed, but it conflicts with other sniffs).

@geerteltink geerteltink added this to Reviewer approved in Zend Coding Standard 2 Dec 4, 2018
Copy link
Member

@geerteltink geerteltink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the docs next time please :D

@geerteltink geerteltink merged commit d36e02f into zendframework:develop Dec 4, 2018
Zend Coding Standard 2 automation moved this from Reviewer approved to Done Dec 4, 2018
geerteltink added a commit that referenced this pull request Dec 4, 2018
Added more simple sniffs to the Zend Coding Standard
geerteltink added a commit that referenced this pull request Dec 4, 2018
@geerteltink
Copy link
Member

Thanx @webimpress

@michalbundyra michalbundyra deleted the feature/more-simple-sniffs branch December 4, 2018 10:16
@geerteltink geerteltink added this to the 2.0.0 milestone Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants