Preview: FunctionClosingBraceUnitTest.inc.fixed
Size: 576 B
//opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.inc.fixed
<?php
function test()
{
// Body here.
}
function test()
{
echo 'foo';}
function test()
{
// Body here.
}
function test()
{
// Body here.
}
class MyClass
{
function test()
{
// Body here.
}
function test()
{
echo 'foo';}
function test()
{
// Body here.
}
function test()
{
// Body here.
}
}
$foo = function test()
{
// Body here.
};
$foo = function test()
{
echo 'foo';};
$foo = function test()
{
// Body here.
};
$foo = function test()
{
// Body here.
};
Directory Contents
Dirs: 0 × Files: 9