Commit Graph

3 Commits

Author SHA1 Message Date
sam ab4f2cb403 Fixe composer.lock pour PHP 8.2 (platform pin)
CI - Intégration continue / quality-and-tests (push) Successful in 3m14s
CD - Déploiement continu / deploy (push) Successful in 3m3s
Le lock verrouillait des paquets exigeant PHP 8.4 (grumphp -> doctrine/
collections 3, symfony 8.1), incompatibles avec l'environnement PHP 8.2
(Dockerfile, CI). Ajout de config.platform.php=8.2.32 + régénération du
lock : composer install repasse sur PHP 8.2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 14:13:27 +02:00
Azmog 1e6557729f feat: add HasCompositePrimaryKey trait for composite primary key support
CD - Déploiement continu / deploy (push) Successful in 3m7s
CI - Intégration continue / quality-and-tests (push) Failing after 2m30s
- Introduced a new trait `HasCompositePrimaryKey` to enable Eloquent models to handle composite primary keys, which are not supported natively by Eloquent. The trait requires models to implement a method to define the composite key columns and manages key retrieval for save and select queries.

chore: add GrumPHP configuration for pre-commit checks

- Added a `grumphp.yml` configuration file to enforce code style and static analysis checks before commits. This setup includes Laravel Pint for code style and Larastan for static analysis, ensuring code quality and consistency.

chore: create PHPStan configuration file

- Created a `phpstan.neon` file to configure PHPStan with Larastan for static analysis. The configuration specifies the paths to analyze and sets the analysis level to 5 for a balance between catching bugs and avoiding excessive strictness.
2026-07-06 12:06:54 +02:00
sam 97ed7a5fa8 refonte du site 2026-03-23 21:47:00 +01:00