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

piwik / component-ini / 37 / 4
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2017 05:01PM UTC
Files 4
Run time 0s
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

18 Jan 2017 04:59PM UTC coverage: 70.673% (-11.7%) from 82.383%
37.4

Pull #5

travis-ci

web-flow
Also propagate the comments

Adding the possibility to also propagate the comments when writing the ini file. Works as follows:

$ini = 'piwik.ini';
$reader = new \Piwik\Ini\IniReader();
$config = $reader->readFile($ini);
$comments = $reader->readComments($ini);
$writer = new \Piwik\Ini\IniWriter();
$writer->writeToFile('piwik-new.ini', $config, '', $comments);

Things that do not work:

1 pre-section comments disappear:
  ; section comment
  [MySection]
  ; option comment
  myOption = 1

becomes
  [MySection]
  ; option comment
  myOption = 1

2 Individual array comments disappear:
  [MySection]
  ; comment a
  ar[] = "a"
  ; comment b
  ar[] = "b"
  ; comment c
  ar[] = "c"

becomes
  [MySection]
  ; comment a
  ar[] = "a"
  ar[] = "b"
  ar[] = "c"
Pull Request #5: Also propagate the comments

147 of 208 relevant lines covered (70.67%)

4.44 hits per line

Source Files on job 37.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 37
  • Travis Job 37.4
  • f67aae10 on github
  • Prev Job for on master (#35.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc