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

PHPOffice / PHPPresentation / 32891891486
95%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2026 07:54PM 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

25 Aug 2026 07:50PM UTC coverage: 92.805% (+0.2%) from 92.602%
32891891486

push

github

web-flow
ODPresentation Writer : Keep a table cell border that is not a plain line (#907)

* ODPresentation Writer : Keep a table cell border that is not a plain line

`writeTableStyle()` mapped the line style of a cell border through a switch that
knew one case:

    $lineStyle = 'none';
    switch ($cellBorders->getBottom()->getLineStyle()) {
        case Border::LINE_SINGLE:
            $lineStyle = 'solid';
    }

So LINE_DOUBLE, LINE_THICKTHIN, LINE_THINTHICK and LINE_TRI all fell through to
'none' and the border disappeared. The dash style was not consulted at all --
getDashStyle() appears nowhere in the table branch of this writer -- so the ten
dash patterns arrived as an unbroken line.

Measured on two cells, each given only a bottom border: the one asking for
LINE_DOUBLE with DASH_DASH got fo:border-bottom="...none" while the three sides
it never asked for were drawn solid.

ODF takes the CSS2 border styles, which are fewer than the OOXML ones: the
compound lines land on `double` and the dash patterns on `dashed` or `dotted`.
A dash pattern outranks the line style, and LINE_NONE outranks both. Verified
by round-tripping the result through LibreOffice, which keeps all five styles.

The five copies of the switch collapse into getBorderValue() and
getBorderStyle(), so the writer loses more lines than it gains.

* Restore the annotation form of the data provider, which PHPUnit 9 needs

14 of 14 new or added lines in 1 file covered. (100.0%)

10460 of 11271 relevant lines covered (92.8%)

57.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32891891486.1 25 Aug 2026 07:54PM UTC 141
92.8
GitHub Action Run
Source Files on build 32891891486
  • Tree
  • List 141
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0e11e24b on github
  • Prev Build on master (#32845239352)
  • Next Build on master (#32939816605)
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