Skip to content

Cannot assign null to property Nette\Caching\Storages\SQLiteJournal::$pdo of type PDO when running tests #37

Description

@Snooker147

Hello,

after upgrading to the newest version of Nette caching library and running codeception tests I now get the following error:
Cannot assign null to property Nette\Caching\Storages\SQLiteJournal::$pdo of type PDO right after the tests are finished.

This looks to be an issue with the latest Nette\Caching commit here which does no longer allow the $pdo property to be nullable.

Detailed error stacktrace:
image

I switched to a prior version without that commit (Nette\Caching v3.1.4) and the error no longer appears. Can we get this fixed please, so that we can use the newest Nette\Caching version?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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