Showing 235 of 235 total issues
Whitespace found at end of line Open
Open
->post('/api/v1/tiresensor', ['api_token' => env('APP_TOKEN'),
- Exclude checks
Whitespace found at end of line Open
Open
'pressure' => 127,
- Exclude checks
Whitespace found at end of line Open
Open
$this->seeInDatabase('tire_sensor', ['temperature' => 23.0,
- Exclude checks
Whitespace found at end of line Open
Open
'dataIsCompressed' => 1,
- Exclude checks
Whitespace found at end of line Open
Open
'longitude' => 35.55,
- Exclude checks
Whitespace found at end of line Open
Open
'email' => 'admin@alientronics.com.br',
- Exclude checks
Whitespace found at end of line Open
Open
'battery' => 3.95,
- Exclude checks
Whitespace found at end of line Open
Open
->post('/api/v1/trip', ['api_token' => env('APP_TOKEN'),
- Exclude checks
Whitespace found at end of line Open
Open
$this->seeInDatabase('gps', ['vehicle_id' => 1,
- Exclude checks
Whitespace found at end of line Open
Open
'vehicle_id' => 1,
- Exclude checks
Whitespace found at end of line Open
Open
]);
- Exclude checks
Whitespace found at end of line Open
Open
$this->post('/api/v1/trip', ['vehicle_id' => 1,
- Exclude checks
The variable $Companies is not named in camelCase. Open
Open
public function index()
{
$Companies = Company::all();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $entry_type is not named in camelCase. Open
Open
public function testTireSensorGenerateEntry()
{
$company = factory('App\Company')->create();
$entry_type = factory('App\Entities\Type')->create();
$model = Model::orderBy('id', 'asc')->first();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $vehicle_id is not named in camelCase. Open
Open
public function sendAlertTireMail($company, $vehicle_id, $tireSensor, $ideal_pressure, $users)
{
try {
$vehicle = Vehicle::where('id', $vehicle_id)->first();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Company is not named in camelCase. Open
Open
public function updateCompany(Request $request, $idCompany)
{
$Company = Company::find($idCompany);
$Company->name = $request->input('name');
$Company->save();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Gps is not named in camelCase. Open
Open
public function index()
{
$Gps = Gps::all();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Companies is not named in camelCase. Open
Open
public function index()
{
$Companies = Company::all();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Gps is not named in camelCase. Open
Open
public function create(Request $request)
{
$gpsData = $request->all();
if (!empty($gpsData)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Company is not named in camelCase. Open
Open
public function getCompany($idCompany)
{
$Company = Company::find($idCompany);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}