mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-12 09:18:59 +00:00
49c4cb4d42
Introduced PHPCS check in CI - using same configuration as in MobileFrontend. Additionally fixed wrong code style. Change-Id: I0c879553d355c2a277fcc4349a93e85c65eb2291
17 lines
520 B
XML
17 lines
520 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="utf8"/>
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
|
|
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
|
<properties>
|
|
<property name="equalsSpacing" value="1" />
|
|
<property name="requiredSpacesAfterOpen" value="1"/>
|
|
<property name="requiredSpacesBeforeClose" value="1" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|