Add comprehensive GitHub Copilot instructions for parser-reflection repository #150
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a comprehensive
.github/copilot-instructions.mdfile that provides GitHub Copilot coding agents with detailed instructions for working effectively in the parser-reflection repository.What's Included
The instructions provide complete guidance for:
Build Process with Validated Commands:
Critical Build Issues Addressed:
composer installto failcomposer install --prefer-source --no-interactionDevelopment Workflow:
vendor/bin/phpunit- 10,579 tests in ~6 seconds)Repository Context:
Troubleshooting Guide:
Validation
Every command in the instructions has been tested and validated:
The instructions follow the imperative tone requirement and prioritize working commands over verbose explanations, ensuring agents can copy-paste commands that work reliably every time.
Fixes #149.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/nikic/PHP-Parser/zipball/f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2/usr/bin/php8.3 -n -c /tmp/pLBE8m /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/sebastianbergmann/diff/zipball/b4ccd857127db5d41a5b676f24b51371d76d8544/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/exporter/zipball/3473f61172093b2da7de1fb5782e1f24cc036dc3/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/global-state/zipball/3be331570a721f9a4b5917f4209773de17f747d7/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f5b498e631a74204185071eb41f33f38d64608aa/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/6e1a43b411b2ad34146dee7524cb13a068bb35f9/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f6458abbf32a6c8174f8f26261475dc133b3d9dc/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/type/zipball/f77d2d4e78738c98d9a68d2596fe5e8fa380f449/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/sebastianbergmann/version/zipball/c687e3387b99f5b03b6caa64c74b63e2936ff874/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/staabm/side-effects-detector/zipball/d8334211a140ce329c13726d4a715adbddd0a163/usr/bin/php8.3 -n -c /tmp/TsiH9l /usr/bin/composer install --no-interaction --no-progress(http block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.