| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/abyogasms.com/vendor/kirschbaum-development/eloquent-power-joins/ |
Upload File : |
# Agent Guidelines for Eloquent Power Joins ## Commands - **Test**: `composer test` or `vendor/bin/phpunit` - **Single test**: `vendor/bin/phpunit tests/JoinRelationshipTest.php` or `vendor/bin/phpunit --filter test_method_name` - **Test with coverage**: `composer test-coverage` - **Lint**: `composer lint` or `vendor/bin/php-cs-fixer fix -vvv --show-progress=dots --config=.php-cs-fixer.php` ## Code Style - **PHP Version**: 8.2+ - **Framework**: Laravel 11.42+/12.0+ package - **Formatting**: Uses PHP-CS-Fixer with @Symfony rules + custom overrides - **Imports**: Use global namespace imports for classes/constants/functions, ordered alphabetically - **Arrays**: Short syntax `[]`, trailing commas in multiline - **Quotes**: Single quotes preferred - **Test methods**: snake_case naming with `@test` annotation - **Namespaces**: `Kirschbaum\PowerJoins` for src, `Kirschbaum\PowerJoins\Tests` for tests - **Type hints**: Use strict typing, compact nullable syntax `?Type` - **PHPDoc**: Left-aligned, no empty returns, ordered tags - **Variables**: No yoda conditions (`$var === 'value'` not `'value' === $var`)