Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Classes\PropertyBeforeMethod sniff #46

Merged
merged 1 commit into from
Nov 13, 2019

Conversation

michalbundyra
Copy link
Member

Class properties should be defined before class methods.

Class properties should be defined before class methods.
@michalbundyra michalbundyra added the enhancement New feature or request label Oct 27, 2019
@michalbundyra michalbundyra added this to the 1.1.0 milestone Oct 27, 2019
@michalbundyra
Copy link
Member Author

Requires #37 (PHP_CodeSniffer 3.5 brings correct tokenizing of properties with types - PHP 7.4)

michalbundyra added a commit that referenced this pull request Nov 13, 2019
Feature: Classes\PropertyBeforeMethod sniff
michalbundyra added a commit that referenced this pull request Nov 13, 2019
Reorder changelog entries so we have:
- traits on top of the class
- constants
- properties
- methods
michalbundyra added a commit that referenced this pull request Nov 13, 2019
@michalbundyra michalbundyra merged commit 956cb53 into develop Nov 13, 2019
@michalbundyra michalbundyra deleted the feature/property-before-method branch November 13, 2019 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant