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

Apply for standard abstract/final/static positioning #139

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Mar 16, 2021

Not defined by moodle coding standard, hence not contradicting it,
let's apply fallback to PSR-12:

https://www.php-fig.org/psr/psr-12/#46-abstract-final-and-static

Using the PSR-12 Sniff and covered by tests.

Fixes #138

Not defined by moodle coding standard, hence not contradicting it,
let's apply fallback to PSR-12:

https://www.php-fig.org/psr/psr-12/#46-abstract-final-and-static

Using the PSR-12 Sniff (PSR-2) and covered by tests.

Fixes moodlehq#138
@andrewnicols andrewnicols merged commit 86c7a01 into moodlehq:master Mar 17, 2021
@stronk7 stronk7 deleted the methods_declaration branch March 17, 2021 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enforce order for 'abstract', 'final' and 'static' declarations
2 participants