I am starting a new project in symfony and i have switched from PHP56 to PHP7. As per guidelines you have to add following to reflect new features of PHP7
<?php
declare(strict_types=1);
// Rest of the code...
Where should i put 'strict_type' in my new symfony project to avoid writing 'strict_type' in each file, so that new features of PHP7 should be reflected globally throughout the project?
It's a per-file directive, so you must put it in every file.
References: