diff --git a/src/facades/wordpress.php b/src/facades/wordpress.php index b5897b1..5bee96b 100644 --- a/src/facades/wordpress.php +++ b/src/facades/wordpress.php @@ -47,7 +47,7 @@ function whip_wp_check_versions( $requirements ) { /** * Fires during hooks registration for the message presenter. * - * @param \Whip_WPMessagePresenter $presenter Message presenter instance. + * @param Whip_WPMessagePresenter $presenter Message presenter instance. */ do_action( 'whip_register_hooks', $presenter ); } diff --git a/src/presenters/Whip_WPMessagePresenter.php b/src/presenters/Whip_WPMessagePresenter.php index cd87f1a..53dbb22 100644 --- a/src/presenters/Whip_WPMessagePresenter.php +++ b/src/presenters/Whip_WPMessagePresenter.php @@ -62,6 +62,7 @@ public function registerHooks() { * @codeCoverageIgnore * * @return void + * * @phpcs:disable Generic.NamingConventions.CamelCapsFunctionName */ public function register_hooks() { diff --git a/tests/Unit/ConfigurationTest.php b/tests/Unit/ConfigurationTest.php index f78e060..644ab60 100644 --- a/tests/Unit/ConfigurationTest.php +++ b/tests/Unit/ConfigurationTest.php @@ -19,7 +19,7 @@ final class ConfigurationTest extends TestCase { public function testItThrowsAnErrorIfAFaultyConfigurationIsPassed() { $this->expectExceptionHelper( 'Whip_InvalidType', 'Configuration should be of type array. Found string.' ); - $configuration = new Whip_Configuration( 'Invalid configuration' ); + new Whip_Configuration( 'Invalid configuration' ); } /**