Skip to content

Commit c7e8fcd

Browse files
MatmaRexWMDE bot
authored andcommitted
Swap deprecated @codingStandardsIgnore... to phpcs:...
Bug: T278594 Change-Id: Ie309acbd06c018a24c3aff2e9e903a3434a52efc
1 parent a7bdb4e commit c7e8fcd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/unit/Snak/DerivedPropertyValueSnakTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ public function testHashStability() {
8787
);
8888
$hash = $snak->getHash();
8989

90-
// @codingStandardsIgnoreStart
90+
// phpcs:ignore
9191
$expected = sha1( 'C:48:"Wikibase\DataModel\Snak\DerivedPropertyValueSnak":58:{a:2:{i:0;s:2:"P1";i:1;C:22:"DataValues\StringValue":1:{a}}}' );
92-
// @codingStandardsIgnoreEnd
9392
$this->assertSame( $expected, $hash );
9493
}
9594

tests/unit/Snak/PropertyValueSnakTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ public function testHashStability() {
8686
$snak = new PropertyValueSnak( new NumericPropertyId( 'P1' ), new StringValue( 'a' ) );
8787
$hash = $snak->getHash();
8888

89-
// @codingStandardsIgnoreStart
89+
// phpcs:ignore
9090
$expected = sha1( 'C:41:"Wikibase\DataModel\Snak\PropertyValueSnak":58:{a:2:{i:0;s:2:"P1";i:1;C:22:"DataValues\StringValue":1:{a}}}' );
91-
// @codingStandardsIgnoreEnd
9291
$this->assertSame( $expected, $hash );
9392
}
9493

0 commit comments

Comments
 (0)