@@ -823,10 +823,10 @@ private function getValidatorMappingFiles(ContainerBuilder $container)
823
823
824
824
if (is_dir ($ dir = $ dirname .'/Resources/config/validation ' )) {
825
825
foreach (Finder::create ()->files ()->in ($ dir )->name ('*.xml ' ) as $ file ) {
826
- $ files [0 ][] = $ file ->getRealpath ();
826
+ $ files [0 ][] = $ file ->getRealPath ();
827
827
}
828
828
foreach (Finder::create ()->files ()->in ($ dir )->name ('*.yml ' ) as $ file ) {
829
- $ files [1 ][] = $ file ->getRealpath ();
829
+ $ files [1 ][] = $ file ->getRealPath ();
830
830
}
831
831
832
832
$ container ->addResource (new DirectoryResource ($ dir ));
@@ -944,13 +944,13 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
944
944
945
945
if (is_dir ($ dir = $ dirname .'/Resources/config/serialization ' )) {
946
946
foreach (Finder::create ()->files ()->in ($ dir )->name ('*.xml ' ) as $ file ) {
947
- $ definition = new Definition ('Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader ' , array ($ file ->getRealpath ()));
947
+ $ definition = new Definition ('Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader ' , array ($ file ->getRealPath ()));
948
948
$ definition ->setPublic (false );
949
949
950
950
$ serializerLoaders [] = $ definition ;
951
951
}
952
952
foreach (Finder::create ()->files ()->in ($ dir )->name ('*.yml ' ) as $ file ) {
953
- $ definition = new Definition ('Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader ' , array ($ file ->getRealpath ()));
953
+ $ definition = new Definition ('Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader ' , array ($ file ->getRealPath ()));
954
954
$ definition ->setPublic (false );
955
955
956
956
$ serializerLoaders [] = $ definition ;
0 commit comments