@@ -823,10 +823,10 @@ private function getValidatorMappingFiles(ContainerBuilder $container)
823823
824824 if (is_dir ($ dir = $ dirname .'/Resources/config/validation ' )) {
825825 foreach (Finder::create ()->files ()->in ($ dir )->name ('*.xml ' ) as $ file ) {
826- $ files [0 ][] = $ file ->getRealpath ();
826+ $ files [0 ][] = $ file ->getRealPath ();
827827 }
828828 foreach (Finder::create ()->files ()->in ($ dir )->name ('*.yml ' ) as $ file ) {
829- $ files [1 ][] = $ file ->getRealpath ();
829+ $ files [1 ][] = $ file ->getRealPath ();
830830 }
831831
832832 $ container ->addResource (new DirectoryResource ($ dir ));
@@ -944,13 +944,13 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
944944
945945 if (is_dir ($ dir = $ dirname .'/Resources/config/serialization ' )) {
946946 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 ()));
948948 $ definition ->setPublic (false );
949949
950950 $ serializerLoaders [] = $ definition ;
951951 }
952952 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 ()));
954954 $ definition ->setPublic (false );
955955
956956 $ serializerLoaders [] = $ definition ;
0 commit comments