tecnickcom / tc-lib-color

PHP library to manipulate various color representations
Other
23 stars 6 forks source link

Main release for PHP 8.0+ #12

Closed nicolaasuni closed 11 months ago

nicolaasuni commented 11 months ago

Description

This new main version requires PHP 8.0+ Static arrays were converted to constant. Code has been cleaned up to pass phpstan maximum level.

CLAassistant commented 11 months ago

CLA assistant check
All committers have signed the CLA.

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f7a414e) 100.00% compared to head (52362df) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12 +/- ## =========================================== Coverage 100.00% 100.00% + Complexity 161 160 -1 =========================================== Files 9 9 Lines 617 588 -29 =========================================== - Hits 617 588 -29 ``` | [Flag](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | Coverage Δ | | |---|---|---| | [php-5.5-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `?` | | | [php-5.6-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `?` | | | [php-7.1-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `?` | | | [php-7.2-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `?` | | | [php-7.3-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `?` | | | [php-7.4-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `?` | | | [php-8.0-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `100.00% <100.00%> (ø)` | | | [php-8.1-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `100.00% <100.00%> (ø)` | | | [php-8.2-ubuntu-latest](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom) | Coverage Δ | | |---|---|---| | [src/Css.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL0Nzcy5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Model.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL01vZGVsLnBocA==) | `100.00% <100.00%> (ø)` | | | [src/Model/Cmyk.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL01vZGVsL0NteWsucGhw) | `100.00% <100.00%> (ø)` | | | [src/Model/Gray.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL01vZGVsL0dyYXkucGhw) | `100.00% <100.00%> (ø)` | | | [src/Model/Hsl.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL01vZGVsL0hzbC5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Model/Rgb.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL01vZGVsL1JnYi5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Pdf.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL1BkZi5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Spot.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL1Nwb3QucGhw) | `100.00% <100.00%> (ø)` | | | [src/Web.php](https://app.codecov.io/gh/tecnickcom/tc-lib-color/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tecnickcom#diff-c3JjL1dlYi5waHA=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.