Skip to content

Commit 06b18b3

Browse files
committed
Updated dependencies
1 parent a0bf89e commit 06b18b3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

SlevomatCodingStandard/Sniffs/Classes/ClassStructureSniff.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,10 +698,10 @@ private function getNormalizedMethodGroups(): array
698698
$group = strtolower((string) $group);
699699
$this->normalizedMethodGroups[$group] = [];
700700
$methodDefinitions = preg_split('~\\s*,\\s*~', (string) $groupDefinition, -1, PREG_SPLIT_NO_EMPTY);
701-
/** @var list<string> $methodDefinitions */
701+
/** @var list<non-empty-string> $methodDefinitions */
702702
foreach ($methodDefinitions as $methodDefinition) {
703703
$tokens = preg_split('~(?=[#@])~', $methodDefinition);
704-
/** @var list<string> $tokens */
704+
/** @var non-empty-list<string> $tokens */
705705
$method = array_shift($tokens);
706706
$methodRequirement = [
707707
'name' => $method !== '' ? $method : null,
@@ -764,7 +764,7 @@ private function getNormalizedGroups(): array
764764
$normalizedGroupsWithShortcuts = [];
765765
$order = 1;
766766
foreach (SniffSettingsHelper::normalizeArray($this->groups) as $groupsString) {
767-
/** @var list<string> $groups */
767+
/** @var list<non-empty-string> $groups */
768768
$groups = preg_split('~\\s*,\\s*~', strtolower($groupsString), -1, PREG_SPLIT_NO_EMPTY);
769769
foreach ($groups as $groupOrShortcut) {
770770
$groupOrShortcut = preg_replace('~\\s+~', ' ', $groupOrShortcut);

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"php": "^7.4 || ^8.0",
1717
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0",
1818
"phpstan/phpdoc-parser": "^2.1.0",
19-
"squizlabs/php_codesniffer": "^3.12.2"
19+
"squizlabs/php_codesniffer": "^3.13.0"
2020
},
2121
"require-dev": {
2222
"phing/phing": "3.0.1",
2323
"php-parallel-lint/php-parallel-lint": "1.4.0",
24-
"phpstan/phpstan": "2.1.13",
25-
"phpstan/phpstan-deprecation-rules": "2.0.2",
24+
"phpstan/phpstan": "2.1.17",
25+
"phpstan/phpstan-deprecation-rules": "2.0.3",
2626
"phpstan/phpstan-phpunit": "2.0.6",
2727
"phpstan/phpstan-strict-rules": "2.0.4",
28-
"phpunit/phpunit": "9.6.8|10.5.45|11.4.4|11.5.17|12.1.3"
28+
"phpunit/phpunit": "9.6.8|10.5.45|11.4.4|11.5.21|12.1.3"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)