Code-TidyAll
view release on metacpan or search on metacpan
php/PHP_CodeSniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.inc view on Meta::CPAN
</pre>
<?php
if (include_once 'blank.inc') {
$var = include_once 'blank.inc';
if ($var === true) {
}
}
if (require_once 'blank.inc') {
$var = require_once 'blank.inc';
if ($var === true) {
}
}
function get_some_value()
{
include_once 'blank.inc';
include 'blank.inc';
// These are ok
php/PHP_CodeSniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.inc view on Meta::CPAN
</pre>
<?php
if (include_once 'blank.inc') {
$var = include_once 'blank.inc';
if ($var === true) {
}
}
if (require_once 'blank.inc') {
$var = require_once 'blank.inc';
if ($var === true) {
}
}
}
$var = include_once 'blank.inc';
if ($var == false) {
}
( run in 0.393 second using v1.01-cache-2.11-cpan-0d8aa00de5b )