Skip to content

Instantly share code, notes, and snippets.

@benji07
benji07 / keybase.md
Created September 14, 2019 07:18
keybase.md

Keybase proof

I hereby claim:

  • I am benji07 on github.
  • I am benji07 (https://keybase.io/benji07) on keybase.
  • I have a public key ASBmjxWbZnmzPN7ArQyEyFRKPQTMKjJsrRjodp3jGkJPGwo

To claim this, I am signing this object:

@benji07
benji07 / configure.sh
Created March 26, 2012 08:48
Qualité du Code : PHPCS
cd /path/to/pear/PHP/CodeSniffer/Standards
git clone git://github.com/opensky/Symfony2-coding-standard.git Symfony2
phpcs --config-set default_standard Symfony2
<?php
class ForumPost extends BaseForumPost
{
public function postInsert($event)
{
$this->Topic->Forum->LastPost = $this;
$this->Topic->Forum->post_count++;
<?php
namespace Bundle\TestBundle\Helper;
use Symfony\Components\Templating\Helper\Helper;
use Symfony\Components\DependencyInjection\ContainerInterface;
use Symfony\Components\OutputEscaper\Escaper;
class DateHelper extends Helper
{