|
@@ -56,15 +56,15 @@ |
|
|
block discarded – undo |
|
56
|
56
|
$fqcnRepository = new FqcnRepository(new FileRepository(), new ParserFactory()); |
|
57
|
57
|
|
|
58
|
58
|
$isoCodesClasses = array_diff( |
|
59
|
|
- array_map(function ($fqcn) { |
|
|
59
|
+ array_map(function($fqcn) { |
|
60
|
60
|
return str_replace('IsoCodes\\', '', $fqcn); |
|
61
|
61
|
}, $fqcnRepository->findIn(__DIR__.'/../../../vendor/ronanguilloux/isocodes/src/IsoCodes')), |
|
62
|
62
|
$this->excludedClasses |
|
63
|
63
|
); |
|
64
|
64
|
|
|
65
|
|
- $constraintClasses = array_filter(array_map(function ($fqcn) { |
|
|
65
|
+ $constraintClasses = array_filter(array_map(function($fqcn) { |
|
66
|
66
|
return str_replace('SLLH\\IsoCodesValidator\\Constraints\\', '', $fqcn); |
|
67
|
|
- }, $fqcnRepository->findIn(__DIR__.'/../../../src/Constraints')), function ($className) { |
|
|
67
|
+ }, $fqcnRepository->findIn(__DIR__.'/../../../src/Constraints')), function($className) { |
|
68
|
68
|
return !empty(trim($className)); |
|
69
|
69
|
}); |
|
70
|
70
|
|
Please login to merge, or discard this patch.