fix: corrections PHPStan #1-#5 (namespaces, constructeurs, baseline)
This commit is contained in:
@@ -7,6 +7,14 @@ Format : [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/)
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Permissions du fichier `.env` corrigées (`chown cedrix:www-data`) pour que PHP-FPM (`www-data`) puisse le lire (erreur 500)
|
- Permissions du fichier `.env` corrigées (`chown cedrix:www-data`) pour que PHP-FPM (`www-data`) puisse le lire (erreur 500)
|
||||||
|
- PHPStan : namespaces manquants `\PDOException` et `\InvalidArgumentException` dans `UserRepository` (#1)
|
||||||
|
- PHPStan : `UserRepository` instancié sans argument PDO dans `AuthService::changePassword()` (#2)
|
||||||
|
- PHPStan : `MailQueue` et `MailService` injectent désormais un `PDO` directement au lieu d'appeler `Database::getConnection()` inexistante (#3)
|
||||||
|
- PHPStan : bootstrap `phpstan-bootstrap.php` ajouté pour définir `BASE_PATH` lors de l'analyse statique (#4)
|
||||||
|
- PHPStan : comparaison `200 > 0` toujours vraie supprimée dans `MailService` ; `addScope()` reçoit désormais un array dans `auth.php` (#5)
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- Méthode privée inutilisée `UserRepository::nullIfEmpty()` (#1)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Initialisation du dépôt git sur le serveur
|
- Initialisation du dépôt git sur le serveur
|
||||||
|
|||||||
Reference in New Issue
Block a user