Skip to content

Instantly share code, notes, and snippets.

View lapistano's full-sized avatar

lapistano lapistano

View GitHub Profile
@ezzatron
ezzatron / clean-use.php
Created May 9, 2011 12:10
Script to clean unnecessary PHP use statements
#!/usr/bin/env php
<?php
$paths = array();
if (isset($_SERVER['argv']))
{
$paths = $_SERVER['argv'];
array_shift($paths);
if (!$paths)