File "FunctionClosingBraceUnitTest.inc.fixed"
Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.inc.fixed
File size: 576 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.
};