Showing 2,684 of 2,684 total issues
The method I_can_not_create_it_with_invalid_addition is not named in camelCase. Open
Open
public function I_can_not_create_it_with_invalid_addition()
{
$this->expectException(\DrdPlus\Tables\Theurgist\Spells\SpellParameters\Exceptions\InvalidFormatOfAdditionByRealmsValue::class);
$this->expectExceptionMessageMatches('~bar~');
new DifficultyAddition('13=bar', 0);
- 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() {
}
}
Source
The method I_can_not_create_it_with_non_matching_distance is not named in camelCase. Open
Open
public function I_can_not_create_it_with_non_matching_distance()
{
$this->expectException(\DrdPlus\Tables\Theurgist\Spells\SpellParameters\Exceptions\EpicenterShiftDistanceDoesNotMatch::class);
$this->expectExceptionMessageMatches('~0~');
new EpicenterShift(['40', '332211'], Tables::getIt(), new Distance(1, DistanceUnitCode::METER, Tables::getIt()->getDistanceTable()));
- 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() {
}
}
Source
The method I_can_not_get_profiles_to_unknown_modifiers is not named in camelCase. Open
Open
public function I_can_not_get_profiles_to_unknown_modifiers()
{
$this->expectException(\DrdPlus\Tables\Theurgist\Spells\Exceptions\UnknownModifierToGetProfilesFor::class);
$this->expectExceptionMessageMatches('~magnified~');
(new ModifiersTable(Tables::getIt()))->getProfileCodes($this->createModifierCode('magnified'));
- 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() {
}
}
Source
The method I_can_not_create_it_with_empty_difficulty_price is not named in camelCase. Open
Open
public function I_can_not_create_it_with_empty_difficulty_price()
{
$this->expectException(\DrdPlus\Tables\Theurgist\Spells\SpellParameters\Exceptions\InvalidFormatOfAdditionByDifficultyNotation::class);
new AdditionByDifficulty('=2');
}
- 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() {
}
}