Skip to content

Replace PHP 8.5.-deprecated usage of PDO::MYSQL_ATTR_SSL_CA #364

@jnoordsij

Description

@jnoordsij

When running a testsuite employing this package on PHP 8.5, every test using the default database.php config will raise a deprecation message:

1) /package/path/vendor/orchestra/testbench-core/laravel/config/database.php:63
Constant PDO::MYSQL_ATTR_SSL_CA is deprecated since 8.5, use Pdo\Mysql::ATTR_SSL_CA instead

Similar to laravel/framework#57141, the easiest resolution would be to employ Symfony polyfilling if symfony/polyfill#547 were to be merged and subsequently released as part of their PHP 8.5 polyfill, to allow for changing towards new constants without impacting backwards compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions