Showing 93 of 93 total issues
Expected 1 space after IF keyword; 0 found Open
Open
if(!isset($managers['items']) ) {
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(!class_exists($class)) return false;
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Opening brace should be on a new line Open
Open
public function tearDown() {
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
The method it_delegates_setters_to_request_object is not named in camelCase. Open
Open
public function it_delegates_setters_to_request_object()
{
$host = 'value';
$this->request->shouldReceive('setHost')
->once()
- 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 it_returns_a_provider_instance is not named in camelCase. Open
Open
public function it_returns_a_provider_instance()
{
$provider = $this->container->vacancies;
$this->assertInstanceOf(Vacancies::class, $provider);
}
- 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 it_throws_exception_when_accessing_request_setter_that_doesnt_exist is not named in camelCase. Open
Open
public function it_throws_exception_when_accessing_request_setter_that_doesnt_exist()
{
$this->expectException(HeadHunterApiException::class);
$this->container->setProperty('value');
}
- 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 it_throws_exception_when_trying_to_access_wrong_provider is not named in camelCase. Open
Open
public function it_throws_exception_when_trying_to_access_wrong_provider()
{
$this->expectException(WrongEndPointException::class);
$this->container->getEndpoint('unknown');
}
- 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() {
}
}