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

zendframework / zend-mvc / 102
87%
master: 36%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 08 Oct 2015 04:42PM UTC
Jobs 1
Files 144
Run time 5s
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
102

Pull #36

travis-ci

weierophinney
Refactored to work with zend-servicemanager v3

- All factories implementing `FactoryInterface` and/or
  `AbstractFactoryInterface` were updated to the new interface signatures.

- All plugin managers were updated to the new `AbstractPluginManager` changes.
  Whenever possible, they were rewritten to remove invokables and instead define
  factories and/or aliases.

- Added the `RouteInvokableFactory`, which acts both as a specialized invokable
  factory for route implementations (as they use a `::factory()` method for
  initialization vs a constructor), and an abstract factory for handling FQCN
  route names. The `RoutePluginManager` composes this abstract factory by
  default.

- `Application::init` was updated to pull the fully configured service manager
  from the `ServiceListener` after loading modules.

- The `DispatchListener` now receives its controller manager instance during
  instantiation.

- Separated router factory into 3:

  - `ConsoleRouterFactory` will create a console router
  - `HttpRouterFactory` will create an HTTP router
  - `RouterFactory` delegates to the above two, based on status of
    `Console::isConsole()`

  The above makes it possible to specify the specific router type you want to
  use via configuration, making testing possible.

- Refactored the ViewManager implementations. Previously, the view managers
  were adding services and aliases to the service manager duing their bootstrap
  listeners; with the SM now immutable, that does not make sense, and, in fact,
  leads to errors.

  In all cases where object creation was occuring, the code was moved to new
  factories, which the view manager implementations can now pull specifically.
  Aliases for these were added where appropriate. However, I stopped short of
  adding factories for general services such as `DefaultRenderingStrategy` as
  the implementations differ enough that having such a factory mutate based on
  the selected view manager would require type-hinting t... (continued)
Pull Request #36: Refactored to work with zend-servicemanager v3

383 of 383 new or added lines in 50 files covered. (100.0%)

2687 of 3797 relevant lines covered (70.77%)

12.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/Service/ConsoleViewManagerFactory.php
1
100.0
src/Service/RouterFactory.php
1
100.0
src/Service/ViewFeedStrategyFactory.php
1
100.0
src/Service/ViewJsonStrategyFactory.php
2
100.0
src/Service/ViewManagerFactory.php
3
100.0
src/Service/HttpViewManagerConfigTrait.php
4
100.0
src/Router/RoutePluginManager.php
4
100.0
src/View/Console/ViewManager.php
4
100.0
src/View/Http/ViewManager.php
5
100.0
src/Service/TranslatorServiceFactory.php
7
100.0
src/Service/ConsoleAdapterFactory.php
7
100.0
src/Service/FormAnnotationBuilderFactory.php
10
100.0
src/Router/RouteInvokableFactory.php
10
100.0
src/Service/ConsoleRouteNotFoundStrategyFactory.php
13
100.0
src/Service/ConsoleViewManagerConfigTrait.php
14
100.0
src/Service/ServiceListenerFactory.php
15
100.0
src/Service/ConsoleExceptionStrategyFactory.php
23
100.0
src/Service/ViewHelperManagerFactory.php

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/Controller/PluginManager.php
3
100.0
src/Service/ServiceListenerFactory.php
4
100.0
src/I18n/DummyTranslator.php
4
100.0
src/Router/Http/Part.php
4
100.0
src/Service/ViewManagerFactory.php
4
100.0
src/View/Console/InjectNamedConsoleParamsListener.php
4
100.0
src/View/Console/RouteNotFoundStrategy.php
5
100.0
src/Service/ConsoleViewManagerFactory.php
5
100.0
src/Service/RequestFactory.php
5
100.0
src/Service/ResponseFactory.php
7
100.0
src/Service/ConfigFactory.php
7
100.0
src/View/Console/CreateViewModelListener.php
11
100.0
src/Service/ViewHelperManagerFactory.php
14
100.0
src/Router/Http/Segment.php
14
100.0
src/Service/FormAnnotationBuilderFactory.php
15
100.0
src/Service/TranslatorServiceFactory.php
16
100.0
src/View/Http/ViewManager.php
34
100.0
src/View/Console/ViewManager.php
45
100.0
src/Router/Http/TranslatorAwareTreeRouteStack.php
149
100.0
src/Controller/Plugin/FilePostRedirectGet.php
Jobs
ID Job ID Ran Files Coverage
2 102.2 (EXECUTE_TEST_COVERALLS=true) 08 Oct 2015 04:42PM UTC 0
70.77
Travis Job 102.2
Source Files on build 102
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #102
  • Pull Request #36
  • PR Base - develop (#98)
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