thomas-ernest/CodeIgniter-for-PHP_CodeSniffer — Issue #13: Project application root
Author: ianckc
Created: 2012-01-13 13:07:24+00:00
State: open

After running the sniff I am left with one error which is

89 | ERROR | Unable to find "/application/" in file path "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mywebsite\application\controllers\main.php"
| | Please set your project's application root.

Is this to do with the closing comment at the end of main.php

// Location: ./application/controllers/main.php

I tried changing it to an absolute path of "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mywebsite\application\controllers\main.php" but this didn't fix it.

Any help on how to solve this would be great.

Thanks for making the sniff it's great.