MAXakaWIZARD/xls-writer

View on GitHub
src/Palette.php

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

        if (($red < 0 || $red > 255)
            || ($green < 0 || $green > 255)
            || ($blue < 0 || $blue > 255)
        ) {
            throw new \Exception("Color component outside range: 0 <= color <= 255");
Severity: Major
Found in src/Palette.php - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status