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

phpDocumentor / phpDocumentor2 / 2345 / 6
58%
develop: 58%

Build:
DEFAULT BRANCH: develop
Ran 23 Sep 2018 10:11AM UTC
Files 286
Run time 14s
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

23 Sep 2018 09:52AM UTC coverage: 48.036% (-0.01%) from 48.048%
2345.6

push

travis-ci

mvriel
Simplify configuration

In this change I have taken the first steps to simplify configation management
in phpDocumentor.

With this change I have move the Configuration into an object and that object
in turn into the container. The ConfigurationFactory now can create the default
configuration from either the phpdoc.dist.xml _or_ the phpdoc.xml
(reintroduced).

By moving the configuration into the container we can do various things:

1. Inject the configuration into a service so that it can get to the settings
2. Use Configurators to inject configuration values into depending services
   (see https://symfony.com/doc/current/service_container/configurators.html)
3. Change the configuration and have those changes perpetuated in all locations
   where it is used. This makes it easier to adjust the configuration based on
   command line arguments or a custom defined configuration file.

An additional side effect of moving the configuration into the container is
that caching in the factory is no longer needed, and that various pipeline
stages can be changed into configurators.

2788 of 5804 relevant lines covered (48.04%)

1.19 hits per line

Source Files on job 2345.6
  • Tree
  • List 0
  • Changed 7
  • Source Changed 6
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2267
  • Travis Job 2345.6
  • ade1680c on github
  • Prev Job for on develop (#2343.6)
  • Next Job for on develop (#2346.6)
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