phpstan/phpstan-symfony

The constant_hassers not working as constantHassers default of extension.neon always used

alexander-schranz opened this issue · 0 comments

The extension is setting:

		constant_hassers: true
		constantHassers: true

in our libraries which we had phpstan update it still uses:

		constant_hassers: true

But this seems not has longer any effects based on the code here:

return $this->parameters['constantHassers'] ?? $this->parameters['constant_hassers'] ?? true;

I think constant_hassers never has any effects as constantHassers is still always true. So this BC Layer seems not to work maybe extension.neon should go with:

		constant_hassers: null
		constantHassers: null

What do you think?