Where to add "strict_types" for PHP7 in Symfony?
I am starting a new project in symfony and I have switched from PHP56 to PHP7. As recommended, you should add the following to reflect new PHP7 features
<?php
declare(strict_types=1);
// Rest of the code...
Where should I put "strict_type" in my new symfony project so I don't have to write "strict_type" in every file so that new PHP7 features have to be reflected globally throughout the project?
+3
source to share