Adopt reusable CI standard + PHPUnit conversion (#22)

Squash-merge of PR #22: adopt shared reusable CI workflow, convert PHPUnit to stubs, update branch-protection contexts.

QA-approved at 05d8094a1d. All required CI checks green.

Agent-Session: 2026-06-17-prcore-ci-deploy
This commit is contained in:
peptiderepo
2026-06-17 01:12:00 +07:00
committed by GitHub
parent d0b5875fd8
commit 665d7fa9e1
72 changed files with 4604 additions and 1212 deletions

View File

@@ -1,4 +1,10 @@
<?php
/**
* Part of the Peptide Repo Core plugin.
*
* @package Peptide_Repo_Core
*/
/**
* Related posts card template part.
*
@@ -12,7 +18,7 @@ if ( ! isset( $args['post'] ) ) {
return;
}
$post = $args['post'];
$post = $args['post']; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
?>
<article class="pr-related-posts__card">
<?php
@@ -24,11 +30,11 @@ $post = $args['post'];
get_the_post_thumbnail(
$post,
'post-thumbnail',
[
array(
'class' => 'pr-related-posts__image-element',
'loading' => 'lazy',
'decoding' => 'async',
]
)
)
);
?>