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

chajr / class-event / 24 / 2
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 29 Jun 2015 07:44PM UTC
Files 9
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

29 Jun 2015 07:42PM UTC coverage: 94.444% (-2.3%) from 96.757%
24.2

push

travis-ci

chajr
Configuration refactor

This version introduces multiple enhancements:

Previous configuration cause many problems with usage

Details of additions/deletions below:
--------------------------------------------------------------

Modified:   Event/Base/EventManager.php
            -- Updated --
                __construct moved events to separated variable
                setEventConfiguration no longer read configuration from file, olny apply configuration
                readEventConfiguration set configuration after read from file
                _configurationStrategy variable renaming

Modified:   Event/Base/Interfaces/EventManagerInterface.php
            -- Updated --
                __construct added new parameter

Modified:   Event/EventDispatcher.php
            -- Updated --
                $_defaultOptions changed structure, options moved to new key
                init implement usage of new options array
                setEventConfiguration implement usage of new options array and fixed error with missing instance name
                _setInstanceConfig implement usage of new options array

Modified:   EventManagerTest.php
            -- Updated --
                testEventCreation added usage of configDataProvider
                testSetEventManagerConfiguration added usage of configDataProvider, changed test to use new configuration
                testTryToLoadConfigFromMissingFile changed test to use new configuration
                testTriggerEvent changed test to use new configuration
                testTriggerWithStopPropagation changed test to use new configuration
                testAddListenerAndTriggerEvent changed test to use new configuration
                testTriggerEventWithError changed test to use new configuration
                testEventLaunchCount changed test to use new configuration, added some new assetrions
                testGettingAllCreatedEvents changed test to use new configuration
                testEnableAndDisableEventLog added some new assetrions
                configDataProvider changed configuration array format
                getEventFileConfigPath return only configuration file path

Modified:   EventDispatcherTest.php
            -- Updated --
                testEventInstanceCreation changed configuration array format
                testEventInitializeWithError changed configuration array format
                testEventInitializeWithErrorSecond changed configuration array format
                testTriggerEvent changed configuration array format

170 of 180 relevant lines covered (94.44%)

3.02 hits per line

Source Files on job 24.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24
  • Travis Job 24.2
  • edb8a88e on github
  • Prev Job for on develop (#23.2)
  • Next Job for on develop (#25.3)
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