Thomas Lamy

Results 5 issues of 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...

bug / false-positive

| Q | A | --------------------| --------------- | PHPUnit version | 9.3.8 | PHP version | 7.4.8 | Installation Method | Composer #### Summary When running phpunit in a more...

type/enhancement
feature/test-runner
feature/code-coverage

```php interface BankIdInterface extends Stringable { public function getBic(): string; } … $bankId = $targetAccount->getBankId(); // returns BankIdInterface|null if($bankId?->getBic() !== null) { …doSomething(); } ``` ![image](https://github.com/kalessil/phpinspectionsea/assets/1841537/7d30b13f-bdb0-4493-acf8-bf6843c18542) 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...