• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPOffice / PHPPresentation / 33604005771
94%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2026 07:35AM UTC
Jobs 1
Files 141
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Sep 2026 07:31AM UTC coverage: 93.94% (+0.03%) from 93.915%
33604005771

push

github

web-flow
PowerPoint2007 Reader : Read back the alpha a colour was written with (#961)

`loadStyleColor()` did the arithmetic itself and got it wrong twice. The
`(int)` cast bound to the division rather than the product, so 0.84
became 0 and every alpha but `FF` was read back as none at all; and
`dechex(0)` is one character, so the ARGB came out seven characters long
and the colour lost its first digit to the alpha.

`Color::setAlpha()` already rounds and pads correctly, so the reader
hands it the percent and lets it do the work. It wrote the hex pair in
lower case in front of a colour written in upper case everywhere else,
including the `COLOR_*` constants, so it upper-cases it now.

Every colour in this reader goes through here -- solid, gradient and
pattern fills, outlines, the fill of a chart serie and of its data
points.

Fixes #960

2 of 2 new or added lines in 2 files covered. (100.0%)

10836 of 11535 relevant lines covered (93.94%)

68.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33604005771.1 02 Sep 2026 07:35AM UTC 141
93.94
GitHub Action Run
Source Files on build 33604005771
  • Tree
  • List 141
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 937aa737 on github
  • Prev Build on master (#33431763213)
  • Next Build on master (#33607141208)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc