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

Conform to MediaWiki coding standards #33

Merged
merged 5 commits into from
Sep 14, 2016
Merged

Conversation

samwilson
Copy link
Member

This change introduces phpcs as a Composer script and as part of
the Travis tests, and fixes the machine-fixable standards
transgressions.

Refs https://phabricator.wikimedia.org/T145482

This change introduces phpcs as a Composer script and as part of
the Travis tests, and fixes the machine-fixable standards
transgressions.

Refs https://phabricator.wikimedia.org/T145482
@samwilson
Copy link
Member Author

I've fixed the remaining CS probs.

@samwilson samwilson changed the title Add MediaWiki coding standards, and fix the easy ones Conform to MediaWiki coding standards Sep 13, 2016
@@ -22,5 +27,12 @@
"branch-alias": {
"dev-master": "0.7.x-dev"
}
},
"scripts": {
"csfix": "phpcbf --standard=phpcs.xml",
Copy link

Choose a reason for hiding this comment

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

Please use the standard names (https://github.com/wikimedia/mediawiki-tools-codesniffer#how-to-install). Notably, --standard= should not be necessary.

@legoktm
Copy link

legoktm commented Sep 13, 2016

What's the minimum PHP version that addwiki requires? Is it at least 5.5?

@addshore
Copy link
Member

Yes, the guzzle version used requires 5.5+

@samwilson
Copy link
Member Author

Thanks @legoktm good points, I've fixed it up.

@addshore addshore merged commit f3b94f1 into addwiki:master Sep 14, 2016
addwiki-ci pushed a commit that referenced this pull request Feb 16, 2021
* require-dev: "php-parallel-lint/php-parallel-lint": "^1.2"

Fixes #32

* Fix run-template.php for new parallel-lint

* "php-parallel-lint/php-parallel-lint": "^1.2" Again

* flush before proc_get_status in run-template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants