Thomas Lamy
Thomas Lamy
In a Symfony 3.4 project with PHP7.1, i get type hint warnings for methods not under my control - in this case overridden methods or implementations of abstract methods from...
| Q | A | --------------------| --------------- | PHPUnit version | 9.3.8 | PHP version | 7.4.8 | Installation Method | Composer #### Summary When running phpunit in a more...
```php interface BankIdInterface extends Stringable { public function getBic(): string; } … $bankId = $targetAccount->getBankId(); // returns BankIdInterface|null if($bankId?->getBic() !== null) { …doSomething(); } ```  Even though `getBic()` always...
We recently updated from 8.2.7-fpm to 8.2.8-fpm, where base system changed from bullseye to bookworm. After a bit fiddling to re-enable blowfish encryption in OpenSSL 3, I noticed heavily increased...
We use a custom DIC in our projects, and also provide an abstract PHPUnit TestCase that automatically mocks constructor dependencies for units under test. To access these auto mocks we...