Merge branch 'deprecation-fix' into 'develop'

Fix some deprecations

See merge request !79
Status Job ID Name Coverage
  Cache
passed #37833
create_cache

00:00:23

 
  Tests
failed #37834
unit_tests

00:01:13

 
  Quality Assurance
skipped #37835
check-security
skipped #37837
lint
skipped #37839
php-cs-fixer
skipped #37838
phpmd
skipped #37840
phpmetrics
skipped #37836
phpstan
 
  Quality Assurance Report
skipped #37841
pages
 
Name Stage Failure
failed
unit_tests Tests
Writing lock file
Generating optimized autoload files
3 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
PHPUnit 7.5.20 by Sebastian Bergmann and contributors.

Testing Project Test Suite
.......PHP Fatal error: Declaration of Double\FormInterface\P7::setParent(?Double\FormInterface\P7 $parent = NULL) must be compatible with Symfony\Component\Form\FormInterface::setParent(?Symfony\Component\Form\FormInterface $parent = NULL) in /var/www/gestion-rgpd/vendor/bin/.phpunit/phpunit-7.5-0/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php(49) : eval()'d code on line 5
ERROR: Job failed: exit code 255