Skip to content

Commit

Permalink
Merge pull request #153 from Yoast/JRF/cs-minor-fixes
Browse files Browse the repository at this point in the history
CS: minor tweaks
  • Loading branch information
jrfnl authored Dec 15, 2023
2 parents 35d9cb9 + 2ce5748 commit 24d458e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/facades/wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down
1 change: 1 addition & 0 deletions src/presenters/Whip_WPMessagePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function registerHooks() {
* @codeCoverageIgnore
*
* @return void
*
* @phpcs:disable Generic.NamingConventions.CamelCapsFunctionName
*/
public function register_hooks() {
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}

/**
Expand Down

0 comments on commit 24d458e

Please sign in to comment.