Skip to content

Deprecation Notice: Return type of ...  #14

@bigperson

Description

@bigperson

php 8.1

Deprecation Notice: Return type of TheCodingMachine\Discovery\Asset::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/thecodingmachine/discovery/src/Asset.php:96
Deprecation Notice: Return type of TheCodingMachine\Discovery\AssetType::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/thecodingmachine/discovery/src/AssetType.php:144
Deprecation Notice: Implicit conversion from float 3.5 to int loses precision in /var/www/html/vendor/thecodingmachine/discovery/src/AssetType.php:79
Deprecation Notice: Implicit conversion from float 3.5 to int loses precision in /var/www/html/vendor/thecodingmachine/discovery/src/AssetType.php:80
Deprecation Notice: Implicit conversion from float 1.5 to int loses precision in /var/www/html/vendor/thecodingmachine/discovery/src/AssetType.php:79
Deprecation Notice: Implicit conversion from float 1.5 to int loses precision in /var/www/html/vendor/thecodingmachine/discovery/src/AssetType.php:80

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