Skip to content

Deprecated Message Shown by PHP #848

Closed
@hsnfirdaus

Description

@hsnfirdaus

Configuration

  • PhpFastCache version: 8.1.0
  • PhpFastCache API version: 3.0.0
  • PHP version: 8.1.2
  • Operating system: Arch Linux x86_64 (Kernel: 5.16.2-arch1-1)

Describe the bug

Getting this deprecated message:

Deprecated:  Return type of Phpfastcache\Util\ArrayObject::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/htdocs/v2/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Util/ArrayObject.php on line 52

Deprecated:  Return type of Phpfastcache\Drivers\Files\Item::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/htdocs/v2/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Core/Item/ItemExtendedTrait.php on line 339
  • Using Psr16Adapter with files driver

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions