fix: resolve PHPCS coding standard violations for CI
- Convert all PHP files from CRLF to LF line endings - Reformat multi-line function calls per WPCS standard (opening paren last on line, closing paren on own line) - Fix assignment-in-conditional in single-peptide.php - Change double quotes to single quotes in content-none.php - Exclude InvalidClassFileName sniff (standard WP functions.php pattern) - Fix archive-peptide.php opening PHP tag placement Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
18
header.php
18
header.php
@@ -29,14 +29,16 @@
|
||||
<!-- Primary Navigation -->
|
||||
<nav class="primary-navigation">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'primary',
|
||||
'fallback_cb' => 'peptide_starter_primary_menu_fallback',
|
||||
'walker' => new Peptide_Starter_Nav_Walker(),
|
||||
'depth' => 2,
|
||||
'container' => false,
|
||||
'items_wrap' => '<ul>%3$s</ul>',
|
||||
) );
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'primary',
|
||||
'fallback_cb' => 'peptide_starter_primary_menu_fallback',
|
||||
'walker' => new Peptide_Starter_Nav_Walker(),
|
||||
'depth' => 2,
|
||||
'container' => false,
|
||||
'items_wrap' => '<ul>%3$s</ul>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user