Skip to content

PHP 8.1 support #425

@pszalko

Description

@pszalko

I use bernard with PHP 8.1, and it works, however there are some deprecation issues:

PHP Deprecated:  Return type of Bernard\QueueFactory\PersistentFactory::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /webapps/vendor/bernard/bernard/src/Bernard/QueueFactory/PersistentFactory.php on line 68

Deprecated: Return type of Bernard\QueueFactory\PersistentFactory::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /webapps/vendor/bernard/bernard/src/Bernard/QueueFactory/PersistentFactory.php on line 68
PHP Deprecated:  Return type of Bernard\Queue\PersistentQueue::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /webapps/vendor/bernard/bernard/src/Bernard/Queue/PersistentQueue.php on line 49

Deprecated: Return type of Bernard\Queue\PersistentQueue::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /webapps/vendor/bernard/bernard/src/Bernard/Queue/PersistentQueue.php on line 49

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions