mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-07 20:11:07 -05:00
Not stable yet, but initial structure https://agents.md https://agentskills.io/specification https://code.visualstudio.com/docs/copilot/customization/custom-instructions https://code.visualstudio.com/docs/copilot/customization/agent-skills
948 B
948 B
applyTo, description
| applyTo | description |
|---|---|
| **/*.php | Editing PHP files |
PHP files
- See minimum PHP version and available PHP extensions in
composer.json - Obey formatting rules defined in
phpcs.xml - Automatic fixes can be done with:
composer run-script fix # or (targeting more than just PHP) make fix-all - Validation can be done with:
composer test # or (targeting more than just PHP) make test-all - Check
composer.jsonscripts for details about available individual commands. - For instance, running a single unit test can be done with:
composer run-script phpunit -- tests/app/Models/SearchTest.php
Autoloader
spl_autoload_registeris defined inlib/lib_rss.php
Minimal example:
require dirname(__DIR__) . '/constants.php';
require LIB_PATH . '/lib_rss.php'; //Includes class autoloader