Skip to content

Commit

Permalink
Switch to MW CS
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Jan 22, 2021
1 parent 2339613 commit 8a0790f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ build/
vendor/

composer.phar
composer.lock
composer.lock

.phpunit.result.cache
12 changes: 4 additions & 8 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/wikibase/wikibase-codesniffer/Wikibase">
<exclude name="Generic.Arrays.DisallowLongArraySyntax" />
</rule>
<file>src/</file>
<file>tests/</file>

<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="106" />
</properties>
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="Generic.Files.LineLength.MaxExceeded" />
</rule>

<file>.</file>
</ruleset>
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ for the [Maps](https://github.com/JeroenDeDauw/Maps) and

## Release notes

### 1.0.0 (2021-01-22)



### 0.1.3 (2018-08-02)

* Made component installable with DataValues 2.x
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"wikibase/wikibase-codesniffer": "1.2.0"
"mediawiki/mediawiki-codesniffer": "^34"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
strict="true"
verbose="true">
<testsuites>
<testsuite name="DataValuesValidators">
Expand Down

0 comments on commit 8a0790f

Please sign in to comment.