Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Uid] Add the UidValueResolver argument value resolver #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 120 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
6918a21
Make RateLimiter resilient to timeShifting
jderusse Nov 30, 2021
432b1a1
Fix aliased namespaces matching
Korbeil Dec 2, 2021
ca38501
[Workflow] Fix eventsToDispatch parameter setup for StateMachine
goodjinny Dec 8, 2021
bbfe9d8
[HttpClient] Allow yielding Exception from MockResponse's $body to mo…
fancyweb Dec 11, 2021
8f3bdeb
[HttpClient] Don't reset timeout counter when initializing requests
nicolas-grekas Dec 11, 2021
843c9d7
bug #44571 [HttpClient] Don't reset timeout counter when initializing…
nicolas-grekas Dec 11, 2021
d413baa
Merge branch '4.4' into 5.3
nicolas-grekas Dec 11, 2021
b7a2ae6
Make enable_authenticator_manager true as there is no other way in Sy…
alexander-schranz Dec 10, 2021
348f252
bug #44554 Make enable_authenticator_manager true as there is no othe…
wouterj Dec 12, 2021
30c3913
[Config] In XmlUtils, avoid converting from octal every string starti…
alexandre-daubois Dec 9, 2021
b7644bd
fix: lowest version of psr container supported
Nek- Dec 13, 2021
669b75f
[Uid] Add ulid keyword in composer.json
fancyweb Dec 13, 2021
4e04bc5
minor #44587 [Uid] Add ulid keyword in composer.json (fancyweb)
nicolas-grekas Dec 13, 2021
2523001
minor #44586 [DependencyInjection] PSR Container dependency version f…
derrabus Dec 13, 2021
f5c2f53
[Form] Improve Persian (Farsi) Translation For Forms
mostafazs Dec 8, 2021
9e3696f
minor #44591 [Form] Improve Persian (Farsi) Translation For Forms (mo…
wouterj Dec 13, 2021
2f3ddb6
[PropertyInfo] fix precedence of __get() vs properties
nicolas-grekas Dec 13, 2021
ba9e002
[Serializer] Fix denormalizing custom class in UidNormalizer
fancyweb Dec 13, 2021
c0602fd
[HttpClient] Fix closing curl-multi handle too early on destruct
nicolas-grekas Dec 13, 2021
1e3d60b
bug #44601 [HttpClient] Fix closing curl-multi handle too early on de…
nicolas-grekas Dec 13, 2021
d40f98d
Merge branch '4.4' into 5.3
nicolas-grekas Dec 13, 2021
446686a
Merge branch '5.3' into 5.4
nicolas-grekas Dec 13, 2021
b7a02a0
Merge branch '5.4' into 6.0
nicolas-grekas Dec 13, 2021
3f45596
Merge branch '6.0' into 6.1
nicolas-grekas Dec 13, 2021
7f6cfc0
[DI] fix merge
nicolas-grekas Dec 13, 2021
d4a74f5
Merge branch '6.0' into 6.1
nicolas-grekas Dec 13, 2021
157c8c0
[Console] Issue 43602 : Add fish completion
guillaume-a Oct 21, 2021
64a4f02
feature #43641 [Console] Issue 43602 : Add fish completion (guillaume-a)
fabpot Dec 13, 2021
4d4f8b4
[Framework] Env var SYMFONY_IDE to set framework.ide
GromNaN Dec 11, 2021
23f374b
feature #44575 [Framework] Read env var SYMFONY_IDE by default for fr…
GromNaN Dec 13, 2021
d58449d
Make use of the nullsafe operator
derrabus Dec 13, 2021
ff4af00
minor #44597 Make use of the nullsafe operator (derrabus)
fabpot Dec 13, 2021
4d9f1aa
bug #44430 [PropertyInfo] Fix aliased namespace matching (Korbeil)
nicolas-grekas Dec 14, 2021
276ef95
[HttpClient] minor change
nicolas-grekas Dec 14, 2021
d793d03
[HttpClient] Fix dealing with "HTTP/1.1 000 " responses
nicolas-grekas Dec 14, 2021
54efeab
[Cache] workaround transient test on M1
nicolas-grekas Dec 14, 2021
575ebf2
[Intl] Leverage array_is_list
fancyweb Dec 14, 2021
cfe16dc
minor #44624 [HttpClient] workaround transient test on M1 (nicolas-gr…
nicolas-grekas Dec 14, 2021
2dc418b
bug #44623 [HttpClient] Fix dealing with "HTTP/1.1 000 " responses (n…
nicolas-grekas Dec 14, 2021
6e52960
[HttpClient] fix monitoring responses issued before reset()
nicolas-grekas Dec 14, 2021
068674b
bug #44625 [HttpClient] fix monitoring responses issued before reset(…
nicolas-grekas Dec 14, 2021
be279d5
Merge branch '4.4' into 5.3
nicolas-grekas Dec 14, 2021
1e968b4
Merge branch '5.3' into 5.4
nicolas-grekas Dec 14, 2021
8e32728
Merge branch '5.4' into 6.0
nicolas-grekas Dec 14, 2021
3a1f34a
Merge branch '6.0' into 6.1
nicolas-grekas Dec 14, 2021
ccc9186
[Workflow] Add return type annotations to the Event class
derrabus Dec 14, 2021
d8fd632
minor #44626 [Intl] Leverage array_is_list (fancyweb)
fabpot Dec 15, 2021
5e954d6
bug #44510 [Workflow] Fix eventsToDispatch parameter setup for StateM…
fabpot Dec 15, 2021
ab1e9b9
bug #44537 [Config] In XmlUtils, avoid converting from octal every st…
fabpot Dec 15, 2021
4014ce9
[HttpClient] fix segfault when canary is triggered after the curl han…
nicolas-grekas Dec 15, 2021
74a6936
Merge branch '5.3' into 5.4
nicolas-grekas Dec 15, 2021
89bd236
Merge branch '5.4' into 6.0
nicolas-grekas Dec 15, 2021
bf0091e
Merge branch '6.0' into 6.1
nicolas-grekas Dec 15, 2021
26d51e8
Fix CI on macos-11
nicolas-grekas Dec 15, 2021
41c52bd
Merge branch '4.4' into 5.3
nicolas-grekas Dec 15, 2021
b1426b4
Try making tests a bit less transient
nicolas-grekas Dec 15, 2021
366f40a
minor #44636 Try making tests a bit less transient (nicolas-grekas)
nicolas-grekas Dec 15, 2021
f5235a9
Merge branch '4.4' into 5.3
nicolas-grekas Dec 15, 2021
fdc61b4
bug #44600 [Serializer] Fix denormalizing custom class in UidNormaliz…
nicolas-grekas Dec 15, 2021
9b1dcc5
bug #44354 [RateLimiter] Make RateLimiter resilient to timeShifting (…
nicolas-grekas Dec 15, 2021
d5d0cec
Merge branch '5.3' into 5.4
nicolas-grekas Dec 15, 2021
8c1e746
[Validator] Allow Sequence constraint to be applied onto class as an …
sidz Dec 3, 2021
8f591c3
bug #44448 [Validator] Allow Sequence constraint to be applied onto c…
nicolas-grekas Dec 15, 2021
d3a33b9
Merge branch '5.4' into 6.0
derrabus Dec 15, 2021
6be4729
Merge branch '6.0' into 6.1
derrabus Dec 15, 2021
6a0fd54
[Serializer] Fix symfony/uid requirement
fancyweb Dec 15, 2021
8b18a27
[Translation] Handle the blank-translation in Loco Adapter
kgonella Dec 13, 2021
acc1cdb
[Workflow] Fix Event constructor requirements
lyrixx Dec 15, 2021
880988c
Skip transient tests on macos
nicolas-grekas Dec 15, 2021
d6710c1
minor #44643 Skip transient tests on macos (nicolas-grekas)
nicolas-grekas Dec 15, 2021
fc2fffd
Merge branch '4.4' into 5.3
nicolas-grekas Dec 15, 2021
3ecb7e7
minor #44641 [Serializer] Fix symfony/uid requirement (fancyweb)
nicolas-grekas Dec 15, 2021
e5d3dea
bug #44598 [Translation] Handle the blank-translation in Loco Adapter…
nicolas-grekas Dec 15, 2021
18c7edd
minor #44642 [Workflow] Fix Event constructor requirements (lyrixx)
nicolas-grekas Dec 15, 2021
60b1672
[Workflow] Remove redundant type check
derrabus Dec 15, 2021
98e0fa4
Revert "minor #44642 [Workflow] Fix Event constructor requirements (l…
nicolas-grekas Dec 15, 2021
f3d3690
minor #44638 [Workflow] Remove redundant type check (derrabus)
nicolas-grekas Dec 15, 2021
9870e7e
Merge branch '5.3' into 5.4
nicolas-grekas Dec 15, 2021
ba7d70f
Merge branch '5.4' into 6.0
nicolas-grekas Dec 15, 2021
b2e7fcd
Merge branch '6.0' into 6.1
nicolas-grekas Dec 15, 2021
ee211c4
[VarDumper] add more "transient-on-macos" groups
nicolas-grekas Dec 15, 2021
6617be4
[HttpKernel] fix how configuring log-level and status-code by excepti…
nicolas-grekas Dec 15, 2021
bbdc403
[Messenger] Added generic template for `Envelope::last()` method
fractalzombie Dec 12, 2021
6bcc3cb
Revert "feature #41989 [Cache] make `LockRegistry` use semaphores whe…
nicolas-grekas Dec 16, 2021
b968514
[Cache] disable lock on CLI
nicolas-grekas Dec 16, 2021
06b25c7
[HttpClient] Fix tracing requests made after calling withOptions()
nicolas-grekas Dec 16, 2021
981cb0c
Remove pointless assignment
derrabus Dec 16, 2021
6312ef2
minor #44674 [Messenger] Remove pointless assignment (derrabus)
nicolas-grekas Dec 16, 2021
d737dab
fix merge
nicolas-grekas Dec 16, 2021
6e3b711
CS fixes
nicolas-grekas Dec 16, 2021
f1914c0
minor #44679 CS fixes (nicolas-grekas)
nicolas-grekas Dec 16, 2021
311dc83
bug #44669 [Cache] disable lock on CLI (nicolas-grekas)
nicolas-grekas Dec 16, 2021
0812726
[Cache] Fix saving items with no expiration through ProxyAdapter
sbelyshkin Dec 12, 2021
aaa18df
bug #44577 [Cache] Fix proxy no expiration to the Redis (Sergey Belys…
nicolas-grekas Dec 16, 2021
7e26952
Merge branch '4.4' into 5.3
nicolas-grekas Dec 16, 2021
ad3010b
[5.3] cs fixes
nicolas-grekas Dec 16, 2021
f190e9e
bug #44671 [HttpClient] Fix tracing requests made after calling withO…
nicolas-grekas Dec 16, 2021
61be138
Merge branch '5.3' into 5.4
nicolas-grekas Dec 16, 2021
b6d4480
[5.4] cs fixes
nicolas-grekas Dec 16, 2021
eb60956
bug #44667 [Cache] Revert "feature #41989 make `LockRegistry` use se…
nicolas-grekas Dec 16, 2021
646c33f
bug #44649 [HttpKernel] fix how configuring log-level and status-code…
nicolas-grekas Dec 16, 2021
eb749ec
Merge branch '5.4' into 6.0
nicolas-grekas Dec 16, 2021
d5534b0
[6.0] cs fixes
nicolas-grekas Dec 16, 2021
5eb8777
Merge branch '6.0' into 6.1
nicolas-grekas Dec 16, 2021
56f908a
Add more nullsafe operators
nicolas-grekas Dec 16, 2021
279bccb
minor #44659 Add more nullsafe operators (nicolas-grekas)
nicolas-grekas Dec 16, 2021
680eb90
[6.1] cs fixes
nicolas-grekas Dec 16, 2021
a976d27
minor #44583 [Messenger] Added generic template for `Envelope::last()…
nicolas-grekas Dec 17, 2021
3e49b0f
[PropertyInfo] Add support for phpDocumentor and PHPStan pseudo-types
Dec 3, 2021
53e49a8
feature #44451 [PropertyInfo] Add support for phpDocumentor and PHPSt…
nicolas-grekas Dec 17, 2021
5beaee8
[Translation] Translatable parameters
sylfabre Dec 16, 2021
ad391c5
Sync expected missing return types
nicolas-grekas Dec 17, 2021
932e846
Skip patching Envelope's return type
nicolas-grekas Dec 17, 2021
1dad23b
Fix patching return type of Envelope
nicolas-grekas Dec 17, 2021
e5ea631
feature #44672 [Translation] Translatable parameters (sylfabre)
fabpot Dec 17, 2021
3fb7af0
minor #44631 [Workflow] Add return type annotations to the Event clas…
fabpot Dec 17, 2021
812619c
[FrameworkBundle] Add @return TestContainer to KernelTestCase::getCon…
fancyweb Dec 17, 2021
e458492
minor #44695 [FrameworkBundle] Add `@return` TestContainer to KernelT…
fancyweb Dec 18, 2021
0f03f94
feature #44568 [HttpClient] Allow yielding Exception from MockRespons…
fancyweb Dec 18, 2021
4b61f8e
[Uid] Add the UidValueResolver argument value resolver
fancyweb Nov 22, 2021
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
Prev Previous commit
Next Next commit
[6.0] cs fixes
  • Loading branch information
nicolas-grekas committed Dec 16, 2021
commit d5534b0c13c2e5d249b480365d8fd921952d021e
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ protected function setMappingDriverConfig(array $mappingConfig, string $mappingN
* If this is a bundle controlled mapping all the missing information can be autodetected by this method.
*
* Returns false when autodetection failed, an array of the completed information otherwise.
*
* @return array|false
*/
protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container, string $bundleDir = null): array|false
{
Expand Down
6 changes: 0 additions & 6 deletions 6 src/Symfony/Bridge/Twig/UndefinedCallableHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ class UndefinedCallableHandler
'workflow' => 'enable "framework.workflows"',
];

/**
* @return TwigFilter|false
*/
public static function onUndefinedFilter(string $name): TwigFilter|false
{
if (!isset(self::FILTER_COMPONENTS[$name])) {
Expand All @@ -80,9 +77,6 @@ public static function onUndefinedFilter(string $name): TwigFilter|false
throw new SyntaxError(self::onUndefined($name, 'filter', self::FILTER_COMPONENTS[$name]));
}

/**
* @return TwigFunction|false
*/
public static function onUndefinedFunction(string $name): TwigFunction|false
{
if (!isset(self::FUNCTION_COMPONENTS[$name])) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ public function setContainer(ContainerInterface $container): ?ContainerInterface

/**
* Gets a container parameter by its name.
*
* @return array|bool|float|int|string|null
*/
protected function getParameter(string $name): array|bool|float|int|string|null
{
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public function getKernel(): KernelInterface

/**
* Gets the profile associated with the current Response.
*
* @return HttpProfile|false|null
*/
public function getProfile(): HttpProfile|false|null
{
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Bundle/FrameworkBundle/Test/TestContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ public function getParameterBag(): ParameterBagInterface

/**
* {@inheritdoc}
*
* @return array|bool|float|int|string|null
*/
public function getParameter(string $name): array|bool|float|int|string|null
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public function collect(Request $request, Response $response, \Throwable $except
'authenticators' => $firewallConfig->getAuthenticators(),
];


// generate exit impersonation path from current request
if ($this->data['impersonated'] && null !== $switchUserConfig = $firewallConfig->getSwitchUser()) {
$exitPath = $request->getRequestUri();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Symfony\Bundle\SecurityBundle\Security;


/**
* Provides basic functionality for services mapped by the firewall name
* in a container locator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class RedisTagAwareAdapter extends AbstractTagAwareAdapter
private const DEFAULT_CACHE_TTL = 8640000;

/**
* detected eviction policy used on Redis server
* detected eviction policy used on Redis server.
*/
private string $redisEvictionPolicy;

Expand Down
4 changes: 2 additions & 2 deletions 4 src/Symfony/Component/Cache/Traits/AbstractAdapterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ trait AbstractAdapterTrait
use LoggerAwareTrait;

/**
* needs to be set by class, signature is function(string <key>, mixed <value>, bool <isHit>)
* needs to be set by class, signature is function(string <key>, mixed <value>, bool <isHit>).
*/
private static \Closure $createCacheItem;

/**
* needs to be set by class, signature is function(array <deferred>, string <namespace>, array <&expiredIds>)
* needs to be set by class, signature is function(array <deferred>, string <namespace>, array <&expiredIds>).
*/
private static \Closure $mergeByLifetime;

Expand Down
2 changes: 1 addition & 1 deletion 2 src/Symfony/Component/Cache/Traits/RedisClusterProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*/

namespace Symfony\Component\Cache\Traits;
/**

/**
* @author Alessandro Chitolina <alekitto@gmail.com>
*
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ public function thenUnset(): static
/**
* Returns the related node.
*
* @return NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
*
* @throws \RuntimeException
*/
public function end(): NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ public function denyOverwrite(bool $deny = true): static

/**
* Returns the related node.
*
* @return NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
*/
public function end(): NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
{
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/Console/Input/InputArgument.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ public function setDefault(string|bool|int|float|array $default = null)

/**
* Returns the default value.
*
* @return string|bool|int|float|array|null
*/
public function getDefault(): string|bool|int|float|array|null
{
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/Console/Input/InputOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ public function setDefault(string|bool|int|float|array $default = null)

/**
* Returns the default value.
*
* @return string|bool|int|float|array|null
*/
public function getDefault(): string|bool|int|float|array|null
{
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/Console/Question/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public function getQuestion(): string

/**
* Returns the default answer.
*
* @return string|bool|int|float|null
*/
public function getDefault(): string|bool|int|float|null
{
Expand Down
2 changes: 1 addition & 1 deletion 2 src/Symfony/Component/Console/Style/SymfonyStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __construct(InputInterface $input, OutputInterface $output)
/**
* Formats a message as a block of text.
*/
public function block(string|array $messages, ?string $type = null, string $style = null, string $prefix = ' ', bool $padding = false, bool $escape = true)
public function block(string|array $messages, string $type = null, string $style = null, string $prefix = ' ', bool $padding = false, bool $escape = true)
{
$messages = \is_array($messages) ? array_values($messages) : [$messages];

Expand Down
3 changes: 0 additions & 3 deletions 3 src/Symfony/Component/CssSelector/Parser/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ public function getOffset(string $string)
return false === $position ? false : $position - $this->position;
}

/**
* @return array|false
*/
public function findPattern(string $pattern): array|false
{
$source = substr($this->source, $this->position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ private function findAndSortTaggedServices(string|TaggedIteratorArgument $tagNam
*/
class PriorityTaggedServiceUtil
{
/**
* @return string|int|null
*/
public static function getDefault(ContainerBuilder $container, string $serviceId, string $class, string $defaultMethod, string $tagName, ?string $indexAttribute, bool $checkTaggedItem): string|int|null
{
if (!($r = $container->getReflectionClass($class)) || (!$checkTaggedItem && !$r->hasMethod($defaultMethod))) {
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/DependencyInjection/Definition.php
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,6 @@ public function setConfigurator(string|array|Reference|null $configurator): stat

/**
* Gets the configurator to call after the service is fully initialized.
*
* @return string|array|null
*/
public function getConfigurator(): string|array|null
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ public function all(): array

/**
* {@inheritdoc}
*
* @return array|bool|string|int|float|null
*/
public function get(string $name): array|bool|string|int|float|null
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public function all(): array;
/**
* Gets a service container parameter.
*
* @return array|bool|string|int|float|null
*
* @throws ParameterNotFoundException if the parameter is not defined
*/
public function get(string $name): array|bool|string|int|float|null;
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/DomCrawler/Crawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,6 @@ public function outerHtml(): string
*
* Since an XPath expression might evaluate to either a simple type or a \DOMNodeList,
* this method will return either an array of simple types or a new Crawler instance.
*
* @return array|Crawler
*/
public function evaluate(string $xpath): array|Crawler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ public function buildFinalFormTree(FormInterface $form, FormView $view);

/**
* Returns all collected data.
*
* @return array|Data
*/
public function getData(): array|Data;
}
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/Form/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,6 @@ public function isValid(): bool

/**
* Returns the button that was used to submit the form.
*
* @return FormInterface|ClickableInterface|null
*/
public function getClickedButton(): FormInterface|ClickableInterface|null
{
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/Form/Guess/ValueGuess.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public function __construct(string|int|bool|null $value, int $confidence)

/**
* Returns the guessed value.
*
* @return string|int|bool|null
*/
public function getValue(): string|int|bool|null
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class CurlHttpClientTest extends HttpClientTestCase
protected function getHttpClient(string $testCase): HttpClientInterface
{
if (false !== strpos($testCase, 'Push')) {
if (!\defined('CURLMOPT_PUSHFUNCTION') || 0x073d00 > ($v = curl_version())['version_number'] || !(\CURL_VERSION_HTTP2 & $v['features'])) {
if (!\defined('CURLMOPT_PUSHFUNCTION') || 0x073D00 > ($v = curl_version())['version_number'] || !(\CURL_VERSION_HTTP2 & $v['features'])) {
$this->markTestSkipped('curl <7.61 is used or it is not compiled with support for HTTP/2 PUSH');
}
}
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/HttpFoundation/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ public function setContent(?string $content): static

/**
* Gets the current response content.
*
* @return string|false
*/
public function getContent(): string|false
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ public function __construct(array $options = [], AbstractProxy|\SessionHandlerIn

/**
* Gets the save handler instance.
*
* @return AbstractProxy|\SessionHandlerInterface
*/
public function getSaveHandler(): AbstractProxy|\SessionHandlerInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ public function hasException(): bool
return isset($this->data['exception']);
}

/**
* @return \Exception|FlattenException
*/
public function getException(): \Exception|FlattenException
{
return $this->data['exception'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(callable $exceptionHandler = null, LoggerInterface $
$this->earlyHandler = \is_array($handler) ? $handler[0] : null;
restore_exception_handler();

$this->exceptionHandler = $exceptionHandler === null || $exceptionHandler instanceof \Closure ? $exceptionHandler : \Closure::fromCallable($exceptionHandler);
$this->exceptionHandler = null === $exceptionHandler || $exceptionHandler instanceof \Closure ? $exceptionHandler : \Closure::fromCallable($exceptionHandler);
$this->logger = $logger;
$this->levels = $levels ?? \E_ALL;
$this->throwAt = \is_int($throwAt) ? $throwAt : (null === $throwAt ? null : ($throwAt ? \E_ALL : null));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

final class Sms77TransportTest extends TransportTestCase
{
/**
* @return Sms77Transport
*/
public function createTransport(HttpClientInterface $client = null, string $from = null): Sms77Transport
{
return new Sms77Transport('apiKey', $from, $client ?? $this->createMock(HttpClientInterface::class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use Symfony\Component\PasswordHasher\PasswordHasherInterface;
use Symfony\Component\PasswordHasher\Tests\Fixtures\TestLegacyPasswordAuthenticatedUser;
use Symfony\Component\PasswordHasher\Tests\Fixtures\TestPasswordAuthenticatedUser;
use Symfony\Component\Security\Core\User\User;
use Symfony\Component\Security\Core\User\InMemoryUser;
use Symfony\Component\Security\Core\User\User;

class UserPasswordHasherTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Symfony\Component\RateLimiter\Policy;


trait ResetLimiterTrait
{
private $lock;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ interface NormalizableInterface
* @param string|null $format The format is optionally given to be able to normalize differently
* based on different output formats
* @param array $context Options for normalizing this object
*
* @return array|string|int|float|bool
*/
public function normalize(NormalizerInterface $normalizer, string $format = null, array $context = []): array|string|int|float|bool;
}
3 changes: 0 additions & 3 deletions 3 src/Symfony/Component/String/AbstractString.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,6 @@ public function repeat(int $multiplier): static

abstract public function replace(string $from, string $to): static;

/**
* @param string|callable $to
*/
abstract public function replaceMatches(string $fromRegexp, string|callable $to): static;

abstract public function reverse(): static;
Expand Down
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/Templating/Loader/LoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ interface LoaderInterface
{
/**
* Loads a template.
*
* @return Storage|false
*/
public function load(TemplateReferenceInterface $template): Storage|false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ public function reset()
$this->data = [];
}

/**
* @return array|Data
*/
public function getMessages(): array|Data
{
return $this->data['messages'] ?? [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function process(ContainerBuilder $container)
protected function processValue(mixed $value, bool $isRoot = false): mixed
{
if ($value instanceof Reference) {
if ((string) $value === 'translator') {
if ('translator' === (string) $value) {
for ($i = $this->level - 1; $i >= 0; --$i) {
$class = $this->definitions[$i]->getClass();

Expand Down
3 changes: 0 additions & 3 deletions 3 src/Symfony/Component/Uid/Factory/NameBasedUuidFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ public function __construct(string $class, Uuid $namespace)
$this->namespace = $namespace;
}

/**
* @return UuidV5|UuidV3
*/
public function create(string $name): UuidV5|UuidV3
{
switch ($class = $this->class) {
Expand Down
3 changes: 0 additions & 3 deletions 3 src/Symfony/Component/Uid/Factory/TimeBasedUuidFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ public function __construct(string $class, Uuid $node = null)
$this->node = $node;
}

/**
* @return UuidV6|UuidV1
*/
public function create(\DateTimeInterface $time = null): UuidV6|UuidV1
{
$class = $this->class;
Expand Down
3 changes: 0 additions & 3 deletions 3 src/Symfony/Component/Uid/Factory/UuidFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ public function __construct(string|int $defaultClass = UuidV6::class, string|int
$this->nameBasedNamespace = $nameBasedNamespace;
}

/**
* @return UuidV6|UuidV4|UuidV1
*/
public function create(): UuidV6|UuidV4|UuidV1
{
$class = $this->defaultClass;
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.