Skip to content

Commit be4ee13

Browse files
committed
Updated ECS to commit ceabc1afefe0a0dab3e6544bce960f1fb296220e
1 parent 466b22a commit be4ee13

9 files changed

Lines changed: 23 additions & 24 deletions

File tree

packages/coding-standard/src/Fixer/Commenting/AddMissingVarNameFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class AddMissingVarNameFixer extends \Symplify\CodingStandard\Fixer\Commen
2121
* @see https://regex101.com/r/s1UkZs/1
2222
* @var string
2323
*/
24-
private const VAR_WITHOUT_NAME_REGEX = '#^(?<open>\/\*\* @(?:psalm-|phpstan-)?var )(?<type>[\\\\\\w\|-|]+)(?<close>\s+\*\/)$#';
24+
private const VAR_WITHOUT_NAME_REGEX = '#^(?<open>\/\*\* @(?:psalm-|phpstan-)?var )(?<type>[\\\\\\w\|\[\]-]+)(?<close>\s+\*\/)$#';
2525
public function getDefinition(): FixerDefinitionInterface
2626
{
2727
return new FixerDefinition(self::ERROR_MESSAGE, []);

src/Application/Version/StaticVersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ final class StaticVersionResolver
1515
* @api
1616
* @var string
1717
*/
18-
public const PACKAGE_VERSION = '1f5a6219f1bb1348651c4b4fb07b462880185c38';
18+
public const PACKAGE_VERSION = 'ceabc1afefe0a0dab3e6544bce960f1fb296220e';
1919
/**
2020
* @api
2121
* @var string
2222
*/
23-
public const RELEASE_DATE = '2026-06-11 12:43:32';
23+
public const RELEASE_DATE = '2026-06-13 18:38:23';
2424
/**
2525
* @var int
2626
*/

vendor/composer/installed.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -538,17 +538,17 @@
538538
},
539539
{
540540
"name": "friendsofphp\/php-cs-fixer",
541-
"version": "v3.95.5",
542-
"version_normalized": "3.95.5.0",
541+
"version": "v3.95.7",
542+
"version_normalized": "3.95.7.0",
543543
"source": {
544544
"type": "git",
545545
"url": "https:\/\/github.com\/PHP-CS-Fixer\/PHP-CS-Fixer.git",
546-
"reference": "7f86d8763063f5d2e2e2d0e1e45bb2f15895361d"
546+
"reference": "4fa4102a5617acae53f804f7c81475aaa2d6e813"
547547
},
548548
"dist": {
549549
"type": "zip",
550-
"url": "https:\/\/api.github.com\/repos\/PHP-CS-Fixer\/PHP-CS-Fixer\/zipball\/7f86d8763063f5d2e2e2d0e1e45bb2f15895361d",
551-
"reference": "7f86d8763063f5d2e2e2d0e1e45bb2f15895361d",
550+
"url": "https:\/\/api.github.com\/repos\/PHP-CS-Fixer\/PHP-CS-Fixer\/zipball\/4fa4102a5617acae53f804f7c81475aaa2d6e813",
551+
"reference": "4fa4102a5617acae53f804f7c81475aaa2d6e813",
552552
"shasum": ""
553553
},
554554
"require": {
@@ -582,22 +582,22 @@
582582
"require-dev": {
583583
"facile-it\/paraunit": "^1.3.1 || ^2.11.0",
584584
"infection\/infection": "^0.32.7",
585-
"justinrainbow\/json-schema": "^6.8.0",
585+
"justinrainbow\/json-schema": "^6.9.0",
586586
"keradus\/cli-executor": "^2.3",
587587
"mikey179\/vfsstream": "^1.6.12",
588588
"php-coveralls\/php-coveralls": "^2.9.1",
589589
"php-cs-fixer\/phpunit-constraint-isidenticalstring": "^1.8",
590590
"php-cs-fixer\/phpunit-constraint-xmlmatchesxsd": "^1.8",
591591
"phpunit\/phpunit": "^9.6.34 || ^10.5.63 || ^11.5.55",
592-
"symfony\/polyfill-php85": "^1.37",
593-
"symfony\/var-dumper": "^5.4.48 || ^6.4.32 || ^7.4.4 || ^8.0.8",
594-
"symfony\/yaml": "^5.4.45 || ^6.4.30 || ^7.4.1 || ^8.0.11"
592+
"symfony\/polyfill-php85": "^1.38",
593+
"symfony\/var-dumper": "^5.4.48 || ^6.4.36 || ^7.4.8 || ^8.1.0",
594+
"symfony\/yaml": "^5.4.53 || ^6.4.41 || ^7.4.13 || ^8.1.0"
595595
},
596596
"suggest": {
597597
"ext-dom": "For handling output formats in XML",
598598
"ext-mbstring": "For handling non-UTF8 characters."
599599
},
600-
"time": "2026-06-09T14:55:16+00:00",
600+
"time": "2026-06-13T17:51:53+00:00",
601601
"bin": [
602602
"php-cs-fixer"
603603
],
@@ -634,7 +634,7 @@
634634
],
635635
"support": {
636636
"issues": "https:\/\/github.com\/PHP-CS-Fixer\/PHP-CS-Fixer\/issues",
637-
"source": "https:\/\/github.com\/PHP-CS-Fixer\/PHP-CS-Fixer\/tree\/v3.95.5"
637+
"source": "https:\/\/github.com\/PHP-CS-Fixer\/PHP-CS-Fixer\/tree\/v3.95.7"
638638
},
639639
"funding": [
640640
{

vendor/composer/installed.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

vendor/friendsofphp/php-cs-fixer/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@
5050
"require-dev": {
5151
"facile-it\/paraunit": "^1.3.1 || ^2.11.0",
5252
"infection\/infection": "^0.32.7",
53-
"justinrainbow\/json-schema": "^6.8.0",
53+
"justinrainbow\/json-schema": "^6.9.0",
5454
"keradus\/cli-executor": "^2.3",
5555
"mikey179\/vfsstream": "^1.6.12",
5656
"php-coveralls\/php-coveralls": "^2.9.1",
5757
"php-cs-fixer\/phpunit-constraint-isidenticalstring": "^1.8",
5858
"php-cs-fixer\/phpunit-constraint-xmlmatchesxsd": "^1.8",
5959
"phpunit\/phpunit": "^9.6.34 || ^10.5.63 || ^11.5.55",
60-
"symfony\/polyfill-php85": "^1.37",
61-
"symfony\/var-dumper": "^5.4.48 || ^6.4.32 || ^7.4.4 || ^8.0.8",
62-
"symfony\/yaml": "^5.4.45 || ^6.4.30 || ^7.4.1 || ^8.0.11"
60+
"symfony\/polyfill-php85": "^1.38",
61+
"symfony\/var-dumper": "^5.4.48 || ^6.4.36 || ^7.4.8 || ^8.1.0",
62+
"symfony\/yaml": "^5.4.53 || ^6.4.41 || ^7.4.13 || ^8.1.0"
6363
},
6464
"suggest": {
6565
"ext-dom": "For handling output formats in XML",

vendor/friendsofphp/php-cs-fixer/src/Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
final class Application extends BaseApplication
4949
{
5050
public const NAME = 'PHP CS Fixer';
51-
public const VERSION = '3.95.5';
51+
public const VERSION = '3.95.7';
5252
public const VERSION_CODENAME = 'Adalbertus';
5353
/**
5454
* @readonly

vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ClassReferenceNameCasingFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private function getClassReference(Tokens $tokens, NamespaceAnalysis $namespace)
108108
if ($tokens[$prevIndex]->equalsAny($blockKinds['before']) && $tokens[$nextIndex]->equalsAny($blockKinds['after'])) {
109109
continue;
110110
}
111-
if (!$tokens[$prevIndex]->isGivenKind(\T_NEW) && $tokens[$nextIndex]->equalsAny(['(', ';', [\T_CLOSE_TAG]])) {
111+
if (!$tokens[$prevIndex]->isGivenKind(\T_NEW) && $tokens[$nextIndex]->equalsAny(['(', ';', '=', [\T_CLOSE_TAG]])) {
112112
continue;
113113
}
114114
yield $index;

vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@ private function fixPhpDocType(string $type, array $uses, string $namespaceName)
561561
if ($type->isCompositeType() || !Preg::match('/^' . self::REGEX_CLASS . '$/', $currentTypeValue) || \in_array($currentTypeValue, ['min', 'max'], \true)) {
562562
return $type;
563563
}
564-
/** @var non-empty-string $currentTypeValue */
565564
$shortTokens = $this->determineShortType($currentTypeValue, 'class', $uses, $namespaceName);
566565
if (null === $shortTokens) {
567566
return $type;

vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAttributesFixer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,12 +352,12 @@ private static function fixRequires(Tokens $tokens, int $index, Annotation $anno
352352
[$class, $method] = explode('::', $matches[2]);
353353
$attributeName = 'RequiresMethod';
354354
$attributeTokens = array_merge(self::toClassConstant($class), [new Token(','), new Token([\T_WHITESPACE, ' ']), self::createEscapedStringToken($method)]);
355-
} elseif ('RequiresPhp' === $attributeName && isset($matches[3])) {
355+
} elseif (\in_array($attributeName, ['RequiresPhp', 'RequiresPhpunit'], \true) && isset($matches[3])) {
356356
$attributeTokens = [self::createEscapedStringToken($matches[2] . ' ' . $matches[3])];
357357
} else {
358358
$attributeTokens = [self::createEscapedStringToken(self::fixVersionConstraint($matches[2]))];
359359
}
360-
if (isset($matches[3]) && 'RequiresPhp' !== $attributeName) {
360+
if (isset($matches[3]) && !\in_array($attributeName, ['RequiresPhp', 'RequiresPhpunit'], \true)) {
361361
$attributeTokens[] = new Token(',');
362362
$attributeTokens[] = new Token([\T_WHITESPACE, ' ']);
363363
$attributeTokens[] = self::createEscapedStringToken(self::fixVersionConstraint($matches[3]));

0 commit comments

Comments
 (0)