schmittjoh / JMSSerializerBundle

Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
http://jmsyst.com/bundles/JMSSerializerBundle
MIT License
1.8k stars 312 forks source link

Profiler is always loaded if not configured #890

Closed dannyvw closed 2 years ago

dannyvw commented 2 years ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

The profiler configuration is always loaded due invalid configuration. "defaultTrue()" does not accept any parameter. https://github.com/schmittjoh/JMSSerializerBundle/blob/master/DependencyInjection/Configuration.php#L38

Expected Result

Actual Result

scyzoryck commented 2 years ago

Good catch & really detailed explanation! Thanks!

Would you like to create pull request with a fix for this issue?

Best, scyzoryck.