You are here

public function Foo::test6 in Coder 8.2

Not documenting a "throws" tag is allowed.

This should not fail for errors with underscores in names as well. The second version of this test with error name with underscores is added below.

Throws

Exception

File

coder_sniffer/Drupal/Test/good/good.php, line 1085
This file contains all the valid notations for the drupal coding standard.

Class

Foo
All classes need to have a docblock.

Code

public function test6() {
  throw new Exception();
}