Skip to content

PHP8.1 Deprecation - Implicit conversion from float to int loses precision #19

@Findus23

Description

@Findus23

Just an early heads-up from beta2:

imageline($this->resource, $pictureX1, $pictureY1, $pictureX2, $pictureY2, $lineColor);

imagefilledellipse(
$this->resource,
$positionX,
$positionY,
$radius * static::DOT_RADIUS_TO_WIDTH,
$radius * static::DOT_RADIUS_TO_WIDTH,
$minimumColor
);

see https://wiki.php.net/rfc/implicit-float-int-deprecate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions