File "FunctionClosingBraceUnitTest.inc"
Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.inc
File size: 585 bytes
MIME-type: text/x-php
Charset: utf-8
<?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.
};