7 Commits (ac29308eb764a2c85d9253ed426227ed902ff769)

Author SHA1 Message Date
Jordi Boggiano d3cec0399a CS fixes & do not replace the exception since that removes the stack trace 12 years ago
Jordi Boggiano b68eb3317b Merge remote-tracking branch 'OfficineSoftware/master' 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Andrea Turso f8b2f203a1 Added exception class and message to the error string. 12 years ago
Andrea Turso f626ccbcee Wrapped the listener invocation a try/catch block that catches any
exception and throws a \RuntimeException.
Added a test case for the EventDispatcher.

Note:
In order to test the doDispatch method I had to use a stub EventDispatcher
with a getListeners that returned a preconfigured array. IMHO there should
be a way to inject the listeners into the EventDispatcher.
12 years ago
Jordi Boggiano 2d780fbef6 Register all packages via the autoload generator before dispatching events 13 years ago
Jordi Boggiano 7add1001ae Refactor scripts 13 years ago