The deploy workflow references ci.yml as a reusable workflow
via `uses: ./.github/workflows/ci.yml`. Without workflow_call
in the trigger list, GitHub Actions rejects the reference.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rsync over SSH on push to main. Runs CI first, then syncs
production files to wp-content/plugins/peptide-repo-core/
on Hostinger. Includes LiteSpeed cache purge and health check.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Drop PHP 8.0 from matrix — DTOs use readonly properties (8.1+)
- Add composer.json with PHPCS/WPCS as dev dependencies
- Add phpcs.xml.dist for WordPress coding standard config
- Use dealerdirect/phpcodesniffer-composer-installer for auto path setup
- Separate lint jobs: PHP syntax (8.1/8.2/8.3) + PHPCS + file-size
- Update Requires PHP header to 8.1
- Update ARCHITECTURE.md file tree
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PHPCS 4.0.1 was installed first via sequential composer require,
locking the version before WPCS could constrain it. WPCS 3.x
requires PHPCS ^3.x. Fix: install all packages in one command
with --with-all-dependencies and pin PHPCS to ^3.13.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>