fix phpstan and cs

This commit is contained in:
Julien Fastré 2022-02-11 16:03:22 +01:00
parent 983c5f3c6a
commit 270d00c1e8
2 changed files with 2 additions and 11 deletions

View File

@ -408,15 +408,6 @@ parameters:
count: 1 count: 1
path: src/Bundle/ChillCustomFieldsBundle/Form/CustomFieldsGroupType.php path: src/Bundle/ChillCustomFieldsBundle/Form/CustomFieldsGroupType.php
-
message:
"""
#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
Use getReachableCircles$#
"""
count: 1
path: src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php
- -
message: message:
""" """

View File

@ -53,10 +53,10 @@ class PersonDocumentType extends AbstractType
*/ */
protected $user; protected $user;
private ScopeResolverDispatcher $scopeResolverDispatcher;
private ParameterBagInterface $parameterBag; private ParameterBagInterface $parameterBag;
private ScopeResolverDispatcher $scopeResolverDispatcher;
public function __construct( public function __construct(
TranslatableStringHelper $translatableStringHelper, TranslatableStringHelper $translatableStringHelper,
ScopeResolverDispatcher $scopeResolverDispatcher, ScopeResolverDispatcher $scopeResolverDispatcher,