Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Chartjs/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new TwigBundle(), new StimulusBundle(), new ChartjsBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
2 changes: 1 addition & 1 deletion src/Cropperjs/tests/Kernel/EmptyAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function registerBundles(): iterable
return [new CropperjsBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
}
}
2 changes: 1 addition & 1 deletion src/Cropperjs/tests/Kernel/FrameworkAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new CropperjsBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$frameworkConfig = [
Expand Down
2 changes: 1 addition & 1 deletion src/Cropperjs/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new TwigBundle(), new CropperjsBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$frameworkConfig = [
Expand Down
2 changes: 1 addition & 1 deletion src/Dropzone/src/DependencyInjection/DropzoneExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
class DropzoneExtension extends Extension implements PrependExtensionInterface
{
public function prepend(ContainerBuilder $container)
public function prepend(ContainerBuilder $container): void
{
// Register the Dropzone form theme if TwigBundle is available
$bundles = $container->getParameter('kernel.bundles');
Expand Down
2 changes: 1 addition & 1 deletion src/Dropzone/tests/Kernel/EmptyAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function registerBundles(): iterable
return [new DropzoneBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
}
}
2 changes: 1 addition & 1 deletion src/Dropzone/tests/Kernel/FrameworkAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new DropzoneBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true]);
Expand Down
2 changes: 1 addition & 1 deletion src/Dropzone/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new TwigBundle(), new DropzoneBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
6 changes: 3 additions & 3 deletions src/LazyImage/tests/BlurHash/BlurHashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function testEncode()
public function testWithCustomGetImageContent(): void
{
$kernel = new class('test', true) extends TwigAppKernel {
public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
parent::registerContainerConfiguration($loader);

Expand Down Expand Up @@ -99,7 +99,7 @@ public function testEnsureCacheIsNotUsedWhenNotConfigured()
public function testEnsureCacheIsUsedWhenConfigured()
{
$kernel = new class('test', true) extends TwigAppKernel {
public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
parent::registerContainerConfiguration($loader);

Expand Down Expand Up @@ -154,7 +154,7 @@ public function testCreateDataUriThumbnail()
public function testCreateDataUriThumbnailWithCache()
{
$kernel = new class('test', true) extends TwigAppKernel {
public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
parent::registerContainerConfiguration($loader);

Expand Down
2 changes: 1 addition & 1 deletion src/LazyImage/tests/Kernel/EmptyAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function registerBundles(): iterable
return [new LazyImageBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
}
}
2 changes: 1 addition & 1 deletion src/LazyImage/tests/Kernel/FrameworkAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new LazyImageBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true]);
Expand Down
2 changes: 1 addition & 1 deletion src/LazyImage/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new TwigBundle(), new LazyImageBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
2 changes: 1 addition & 1 deletion src/Notify/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function registerBundles(): iterable
yield new NotifyBundle();
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
2 changes: 1 addition & 1 deletion src/React/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new StimulusBundle(), new TwigBundle(), new ReactBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function load(array $configs, ContainerBuilder $container): void
}
}

public function prepend(ContainerBuilder $container)
public function prepend(ContainerBuilder $container): void
{
if (!$this->isAssetMapperAvailable($container)) {
return;
Expand Down
2 changes: 1 addition & 1 deletion src/Svelte/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function registerBundles(): iterable
return [new StimulusBundle(), new FrameworkBundle(), new TwigBundle(), new SvelteBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
class UxTranslatorExtension extends Extension implements PrependExtensionInterface
{
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Expand All @@ -46,7 +46,7 @@ public function load(array $configs, ContainerBuilder $container)
}
}

public function prepend(ContainerBuilder $container)
public function prepend(ContainerBuilder $container): void
{
if (!$this->isAssetMapperAvailable($container)) {
return;
Expand Down
2 changes: 1 addition & 1 deletion src/Translator/tests/Kernel/EmptyAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function registerBundles(): iterable
return [new UxTranslatorBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
}
}
2 changes: 1 addition & 1 deletion src/Translator/tests/Kernel/FrameworkAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function registerBundles(): iterable
return [new FrameworkBundle(), new UxTranslatorBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', [
Expand Down
2 changes: 1 addition & 1 deletion src/Vue/tests/Kernel/TwigAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function registerBundles(): iterable
return [new StimulusBundle(), new FrameworkBundle(), new TwigBundle(), new VueBundle()];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', ['secret' => '$ecret', 'test' => true, 'http_method_override' => false]);
Expand Down
Loading