badoo/phpcf

Always provide column number in issues

Closed this issue · 1 comments

eelf commented

The following code makes phpcf produce issues about wrong indent like

        Expected no indent, got indent of 2 spaces on line 4

It would be nice if column number is also provided like in other issue types:

        Expected one space after class/interface/trait name on line 3 column 8

For ease of using vim quickfix window

<?php

  class   Ololo {



  var
   $m   =
          NULL;

  FUNCTION
   do_something_marvelous
   (
       $arg1
    ,  $arg2
   )

  {

  }

  }
eelf commented

Fixed in 37ae15d