magickatt/MultiContextBDDTalk

View on GitHub
backend/src/HistoricalMeteorological/Data/Converter.php

Summary

Maintainability
A
25 mins
Test Coverage

Showing 3 of 3 total issues

Function convert has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

public function convert(SeekableIterator $location)
{
foreach ($this->loader->getResources($location) as $resource) {
$rows = $this->loader->getRows($resource);
foreach ($this->parser->getEntries($rows) as $entry) {
Severity: Minor
Found in backend/src/HistoricalMeteorological/Data/Converter.php - About 25 mins to fix

Blank line found at end of control structure
Open

 
 

Blank line found at start of control structure
Open

foreach ($this->parser->getEntries($rows) as $entry) {

There are no issues that match your filters.

Category
Status