Skip to content

Commit

Permalink
Suppress a phan complain.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymitr committed May 7, 2024
1 parent 79414c8 commit 7afe9c0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ function () {
set_current_screen( 'front' );

// Mock `Jetpack_Google_Analytics_Legacy` instance to disable the constructor class.
// @phan-suppress-next-line PhanDeprecatedFunction -- Conflict between PHPUnit versions, will replace with `anyMethods()` later on.
$instance = $this->getMockBuilder( Legacy::class )
->onlyMethods( array() )
->setMethods( null )
->disableOriginalConstructor()
->getMock();

Expand Down

0 comments on commit 7afe9c0

Please sign in to comment.