fix(ci): phpcbf auto-format + add missing bootstrap requires for tests
212 PHPCS formatting errors auto-fixed by phpcbf across 18 files. All remaining issues are warnings (exit 2), not errors — CI treats exit 2 as success via the same pattern as peptide-news-plugin. Also adds class-psa-ai-content.php and class-psa-directory-api.php to tests/bootstrap.php require list — both files exist in includes/ but were missing from bootstrap, causing 5 PHPUnit "Class not found" failures in AIGeneratorTest and DirectoryTest.
This commit is contained in:
@@ -79,7 +79,7 @@ class PSA_Encryption {
|
||||
}
|
||||
|
||||
// First 16 bytes are the IV.
|
||||
$iv = substr( $data, 0, 16 );
|
||||
$iv = substr( $data, 0, 16 );
|
||||
$encrypted_data = substr( $data, 16 );
|
||||
|
||||
// Decrypt.
|
||||
|
||||
Reference in New Issue
Block a user