Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
robertogallea committed Jul 7, 2021
1 parent 4e84b2b commit 1d4b1ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/CityCodeDecoders/CompositeCitiesList.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public static function getList()

return $result;
}
}
}
4 changes: 2 additions & 2 deletions src/CityCodeDecoders/ISTATRemoteCSVList.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ISTATRemoteCSVList implements CityDecoderInterface
'Ê' => 'E\'', 'Ë' => 'E\'', 'Ì' => 'I\'', 'Í' => 'I\'', 'Î' => 'I\'', 'Ï' => 'I\'', 'Ñ' => 'N\'', 'Ò' => 'O\'', 'Ó' => 'O\'', 'Ô' => 'O\'', 'Õ' => 'O\'', 'Ö' => 'O\'', 'Ø' => 'O\'', 'Ù' => 'U\'',
'Ú' => 'U\'', 'Û' => 'U\'', 'Ü' => 'U\'', 'Ý' => 'Y\'', 'Þ' => 'B\'', 'ß' => 'Ss\'', 'à' => 'a\'', 'á' => 'a\'', 'â' => 'a\'', 'ã' => 'a\'', 'ä' => 'a\'', 'å' => 'a\'', 'æ' => 'a\'', 'ç' => 'c\'',
'è' => 'e\'', 'é' => 'e\'', 'ê' => 'e\'', 'ë' => 'e\'', 'ì' => 'i\'', 'í' => 'i\'', 'î' => 'i\'', 'ï' => 'i\'', 'ð' => 'o\'', 'ñ' => 'n\'', 'ò' => 'o\'', 'ó' => 'o\'', 'ô' => 'o\'', 'õ' => 'o\'',
'ö' => 'o\'', 'ø' => 'o\'', 'ù' => 'u\'', 'ú' => 'u\'', 'û' => 'u\'', 'ý' => 'y\'', 'þ' => 'b\'', 'ÿ' => 'y'
'ö' => 'o\'', 'ø' => 'o\'', 'ù' => 'u\'', 'ú' => 'u\'', 'û' => 'u\'', 'ý' => 'y\'', 'þ' => 'b\'', 'ÿ' => 'y',
];

public static function getList()
Expand Down Expand Up @@ -65,4 +65,4 @@ public function flushCache()
{
cache()->forget('cities-list');
}
}
}
2 changes: 1 addition & 1 deletion tests/CityCodeDecoders/CompositeCitiesListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ public function getPackageProviders($application)
CodiceFiscaleServiceProvider::class,
];
}
}
}
2 changes: 1 addition & 1 deletion tests/CityCodeDecoders/IstatRemoteCSVListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ public function it_uses_cache_for_successive_calls()

$this->assertEquals($list, $list2);
}
}
}
4 changes: 1 addition & 3 deletions tests/CodiceFiscaleValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,11 @@ public function testOmocodiaCode($codice_fiscale, $city)
$this->assertEquals($res['birth_place_complete'], $city);
}



public function omocodiaProvider()
{
return [
['RSSMRA95E05F20RU', 'Milano'],
['MKJRLA80A01L4L7I', 'Treviso']
['MKJRLA80A01L4L7I', 'Treviso'],
];
}

Expand Down

0 comments on commit 1d4b1ba

Please sign in to comment.