Skip to content

Fix XSS when using setFormatValue($callable) #1323

Fix XSS when using setFormatValue($callable)

Fix XSS when using setFormatValue($callable) #1323

Triggered via pull request April 11, 2024 16:28
Status Failure
Total duration 1m 29s
Artifacts

ci.yaml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

7 errors
phpunit (ubuntu-latest, 8.3, 7.1.x-dev, dev)
Process completed with exit code 2.
phpstan: src/Field/Configurator/CommonPostConfigurator.php#L21
Property EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\CommonPostConfigurator::$charset is never read, only written.
phpstan: src/Field/Configurator/CommonPostConfigurator.php#L61
If condition is always true.
phpstan: src/Field/Configurator/CommonPostConfigurator.php#L61
Method EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto::getCustomOptions() invoked with 1 parameter, 0 required.
phpstan: src/Field/Configurator/CommonPostConfigurator.php#L61
Only booleans are allowed in an if condition, EasyCorp\Bundle\EasyAdminBundle\Config\KeyValueStore given.
phpstan: src/Field/Configurator/CommonPostConfigurator.php#L67
Unreachable statement - code above always terminates.
phpstan
Process completed with exit code 1.