Skip to content
Snippets Groups Projects
Commit ca1a58c6 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

tests: only ignore external deprecation warnings

and error out on internal ones
parent bbc5fe33
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value='max[direct]=0&amp;quiet[]=indirect'/>
<server name="KERNEL_CLASS" value="Dbp\Relay\TemplateBundle\Tests\Kernel"/>
</php>
<testsuites>
......
......@@ -24,7 +24,7 @@ class TestCommand extends Command
$this->setDescription('Hey there!');
}
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$argument = $input->getArgument('argument');
$output->writeln($argument);
......
......@@ -23,7 +23,7 @@ class PlaceDataPersister extends AbstractController implements DataPersisterInte
return $data instanceof Place;
}
public function persist($data)
public function persist($data): void
{
// TODO
}
......
......@@ -9,7 +9,7 @@ use Symfony\Component\Config\Definition\ConfigurationInterface;
class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('dbp_relay_template');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment