If I write some PHP code with a deprecated notice, it displays on a local environment.
Example: index.php
<?php
function super(string $test='', string $essai)
{
return 'toto';
}
super('sy', 1);
exit;
Displays:
Deprecated: Optional parameter $test declared before required parameter $essai is implicitly treated as a required parameter in /var/www/public/index.php on line 9
Which is fine.
But the exact same code in a controller in Laravel does not display, and is not stored in any log file. I set the config app.env to "local", app.debug to true and app.log_level to "debug". Any idea what I am missing ?