gpslab / geoip2

A Symfony Bundle for the Maxmind GeoIP2 API
https://www.maxmind.com/
MIT License
54 stars 12 forks source link

Not use ArrayNodeDefinition::cannotBeEmpty() #32

Closed peter-gribanov closed 4 years ago

peter-gribanov commented 4 years ago

Fix deprecation error

Using Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::cannotBeEmpty() at path gpslab_geoip.databases..locales has no effect, con sider requiresAtLeastOneElement() instead. In 4.0 both methods will behave the same.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 99.628% when pulling 0b40dfd6e2bdaac682339202241300dda9f90ec0 on peter-gribanov:empty_locales into 2b36033485565505432d9652cc15eb0c93b093e1 on gpslab:2.0.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 99.628% when pulling 0b40dfd6e2bdaac682339202241300dda9f90ec0 on peter-gribanov:empty_locales into 2b36033485565505432d9652cc15eb0c93b093e1 on gpslab:2.0.