Skip to content

Commit 8af6678

Browse files
Merge pull request #803 from wmde/phpCsUpdate
Update Wikibase PHPCS rule set to latest release
2 parents 0e4b684 + 70d5ebd commit 8af6678

95 files changed

Lines changed: 95 additions & 95 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ockcyp/covers-validator": "~0.5.0",
3232
"phpmd/phpmd": "~2.6",
3333
"phpunit/phpunit": "~5.7",
34-
"wikibase/wikibase-codesniffer": "^0.3.0"
34+
"wikibase/wikibase-codesniffer": "^0.5.0"
3535
},
3636
"autoload": {
3737
"psr-4": {

src/Assert/RepositoryNameAssert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @since 6.3
1616
*
17-
* @license GPL-2.0+
17+
* @license GPL-2.0-or-later
1818
*/
1919
class RepositoryNameAssert {
2020

src/ByPropertyIdArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* @since 0.2
4242
* @deprecated since 5.0, use a DataModel Service instead
4343
*
44-
* @license GPL-2.0+
44+
* @license GPL-2.0-or-later
4545
* @author H. Snater < mediawiki@snater.com >
4646
*/
4747
class ByPropertyIdArray extends ArrayObject {

src/Entity/BasicEntityIdParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @since 4.2
99
*
10-
* @license GPL-2.0+
10+
* @license GPL-2.0-or-later
1111
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
1212
*/
1313
class BasicEntityIdParser implements EntityIdParser {

src/Entity/ClearableEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @since 7.5
99
*
10-
* @license GPL-2.0+
10+
* @license GPL-2.0-or-later
1111
*/
1212
interface ClearableEntity {
1313

src/Entity/DispatchingEntityIdParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @since 4.2
99
*
10-
* @license GPL-2.0+
10+
* @license GPL-2.0-or-later
1111
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
1212
*/
1313
class DispatchingEntityIdParser implements EntityIdParser {

src/Entity/EntityDocument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* @since 0.8.2
1313
*
14-
* @license GPL-2.0+
14+
* @license GPL-2.0-or-later
1515
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
1616
* @author Bene* < benestar.wikimedia@gmail.com >
1717
*/

src/Entity/EntityId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @since 0.5
1111
* Abstract since 2.0
1212
*
13-
* @license GPL-2.0+
13+
* @license GPL-2.0-or-later
1414
*/
1515
abstract class EntityId implements Comparable, Serializable {
1616

src/Entity/EntityIdParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @since 4.2
99
*
10-
* @license GPL-2.0+
10+
* @license GPL-2.0-or-later
1111
* @author Addshore
1212
*/
1313
interface EntityIdParser {

src/Entity/EntityIdParsingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @since 4.2
99
*
10-
* @license GPL-2.0+
10+
* @license GPL-2.0-or-later
1111
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
1212
*/
1313
class EntityIdParsingException extends RuntimeException {

0 commit comments

Comments
 (0)