Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
harunbleech committed Oct 29, 2024
1 parent 2256927 commit 8188381
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/test-run-success/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
],
];

mt_srand( $data['run']->id );
mt_srand( $data['run']->id ); // phpcs:ignore WordPress.WP.AlternativeFunctions.rand_seeding_mt_srand -- It's ok.
$random_quote = $quotes[ array_rand( $quotes ) ];

?>
Expand Down
2 changes: 1 addition & 1 deletion includes/features/class-onboarding.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function get_onboardings() {
],
[
'title' => wp_kses_post( __( '⏰ Daily Tests & Pro Automations', 'visual-regression-tests' ) ),
'description' => wp_kses_post( __( "The <strong>Daily Test Run</strong> captures screenshots of your <strong>test pages</strong> and performs <strong>side-by-side comparisons</strong> to instantly spot changes.<br><br><strong>Upgrade to Pro</strong> to automate Tests for WordPress and plugin updates, integrate deployment pipelines, and run <strong>Manual Tests</strong> on demand.", 'visual-regression-tests' ) ),
'description' => wp_kses_post( __( 'The <strong>Daily Test Run</strong> captures screenshots of your <strong>test pages</strong> and performs <strong>side-by-side comparisons</strong> to instantly spot changes.<br><br><strong>Upgrade to Pro</strong> to automate Tests for WordPress and plugin updates, integrate deployment pipelines, and run <strong>Manual Tests</strong> on demand.', 'visual-regression-tests' ) ),
],
[
'side' => 'right',
Expand Down
2 changes: 1 addition & 1 deletion includes/features/class-test-runs-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ public function __construct() {
add_action( 'admin_menu', [ $this, 'add_submenu_page' ] );
add_action( 'admin_body_class', [ $this, 'add_body_class' ] );


}

/**
* Remove admin notices.
*/
public function remove_admin_notices() {
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce verification is not required here.
if ( isset( $_GET['page'] ) && 'vrts-runs' === $_GET['page'] && isset( $_GET['run_id'] ) ) {
remove_all_actions( 'admin_notices' );
}
Expand Down

0 comments on commit 8188381

Please sign in to comment.