Documentation

IncludingFileSniff.php

Ensure include_once is used in conditional situations and require_once is used elsewhere.

Also checks that brackets do not surround the file being included.

Tags
author

Greg Sherwood gsherwood@squiz.net

copyright

2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)

license

https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Interfaces, Classes and Traits

IncludingFileSniff

Search results