Skip to content

Commit

Permalink
Bump friendsofphp/php-cs-fixer from 3.47.1 to 3.49.0 (#1361)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 4, 2024
1 parent a10bce3 commit 5dd4bbc
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 47 deletions.
84 changes: 42 additions & 42 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Contract/Config/AnalyserConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class AnalyserConfig
private function __construct() {}

/** @param ?array<array-key,EmitterType> $types */
public static function create(array $types = null, string $internalTag = null): self
public static function create(?array $types = null, ?string $internalTag = null): self
{
$analyser = new self();

Expand Down
2 changes: 1 addition & 1 deletion src/Contract/Config/Collector/TagValueRegexConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function __construct(
private ?string $value = null
) {}

public static function create(string $tag, string $regexpr = null): self
public static function create(string $tag, ?string $regexpr = null): self
{
return new self($tag, $regexpr);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Ast/AstMap/AstMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public function getClassInherits(ClassLikeToken $classLikeName): iterable
*/
private function recursivelyResolveDependencies(
AstInherit $inheritDependency,
ArrayObject $alreadyResolved = null,
SplStack $pathStack = null
?ArrayObject $alreadyResolved = null,
?SplStack $pathStack = null
): iterable {
$alreadyResolved ??= new ArrayObject();
/** @var ArrayObject<string, true> $alreadyResolved */
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Ast/AstMap/ClassLike/ClassLikeReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ClassLikeReference extends TaggedTokenReference
*/
public function __construct(
private readonly ClassLikeToken $classLikeName,
ClassLikeType $classLikeType = null,
?ClassLikeType $classLikeType = null,
public readonly array $inherits = [],
public readonly array $dependencies = [],
public readonly array $tags = [],
Expand Down

0 comments on commit 5dd4bbc

Please sign in to comment.