Please note that this service is under alpha statement, we are actively working on it. It may be unstable and might completely change without warning. Help us by reporting!
diff --git a/tests/IntegrationTest.php b/tests/IntegrationTest.php
index 4cbe74d7a48dc4799476dce6d87d386e1fe1259e..0a54561bb867d61f06a359697e8df57161563920 100644
--- a/tests/IntegrationTest.php
+++ b/tests/IntegrationTest.php
@@ -1,5 +1,16 @@
<?php
+declare(strict_types=1);
+
+/*
+ * This file is part of the Nexylan packages.
+ *
+ * (c) Nexylan SAS <contact@nexylan.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Nexy\SlackBundle\Tests;
use Http\HttplugBundle\HttplugBundle;
@@ -56,14 +67,14 @@ abstract class AbstractNexySlackIntegrationTestKernel extends Kernel
return sys_get_temp_dir().'/logs'.spl_object_hash($this);
}
- protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
+ protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void
{
$container->loadFromExtension('framework', [
'secret' => 'foo',
]);
$container->loadFromExtension('nexy_slack', [
- 'endpoint' => 'http://localhost'
+ 'endpoint' => 'http://localhost',
]);
}
}
@@ -78,7 +89,7 @@ if (method_exists(AbstractNexySlackIntegrationTestKernel::class, 'configureRouti
} else {
class NexySlackIntegrationTestKernel extends AbstractNexySlackIntegrationTestKernel
{
- protected function configureRoutes(RouteCollectionBuilder $routes)
+ protected function configureRoutes(RouteCollectionBuilder $routes): void
{
}
}