Skip to content

Instantly share code, notes, and snippets.


Nico Schoenmaker nicoschoenmaker

View GitHub Profile
nicoschoenmaker / DeprecationErrorHandler.php
Created Feb 19, 2016
Logging Symfony deprecation errors to the log
View DeprecationErrorHandler.php
* The goal of this handler is to write all silenced (@) E_USER_DEPRECATION
* errors to the server error log.
* Please note that only one error handler can be active at any given point in
* time. This means two things:
* - We have to be a good citizen and call the previous error handler (if any).
* - We're fully dependant for later error handlers to do the same thing.
class DeprecationErrorHandler
nicoschoenmaker /
Created Feb 4, 2013
"Dot" /graphviz source code of graph used to create the image of the deployment triangle at
digraph deployment_triangle {
subgraph same_ranking_subgraph {
rank = same;
deployed -> "target tag" -> master -> "target tag" -> deployed -> master -> deployed