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().
Coverage remained the same at 100.0% when pulling 0ef7ebc11d07b91b9e092c6806adc6868bc9967e on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.
Coverage remained the same at 100.0% when pulling 0ef7ebc11d07b91b9e092c6806adc6868bc9967e on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.
Coverage remained the same at 100.0% when pulling 0ef7ebc11d07b91b9e092c6806adc6868bc9967e on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.
Coverage remained the same at 100.0% when pulling b52c86a339184d2165877d833ce91dcd5da78aca on peter-gribanov:phpstan into bb7e24c0727427505d4893d43f52a6c6422e96a8 on gpslab:2.0.
Run test by PHPStan in Travis CI jobs. Ignore error of
Phar::decompress()
in PHPStan #37 ExcludeConfiguration
class from analyse because it is highly dependent on the version of Symfony.Symfony 2.3 - 3.4
Symfony\Component\Config\Definition\Builder\TreeBuilder
does not have a constructor and must be instantiated without any parameters.Symfony\Component\Config\Definition\Builder\TreeBuilder
does not have a constructor and must be instantiated without any parameters.Symfony 4.0 - 4.4
Symfony\Component\Config\Definition\Builder\NodeDefinition::fixXmlConfig()
.Symfony\Component\Config\Definition\Builder\NodeDefinition::children()
.Symfony\Component\Config\Definition\Builder\NodeDefinition::children()
.Symfony\Component\Config\Definition\Builder\NodeDefinition::children()
.Symfony\Component\Config\Definition\Builder\NodeDefinition::fixXmlConfig()
.Symfony\Component\Config\Definition\Builder\NodeDefinition::append()
.Symfony\Component\Config\Definition\Builder\NodeDefinition::requiresAtLeastOneElement()
.GpsLab\Bundle\GeoIP2Bundle\DependencyInjection\Configuration::getDatabaseNode()
should returnSymfony\Component\Config\Definition\Builder\ArrayNodeDefinition
but returnsSymfony\Component\Config\Definition\Builder\NodeDefinition
.Symfony 5.0
Symfony\Component\Config\Definition\Builder\TreeBuilder::root()
.Symfony\Component\Config\Definition\Builder\TreeBuilder::root()
.