Add comprehensive GitHub Copilot instructions for verifactu-php development#19
Merged
Add comprehensive GitHub Copilot instructions for verifactu-php development#19
Conversation
Copilot
AI
changed the title
[WIP] ✨Set up Copilot instructions
Add comprehensive GitHub Copilot instructions for verifactu-php development
Aug 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 detailed guidance for GitHub Copilot agents working with the verifactu-php repository. The instructions enable efficient development by providing validated commands, timing expectations, and common troubleshooting solutions.Key Features
Bootstrap and Build Process:
composer install --no-interactioncommand (handles GitHub authentication issues automatically)vendor/bin/phpunit(19 tests, 79 assertions, completes in <1 second)Manual Validation Scenarios:
InvoiceType::STANDARD->valuereturns 'F1')Developer Efficiency Features:
Comprehensive Coverage:
The instructions start with the required firm directive to always reference them first and include explicit "NEVER CANCEL" warnings with specific timeout values for all time-consuming operations. All commands have been exhaustively validated to work correctly in a clean environment.
Fixes #18.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/Bacon/BaconQrCode/zipball/f9cc1f52b5a463062251d666761178dbdb6b544f/usr/bin/php8.3 -n -c /tmp/70iEgu /usr/bin/composer install(http block)/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/DASPRiD/Enum/zipball/8dfd07c6d2cf31c8da90c53b83c026c7696dda90/usr/bin/php8.3 -n -c /tmp/70iEgu /usr/bin/composer install(http block)/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/nikic/PHP-Parser/zipball/221b0d0fdf1369c71047ad1d18bb5880017bbc56/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/phar-io/manifest/zipball/65f90285728eae4eae313b8b6ba11b2f5436038e/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/robrichards/xmlseclibs/zipball/2bdfd742624d739dfadbd415f00181b4a77aaf07/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/43555f004c573197336c8c6b9ce19963b1a2cc85/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/9f7c12369107fdb7a91016bf88f27d39872a88ea/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/code-unit/zipball/807b5e65ab7b7b16e1928d924c7973aa451fa295/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/comparator/zipball/15e9d195d74d6ac096e41fd71b1129826bdedfd8/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/complexity/zipball/d7aae9bc46aa256c13b85ef0fb83b98663af2624/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/diff/zipball/5dd4ecb3f4313473be54fa891baa375ce5e36995/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/environment/zipball/e596c27bcbafc7cb018c3a146777ed1d1bd95e71/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/exporter/zipball/29b714474c4beaf8c0abc9ea574fae0c3189fa64/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/global-state/zipball/0d3666f55321ef07ba86b187998e160ad8801735/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/423a753a919376ef7de1b6d57d4e25622faf7a64/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/d8bd7ec3598ee22d95317e91ef01bf6b445ffb08/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/3049b23e8859861c3d1c9d640f4a69e16f48d628/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/89e694721a7721fccf4cc665dd3d75049984e97a/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a0b641ac6e8afac78b8624153ebf4ff5c3a77e7b/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/494f140a724e216ebfbd2d54fd7726bd528cce6b/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/d1073a6d469e281ee63941813ffd1f349fc54c2f/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2896254767919e310fc03754d3038e7fc7d137bf/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a858178a64d88653e94ece15b25a860d48a4644b/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/47e34210757a2f37a97dcd207d032e1b01e64c7a/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/type/zipball/3d153476a10dd4400cfb3c002349a4fdde7f51a8/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/sebastianbergmann/version/zipball/c5fabb0aad24a981c59b16921ba86e36f6d2b4eb/usr/bin/php8.3 -n -c /tmp/fdrKSq /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2/usr/bin/php8.3 -n -c /tmp/2liNIV /usr/bin/composer install --no-interaction(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.