Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fabpot's full-sized avatar
😀
Happy!

Fabien Potencier fabpot

😀
Happy!
View GitHub Profile
Verifying my Blockstack ID is secured with the address 18CVVNpjGbjpyNrXaX7PAdtaG5Thm5Gf6e https://explorer.blockstack.org/address/18CVVNpjGbjpyNrXaX7PAdtaG5Thm5Gf6e
@fabpot
fabpot / keybase.md
Last active January 30, 2017 17:18

Keybase proof

I hereby claim:

  • I am fabpot on github.
  • I am fabpot (https://keybase.io/fabpot) on keybase.
  • I have a public key ASCLJewen7-RozcwzRuXgnzDL_0HXEtgp85eU0Xtlj-3HQo

To claim this, I am signing this object:

services:
app.twig_extension:
class: App\TwigExtension
public: false
tags: [twig.extension]
app.command.doc_update:
class: App\Command\DocUpdateCommand
tags:
- { name: console.command }
@fabpot
fabpot / config.yaml
Last active November 30, 2017 15:17
services:
_defaults:
autowire: true
App\TwigExtension:
public: false
tags: [twig.extension]
App\Command\DocUpdateCommand:
tags: [console.command]
diff --git a/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php b/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
index b92defe..942f51d 100644
--- a/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
+++ b/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
@@ -132,6 +132,22 @@ class ContainerAwareEventDispatcher extends EventDispatcher
}
/**
+ * {@inheritdoc}
+ */
@fabpot
fabpot / gist:43fda1b7d76f666f8a38
Last active August 29, 2015 14:22
2.7.1 blockers
@fabpot
fabpot / gist:3f25555dce956accd4dd
Created November 12, 2014 17:55
PHP-CS-Fixer v0.00001
#!/usr/bin/env php
<?php
/*
* Coding Standards (a.k.a. CS)
*
* This script is designed to clean up the source files and thus follow coding
* conventions.
*
* @see http://symfony.com/doc/2.0/contributing/code/standards.html
*
commit e1f188b522c05f2c0e1695603c8034cf751f8550
Author: Fabien Potencier <fabien.potencier@gmail.com>
Date: Wed Sep 26 00:54:25 2012 +0200
modified Twig_Error_* exceptions to override exception filename and line with the original template filename and line
diff --git a/CHANGELOG b/CHANGELOG
index 93109d0..51a6def 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@fabpot
fabpot / pr-labels.js
Created December 10, 2013 08:50
Displays pull requests labels on Github. Change 'YOU_API_TOKEN' to a Github token or remove the query parameter altogether (but you will run out of calls very fast).
// ==UserScript==
// @name Adds Labels on Github Pull Request
// @namespace http://fabien.potencier.org
// @include https://github.com/*/*/pulls*
// @version 2
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// ==/UserScript==
$(function() {
$(".pulls-list .list-group-item h4").each(function() {
var pull_request = this;
// ==UserScript==
// @name Pull Request Labels
// @namespace http://joshuaflanagan.com
// @include https://github.com/*/*/pulls
// @version 1
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// ==/UserScript==
$(function(){
var $pull_requests = $(".pulls-list .list-group-item h4");
$pull_requests.each(function(){