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

phpDocumentor / phpDocumentor2 / 2345
58%

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

pending completion
2345

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

Jobs
ID Job ID Ran Files Coverage
6 2345.6 23 Sep 2018 10:10AM UTC 0
48.04
Travis Job 2345.6
Source Files on build 2345
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2345
  • ade1680c on github
  • Prev Build on develop (#2343)
  • Next Build on develop (#2346)
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