phpcq/runner-bootstrap
Bootstrap package for phpcq/runner. Provides the minimal runtime setup to start the runner reliably in different environments, handling initial configuration and wiring so tools can execute consistently in CI and local setups.
phpcq (PHP Code Quality) as a plugin, aligning well with modern PHP ecosystems that rely on dependency management. This reduces manual setup and versioning complexity.phpcq without reinventing the wheel.phpcq) is simple, but deeper customization (e.g., rule configuration, reporting) may require additional tooling.require in composer.json. No complex build steps or runtime dependencies beyond PHP.phpcq may have version constraints (e.g., PHP 8.x). Verify compatibility with the target PHP stack.phpcq likely relies on other tools (e.g., PHPStan, Psalm, PHPMD). Ensure these are already in the stack or can be added without conflicts.phpcq or its dependencies evolve, the package may lag behind. Direct integration (e.g., Dockerizing phpcq) could mitigate this.phpcq rules be defined and maintained (e.g., per-project vs. global)?phpcq installation be more maintainable?roave/security-advisories, dealerdirect/phpcodesniffer-composer-installer)?composer install/update pipelines.composer run-script) or CI step (e.g., GitHub Actions, GitLab CI).composer.json as a dev dependency:
"require-dev": {
"phpcq/runner-bootstrap": "^1.0"
}
phpcq rules in a .phpcq.yml or via CLI args (e.g., --ruleset).phpcq output to a custom script)."scripts": {
"phpcq": "phpcq run"
}
if [ $? -ne 0 ]; then exit 1; fi).^2.0).pcntl for parallel analysis) are available.phpstan/extension-installer).composer why-not to debug dependency conflicts.phpcq globally or via Docker if Composer plugin fails.phpcq issues.composer.json and run composer update.composer phpcq.composer run phpcq:custom).phpcq for isolated environments.phpcq and its dependencies for security/bugfix updates. Use composer why to trace updates.composer.json for stability:
"phpcq/runner-bootstrap": "1.0.0"
phpcq rule configurations in a CONTRIBUTING.md or wiki.CODE_QUALITY_OWNERS file).phpcq internals due to the package’s simplicity. Prepare for:
composer show phpcq/runner-bootstrap for version info.phpcq issue trackers.phpcq may slow down builds. Mitigate with:
.phpcq.cache)..phpcq.yml).phpcq as a parallel job to avoid blocking other tests.composer run-script with --no-dev flag for faster iterations.| Failure Scenario | Impact | Mitigation |
|---|---|---|
phpcq installation fails |
Builds break | Fallback to manual phpcq install or Docker. |
| Rule conflicts with existing tools | False positives/negatives | Audit rules pre-integration; suppress overlaps. |
| High memory usage | CI timeouts | Optimize rule sets; increase CI resource limits. |
| Package abandonment | Unmaintained tooling | Fork or replace with alternatives (e.g., phpstan/extension-installer). |
| PHP version incompatibility | Runtime errors | Test on target PHP versions early. |
composer phpcq to check code quality").phpcq usage in PRs/MRs (e.g., via CI logs).How can I help you explore Laravel packages today?