style: auto-fix PHPCS violations via phpcbf

This commit is contained in:
peptiderepo
2026-06-16 15:26:16 +00:00
parent 08d7696444
commit b9158d7dca
45 changed files with 1018 additions and 658 deletions

View File

@@ -20,7 +20,7 @@ class PR_Core_Verification_Display {
* @return void
*/
public static function init(): void {
add_filter( 'the_content', [ __CLASS__, 'append_verification_display' ], 20 );
add_filter( 'the_content', array( __CLASS__, 'append_verification_display' ), 20 );
}
/**
@@ -63,10 +63,10 @@ class PR_Core_Verification_Display {
* @return string HTML block.
*/
private static function render_verification_block( string $last_verified ): string {
$date_obj = new \DateTime( $last_verified );
$date_obj = new \DateTime( $last_verified );
$formatted_date = $date_obj->format( get_option( 'date_format' ) );
$html = '<p class="pr-verification-date">';
$html = '<p class="pr-verification-date">';
$html .= esc_html__( 'Last verified: ', 'peptide-repo-core' );
$html .= sprintf(
'<time datetime="%s">%s</time>',