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

contao / manager-plugin / 110
72%

Build:
DEFAULT BRANCH: develop
Ran 15 Dec 2017 10:27AM UTC
Jobs 1
Files 22
Run time 1s
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
110

push

travis-ci

web-flow
Store the current plugins in the PluginLoader class (see #9)

Description
-----------

This implementation stores the current plugins inside the `PluginLoader` class, similar to [ocramius/package-versions](https://github.com/ocramius/PackageVersions).

There are multiple major advantages to that:
 1. The `PluginLoader` no longer needs to be initialized by "guessing" the position of the `installed.json`
 2. There will no longer be a `bundles.map` file in the cache that needs to be rebuild on every container build
 3. The `PluginLoader` becomes independent of the kernel, which means the `contao-api` can also use plugins to perform functionality
 4. Making `contao/manager-plugin` a Composer plugin enables use to add composer-related event handling in the future without needing to add command to the root composer.json (e.g. https://github.com/contao/core-bundle/issues/1223)

There is only one disadvantage I can find: Because the file is overwritten, Composer will complain about git differences on a develop version.

@contao/developers please give your general opinion so I can finish this (unit tests etc.)

Commits
-------

23fbfdfc Dump the PluginLoader from Composer information
c677af58 Can't var_export class instances to a private variable.
cef114ae Fixed PluginLoader namespace
be21942c Enabled plugin existance check
9914932f Dump the class name from string
a91a5cbc Add full namespace to exported classes
761f5dc9 Store disabled packages in the root composer.json
a8e45124 Use serialize/unserialize to store plugins
e3f7c0b0 CS
844d0c7a Dynamically set the date in copyright header
65fd0e4f Fix the coding style.
8f614a92 Make Symfony 3.3 the minimum requirement (Contao 4.3 does not support Symfony <3.3).

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

204 of 282 relevant lines covered (72.34%)

4.52 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
100.0
src/Composer/Plugin.php
62
100.0
src/Composer/Installer.php

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/PluginLoader.php
Jobs
ID Job ID Ran Files Coverage
5 110.5 (COVERAGE='--coverage-clover build/logs/clover.xml') 15 Dec 2017 10:27AM UTC 0
72.34
Travis Job 110.5
Source Files on build 110
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #110
  • c25db251 on github
  • Prev Build on develop (#87)
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