Documentation

IsCamelCapsTest extends TestCase
in package

FinalYes

Tests for the \PHP_CodeSniffer\Util\Common::isCamelCaps method.

Tags
covers

Table of Contents

Methods

testInvalidClassFormat()  : void
Test invalid class names.
testInvalidClassFormatPrivate()  : void
Test invalid class names with the private flag set.
testInvalidNotClassFormatPrivate()  : void
Test invalid private method names.
testInvalidNotClassFormatPublic()  : void
Test invalid public function/method names.
testValidClassFormatPublic()  : void
Test valid class names.
testValidNotClassFormatPrivate()  : void
Test valid private method names.
testValidNotClassFormatPublic()  : void
Test valid public function/method names.

Methods

testInvalidClassFormat()

Test invalid class names.

public testInvalidClassFormat() : void

testInvalidClassFormatPrivate()

Test invalid class names with the private flag set.

public testInvalidClassFormatPrivate() : void

Note that the private flag is ignored if the class format flag is set, so these names are all invalid.

testInvalidNotClassFormatPrivate()

Test invalid private method names.

public testInvalidNotClassFormatPrivate() : void

testInvalidNotClassFormatPublic()

Test invalid public function/method names.

public testInvalidNotClassFormatPublic() : void

testValidClassFormatPublic()

Test valid class names.

public testValidClassFormatPublic() : void

testValidNotClassFormatPrivate()

Test valid private method names.

public testValidNotClassFormatPrivate() : void

testValidNotClassFormatPublic()

Test valid public function/method names.

public testValidNotClassFormatPublic() : void

        
On this page

Search results