tests/Stamina/RestPowerTest.php
The method I_can_use_it is not named in camelCase. Open
Open
public function I_can_use_it(): void
{
$restingPower = new RestPower(123);
self::assertSame(123, $restingPower->getValue());
self::assertSame('123', (string)$restingPower);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}