28 lines
430 B
PHP
28 lines
430 B
PHP
<?php
|
|
|
|
namespace CakePHP\Tests\Functions;
|
|
|
|
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
|
|
|
|
class ClosureDeclarationUnitTest extends AbstractSniffUnitTest
|
|
{
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
public function getErrorList()
|
|
{
|
|
return [
|
|
17 => 1,
|
|
30 => 1,
|
|
];
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
public function getWarningList()
|
|
{
|
|
return [];
|
|
}
|
|
}
|