Skip to content

Commit

Permalink
chore(dependencies): update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Brainshaker95 committed Jan 3, 2024
1 parent 7703f36 commit 6246c91
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
'strict_comparison' => true,
'strict_param' => true,
'trailing_comma_in_multiline' => ['elements' => ['arrays', 'arguments', 'match', 'parameters']],
'unary_operator_spaces' => ['only_dec_inc' => true],
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
])
;
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
}
],
"require-dev": {
"friendsofphp/php-cs-fixer": "3.35.1",
"phpstan/phpstan": "1.10.39",
"phpstan/phpstan-strict-rules": "1.5.1",
"symplify/phpstan-rules": "12.3.1",
"phpunit/phpunit": "10.4.1",
"symfony/framework-bundle": "6.3.5",
"symfony/yaml": "6.3.3",
"friendsofphp/php-cs-fixer": "3.45.0",
"phpstan/phpstan": "1.10.50",
"phpstan/phpstan-strict-rules": "1.5.2",
"symplify/phpstan-rules": "12.4.3",
"phpunit/phpunit": "10.5.5",
"symfony/framework-bundle": "6.4.2",
"symfony/yaml": "6.4.0",
"cweagans/composer-patches": "1.7.3"
},
"require": {
Expand Down
4 changes: 0 additions & 4 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ rules:
- Symplify\PHPStanRules\Rules\CheckClassNamespaceFollowPsr4Rule
- Symplify\PHPStanRules\Rules\CheckTypehintCallerTypeRule
- Symplify\PHPStanRules\Rules\Complexity\ForbiddenSameNamedNewInstanceRule
- Symplify\PHPStanRules\Rules\Complexity\NoDuplicatedTraitMethodNameRule
- Symplify\PHPStanRules\Rules\Domain\RequireAttributeNamespaceRule
- Symplify\PHPStanRules\Rules\Domain\RequireExceptionNamespaceRule
- Symplify\PHPStanRules\Rules\Enum\RequireUniqueEnumConstantRule
Expand All @@ -31,17 +30,14 @@ rules:
- Symplify\PHPStanRules\Rules\NarrowType\NarrowPublicClassMethodParamTypeByCallerTypeRule
- Symplify\PHPStanRules\Rules\NoAbstractMethodRule
- Symplify\PHPStanRules\Rules\NoArrayAccessOnObjectRule
- Symplify\PHPStanRules\Rules\NoConstructorInTestRule
- Symplify\PHPStanRules\Rules\NoDynamicNameRule
- Symplify\PHPStanRules\Rules\NoEmptyClassRule
- Symplify\PHPStanRules\Rules\NoInlineStringRegexRule
- Symplify\PHPStanRules\Rules\NoIssetOnObjectRule
- Symplify\PHPStanRules\Rules\NoMissingDirPathRule
- Symplify\PHPStanRules\Rules\NoNullableArrayPropertyRule
- Symplify\PHPStanRules\Rules\NoParentMethodCallOnNoOverrideProcessRule
- Symplify\PHPStanRules\Rules\NoReferenceRule
- Symplify\PHPStanRules\Rules\NoVoidGetterMethodRule
- Symplify\PHPStanRules\Rules\PHPUnit\NoRightPHPUnitAssertScalarRule
- Symplify\PHPStanRules\Rules\PreventParentMethodVisibilityOverrideRule
- Symplify\PHPStanRules\Rules\RegexSuffixInRegexConstantRule
- Symplify\PHPStanRules\Rules\RequireAttributeNameRule
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Visitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private static function getFqcn(ClassLike $node): ?string
* @var ?class-string
*/
return $node->namespacedName
? implode('\\', $node->namespacedName->parts)
? implode('\\', $node->namespacedName->getParts())
: $node->name?->name;
}
}

0 comments on commit 6246c91

Please sign in to comment.