Skip to content

Commit 286890a

Browse files
committed
build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Bug: T278594 Change-Id: I397f53c90afddb8da8cabe33fca5da614dd8f133
1 parent f25d41d commit 286890a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Reader/DBATest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function setUp() : void {
2020
public function testConstructor() {
2121
$this->expectException( Exception::class );
2222
// Silence native error from dba_open()
23-
// @codingStandardsIgnoreLine Generic.PHP.NoSilencedErrors
23+
// phpcs:ignore Generic.PHP.NoSilencedErrors
2424
@new DBA( '/tmp/non-exist' );
2525
}
2626
}

tests/Reader/PHPTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function tearDown() : void {
2929
public function testConstructorOpen() {
3030
$this->expectException( Exception::class );
3131
// Ignore native error from fopen()
32-
// @codingStandardsIgnoreLine Generic.PHP.NoSilencedErrors
32+
// phpcs:ignore Generic.PHP.NoSilencedErrors
3333
@new PHP( '/tmp/non-exist' );
3434
}
3535

0 commit comments

Comments
 (0)