Skip to content

Instantly share code, notes, and snippets.

@joaoinacio
joaoinacio / PreCommitHook.php
Created January 5, 2018 13:53
php QC pre-commit hook
#!/usr/bin/php
<?php
/**
* Git pre-commit hook for PHP code quality
* install with `<path-to-file> install`
*/
class PreCommitHook
{
/**
@lolautruche
lolautruche / ezrouter.php
Created March 5, 2012 20:17
Router script for running eZ Publish CMS on top of PHP 5.4 built-in webserver
<?php
/**
* Router script for running eZ Publish CMS on top of PHP 5.4 built-in webserver
* WARNING !!! Use it for DEVELOPMENT purpose ONLY !!!
* This script is provided as is, use it at your own risk !
*
* @copyright Copyright (C) 2011 Jérôme Vieilledent. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
*/