gpslab / geoip2

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

Run test by PHPStan in Travis CI jobs #38

Closed peter-gribanov closed 4 years ago

peter-gribanov commented 4 years ago

Run test by PHPStan in Travis CI jobs. Ignore error of Phar::decompress() in PHPStan #37 Exclude Configuration class from analyse because it is highly dependent on the version of Symfony.

Symfony 2.3 - 3.4

Line src/DependencyInjection/Configuration.php
42 Class Symfony\Component\Config\Definition\Builder\TreeBuilder does not have a constructor and must be instantiated without any parameters.
188 Class Symfony\Component\Config\Definition\Builder\TreeBuilder does not have a constructor and must be instantiated without any parameters.

Symfony 4.0 - 4.4

Line src/DependencyInjection/Configuration.php
165 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::fixXmlConfig().
166 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
172 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
174 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
177 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::fixXmlConfig().
178 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::append().
199 Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::requiresAtLeastOneElement().
259 Method GpsLab\Bundle\GeoIP2Bundle\DependencyInjection\Configuration::getDatabaseNode() should return Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition but returns Symfony\Component\Config\Definition\Builder\NodeDefinition.

Symfony 5.0

Line src/DependencyInjection/Configuration.php
49 Call to an undefined method Symfony\Component\Config\Definition\Builder\TreeBuilder::root().
195 Call to an undefined method Symfony\Component\Config\Definition\Builder\TreeBuilder::root().
coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 0ef7ebc11d07b91b9e092c6806adc6868bc9967e on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 0ef7ebc11d07b91b9e092c6806adc6868bc9967e on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 0ef7ebc11d07b91b9e092c6806adc6868bc9967e on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling b52c86a339184d2165877d833ce91dcd5da78aca on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.