mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-03 18:58:24 +00:00 
			
		
		
		
	Merge branch 'master' into 111_exports_suite
This commit is contained in:
		@@ -31,13 +31,6 @@ parameters:
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillActivityBundle/Form/ActivityType.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
 | 
			
		||||
				Use getReachableCircles$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
@@ -150,14 +143,6 @@ parameters:
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillEventBundle/Form/Type/PickEventType.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
 | 
			
		||||
				Use getReachableCircles$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillEventBundle/Search/EventSearch.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Instantiation of deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Role\\\\Role\\:
 | 
			
		||||
@@ -231,6 +216,22 @@ parameters:
 | 
			
		||||
			path: src/Bundle/ChillMainBundle/Entity/User.php
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Return type of method Chill\\\\MainBundle\\\\Export\\\\ExportInterface\\:\\:requiredRole\\(\\) has typehint with deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Role\\\\Role\\:
 | 
			
		||||
				since Symfony 4\\.3, to be removed in 5\\.0\\. Use strings as roles instead\\.$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillMainBundle/Export/ExportInterface.php
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Return type of method Chill\\\\MainBundle\\\\Export\\\\ModifierInterface\\:\\:addRole\\(\\) has typehint with deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Role\\\\Role\\:
 | 
			
		||||
				since Symfony 4\\.3, to be removed in 5\\.0\\. Use strings as roles instead\\.$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillMainBundle/Export/ModifierInterface.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
@@ -444,14 +445,6 @@ parameters:
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillPersonBundle/Widget/PersonListWidget.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
 | 
			
		||||
				Use getReachableCircles$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Controller/ReportController.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Instantiation of deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Role\\\\Role\\:
 | 
			
		||||
@@ -461,14 +454,6 @@ parameters:
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Controller/ReportController.php
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
 | 
			
		||||
				Use getReachableCircles$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Form/ReportType.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Parameter \\$role of method Chill\\\\ReportBundle\\\\Form\\\\ReportType\\:\\:appendScopeChoices\\(\\) has typehint with deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Role\\\\Role\\:
 | 
			
		||||
@@ -477,14 +462,6 @@ parameters:
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Form/ReportType.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
 | 
			
		||||
				Use getReachableCircles$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Search/ReportSearch.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Instantiation of deprecated class Symfony\\\\Component\\\\Security\\\\Core\\\\Role\\\\Role\\:
 | 
			
		||||
@@ -493,13 +470,6 @@ parameters:
 | 
			
		||||
			count: 1
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Search/ReportSearch.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
				#^Call to deprecated method getReachableScopes\\(\\) of class Chill\\\\MainBundle\\\\Security\\\\Authorization\\\\AuthorizationHelper\\:
 | 
			
		||||
				Use getReachableCircles$#
 | 
			
		||||
			"""
 | 
			
		||||
			count: 2
 | 
			
		||||
			path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php
 | 
			
		||||
 | 
			
		||||
		-
 | 
			
		||||
			message: """
 | 
			
		||||
 
 | 
			
		||||
@@ -190,8 +190,6 @@ class AuthorizationHelper implements AuthorizationHelperInterface
 | 
			
		||||
    /**
 | 
			
		||||
     * Return all reachable scope for a given user, center and role.
 | 
			
		||||
     *
 | 
			
		||||
     * @deprecated Use getReachableCircles
 | 
			
		||||
     *
 | 
			
		||||
     * @param Center|Center[] $center
 | 
			
		||||
     *
 | 
			
		||||
     * @return array|Scope[]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user