You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, I love the new extension detection in 1.8.0! ❤️ I discovered extensions in composer.json that I wasn't using.
However, it now flags ext-pdo_sqlite and ext-pdo_mysql as being unused, when they are clearly used in code such as:
$pdo = new PDO('sqlite::memory:')
I understand that this will be hard to detect precisely, so maybe error reporting on ext-pdo_* should be excluded entirely? Errors on ext-pdo work fine.
The text was updated successfully, but these errors were encountered:
Currently, the analysis relies solely on used symbols in your codebase. PDO class belongs to ext-pdo. Looks like no ext-pdo_xxx has any dedicated symbols, so those will probably always be reported as unused.
I'll consider marking those as used when ext-pdo is used.
First, I love the new extension detection in 1.8.0! ❤️ I discovered extensions in
composer.json
that I wasn't using.However, it now flags
ext-pdo_sqlite
andext-pdo_mysql
as being unused, when they are clearly used in code such as:I understand that this will be hard to detect precisely, so maybe error reporting on
ext-pdo_*
should be excluded entirely? Errors onext-pdo
work fine.The text was updated successfully, but these errors were encountered: