Skip to content

Commit

Permalink
build: Update mediawiki/codesniffer to 37.0.0
Browse files Browse the repository at this point in the history
Change-Id: If904e846fb1a66586dd36d4a79272d10171a0175
  • Loading branch information
Alexander Vorwerk authored and WMDE bot committed Dec 22, 2021
1 parent 07a9738 commit ff2f4a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"data-values/geo": ">=1.0 <4.0",
"data-values/number": ">=0.1 <0.10",
"data-values/time": ">=0.1 <0.9",
"mediawiki/mediawiki-codesniffer": "34.0.0"
"mediawiki/mediawiki-codesniffer": "37.0.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/Deserializers/EntityDeserializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private function getStubLegacyDeserializer() {

$legacyDeserializer->expects( $this->any() )
->method( 'isDeserializerFor' )
->will( $this->returnCallback( function( $serialization ) {
->will( $this->returnCallback( static function( $serialization ) {
return array_key_exists( 'entity', $serialization );
} ) );

Expand All @@ -54,7 +54,7 @@ private function getStubCurrentDeserializer() {

$currentDeserializer->expects( $this->any() )
->method( 'isDeserializerFor' )
->will( $this->returnCallback( function( $serialization ) {
->will( $this->returnCallback( static function( $serialization ) {
return array_key_exists( 'id', $serialization );
} ) );

Expand Down

0 comments on commit ff2f4a0

Please sign in to comment.