Skip to content

Commit 824f48a

Browse files
wouterjnicolas-grekas
authored andcommitted
-
1 parent e02afbd commit 824f48a

File tree

623 files changed

+1285
-18653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

623 files changed

+1285
-18653
lines changed

.github/expected-missing-return-types.diff

Lines changed: 27 additions & 14172 deletions
Large diffs are not rendered by default.

.github/patch-types.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/ReflectionIntersectionTypeFixture.php'):
5858
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/ReflectionUnionTypeWithIntersectionFixture.php'):
5959
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Internal'):
60-
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Tests/Fixtures/LazyGhost/ReadOnlyClass.php'):
61-
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Tests/Fixtures/LazyProxy/ReadOnlyClass.php'):
60+
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Tests/Fixtures/'):
6261
case false !== strpos($file, '/src/Symfony/Component/Cache/Traits/RelayProxy.php'):
6362
case false !== strpos($file, '/src/Symfony/Contracts/Service/Test/ServiceLocatorTest.php'):
6463
case false !== strpos($file, '/src/Symfony/Contracts/Service/Test/ServiceLocatorTestCase.php'):

src/Symfony/Bridge/Monolog/Handler/ElasticsearchLogstashHandler.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,7 @@ public function __sleep(): array
152152
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
153153
}
154154

155-
/**
156-
* @return void
157-
*/
158-
public function __wakeup()
155+
public function __wakeup(): void
159156
{
160157
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
161158
}

src/Symfony/Bundle/FrameworkBundle/Command/BuildDebugContainerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function getContainerBuilder(KernelInterface $kernel): ContainerBuilde
5555
$this->prepareContainer($containerBuilder);
5656

5757
return $containerBuilder;
58-
}, $kernel, \get_class($kernel));
58+
}, $kernel, $kernel::class);
5959
$container = $buildContainer();
6060
(new XmlFileLoader($container, new FileLocator()))->load($kernel->getContainer()->getParameter('debug.container.dump'));
6161
$locatorPass = new ServiceLocatorTagPass();

src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\DependencyInjection\Container;
16-
use Symfony\Component\DependencyInjection\ContainerInterface;
1716
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
1817
use Symfony\Component\HttpKernel\KernelInterface;
1918
use Symfony\Contracts\Service\ResetInterface;

src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Psr\Log\LoggerInterface;
1616
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
1717
use Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver;
18-
use Symfony\Bundle\FrameworkBundle\Tests\Fixtures\ContainerAwareController;
1918
use Symfony\Component\DependencyInjection\Container;
2019
use Symfony\Component\DependencyInjection\ContainerInterface;
2120
use Symfony\Component\HttpFoundation\Request;

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/AppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function __sleep(): array
8989
return ['varDir', 'testCase', 'rootConfig', 'environment', 'debug'];
9090
}
9191

92-
public function __wakeup()
92+
public function __wakeup(): void
9393
{
9494
foreach ($this as $k => $v) {
9595
if (\is_object($v)) {

src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/ConcreteMicroKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function __sleep(): array
6868
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
6969
}
7070

71-
public function __wakeup()
71+
public function __wakeup(): void
7272
{
7373
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
7474
}

src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/flex-style/src/FlexStyleMicroKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function __sleep(): array
6969
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
7070
}
7171

72-
public function __wakeup()
72+
public function __wakeup(): void
7373
{
7474
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
7575
}

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\AccessToken;
1313

1414
use Jose\Component\Core\Algorithm;
15-
use Jose\Component\Core\JWK;
1615
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
1716
use Symfony\Component\DependencyInjection\ChildDefinition;
1817
use Symfony\Component\DependencyInjection\ContainerBuilder;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy