Skip to content

[BUG] PhpImap is not compatible with PHP8.4 #731

Open
@genyslt

Description

@genyslt

Environment (please complete the following information):

  • PHP IMAP version: 5.0.1
  • PHP Version: 8.4.5

Describe the bug
PhpImap\Mailbox::__construct(): Implicitly marking parameter $attachmentsDir as nullable is deprecated, the explicit nullable type must be used instead

To Reproduce
PHPSTAN

The used code:

$mailbox =  new Mailbox(
			$connection_strin,
			$username,
			$password,
			$attachmentsDir
		);

PhpImap\Mailbox::__construct(): Implicitly marking parameter $attachmentsDir as nullable is deprecated, the explicit nullable type must be used instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs investigationThis will be tested / debugged or checked out.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions