Skip to content

Instantly share code, notes, and snippets.

@mniewrzal
Created August 13, 2015 10:16
Show Gist options
  • Save mniewrzal/c983afcc6a44ac1667de to your computer and use it in GitHub Desktop.
Save mniewrzal/c983afcc6a44ac1667de to your computer and use it in GitHub Desktop.
--TEST--
Test unused use statement
--FILE--
<?php
use Test\UnusedStatement;
use Test\UsedStatement;
new UsedStatement();
--EXPECT--
[line=2, start=6, end=31] "Unused import 'Test\UnusedStatement', consider removing."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment