-
Notifications
You must be signed in to change notification settings - Fork 1
Applied automatic code upgrade #82
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
Conversation
1a38aef to
cc0062a
Compare
|
konradoboza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost all remarks are about readonly, haven't continued. Please check it maybe with 8.3 syntax enabled within PHPStorm.
| private ContentTypeService $contentTypeService, | ||
| private ContentService $contentService, | ||
| private ActionDispatcherInterface $contentActionDispatcher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| private ContentTypeService $contentTypeService, | ||
| private UserService $userService, | ||
| private LocationService $locationService, | ||
| private LanguageService $languageService, | ||
| private ActionDispatcherInterface $userActionDispatcher, | ||
| private PermissionResolver $permissionResolver, | ||
| private UserLanguagePreferenceProviderInterface $userLanguagePreferenceProvider, | ||
| private GroupedContentFormFieldsProviderInterface $groupedContentFormFieldsProvider, | ||
| private ContentService $contentService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| private PermissionResolver $permissionResolver, | ||
| private ContentTypeService $contentTypeService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| private $configResolver; | ||
|
|
||
| public function __construct(ConfigResolverInterface $configResolver) | ||
| public function __construct(private ConfigResolverInterface $configResolver) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public function __construct(private ConfigResolverInterface $configResolver) | |
| public function __construct(private readonly ConfigResolverInterface $configResolver) |
| private PermissionResolver $permissionResolver, | ||
| private RoleService $roleService, | ||
| private UserService $userService, | ||
| private ContentTypeService $contentTypeService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| private RouterInterface $router, | ||
| private URLAliasService $urlAliasService, | ||
| private LocationService $locationService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| UrlGeneratorInterface $urlGenerator | ||
| ) { | ||
| $this->urlGenerator = $urlGenerator; | ||
| public function __construct(private UrlGeneratorInterface $urlGenerator) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public function __construct(private UrlGeneratorInterface $urlGenerator) | |
| public function __construct(private readonly UrlGeneratorInterface $urlGenerator) |
| private UserService $userService, | ||
| private UrlGeneratorInterface $urlGenerator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| private UserService $userService, | ||
| private ContentService $contentService, | ||
| private UrlGeneratorInterface $urlGenerator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those be readonly as well?
| private $fieldTypeFormMapper; | ||
|
|
||
| public function __construct(FieldTypeFormMapperDispatcherInterface $fieldTypeFormMapper) | ||
| public function __construct(private FieldTypeFormMapperDispatcherInterface $fieldTypeFormMapper) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public function __construct(private FieldTypeFormMapperDispatcherInterface $fieldTypeFormMapper) | |
| public function __construct(private readonly FieldTypeFormMapperDispatcherInterface $fieldTypeFormMapper) |
|
Closed in favor of #84 |



Description:
The following PR applies automatic code upgrade rule sets.
For QA:
Sanities.
Documentation:
N/A