backend/src/HistoricalMeteorological/Data/Converter.php
Showing 3 of 3 total issues
Function convert
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
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) {
- Read upRead up
Blank line found at end of control structure Open
Open
- Exclude checks
Blank line found at start of control structure Open
Open
foreach ($this->parser->getEntries($rows) as $entry) {
- Exclude checks