diff --git a/.php_cs.dist.php b/.php_cs.dist.php index 8ae10eb9a..86c5c62c2 100644 --- a/.php_cs.dist.php +++ b/.php_cs.dist.php @@ -25,20 +25,20 @@ $riskyRules = [ 'strict_param' => false, 'declare_strict_types' => false, 'ternary_to_elvis_operator' => false, - 'no_unreachable_default_argument_value' => false, - 'php_unit_test_case_static_method_calls' => false, 'strict_comparison' => false, - 'ereg_to_preg' => false, 'php_unit_mock_short_will_return' => false, 'php_unit_set_up_tear_down_visibility' => false, - 'ordered_interfaces' => false, 'php_unit_construct' => false, 'php_unit_dedicate_assert' => false, 'php_unit_expectation' => false, 'php_unit_mock' => false, 'php_unit_namespaced' => false, 'php_unit_no_expectation_annotation' => false, + 'php_unit_test_case_static_method_calls' => false, 'php_unit_test_annotation' => false, + // 'no_unreachable_default_argument_value' => false, + // 'ereg_to_preg' => false, + // 'ordered_interfaces' => false, // 'error_suppression' => false, // 'non_printable_character' => false, // 'ordered_traits' => false, diff --git a/docs/source/_static/code/exports/BirthdateFilter.php b/docs/source/_static/code/exports/BirthdateFilter.php index 5ddcf3bfe..e3ca24e72 100644 --- a/docs/source/_static/code/exports/BirthdateFilter.php +++ b/docs/source/_static/code/exports/BirthdateFilter.php @@ -16,7 +16,7 @@ use Doctrine\ORM\Query\Expr; use Symfony\Component\Form\Extension\Core\Type\DateType; use Symfony\Component\Validator\Context\ExecutionContextInterface; -class BirthdateFilter implements FilterInterface, ExportElementValidatedInterface +class BirthdateFilter implements ExportElementValidatedInterface, FilterInterface { // add specific role for this filter public function addRole() diff --git a/docs/source/development/user-interface/widgets/ChillMainConfiguration.php b/docs/source/development/user-interface/widgets/ChillMainConfiguration.php index 4bdde88cd..94ff340a2 100644 --- a/docs/source/development/user-interface/widgets/ChillMainConfiguration.php +++ b/docs/source/development/user-interface/widgets/ChillMainConfiguration.php @@ -27,7 +27,7 @@ namespace Chill\MainBundle\DependencyInjection; private $containerBuilder; public function __construct( - array $widgetFactories = [], + array $widgetFactories, ContainerBuilder $containerBuilder ) { // we register here widget factories (see below) diff --git a/src/Bundle/ChillActivityBundle/Entity/Activity.php b/src/Bundle/ChillActivityBundle/Entity/Activity.php index 45777dc09..d09028dba 100644 --- a/src/Bundle/ChillActivityBundle/Entity/Activity.php +++ b/src/Bundle/ChillActivityBundle/Entity/Activity.php @@ -53,7 +53,7 @@ use Symfony\Component\Serializer\Annotation\SerializedName; * getUserFunction="getUser", * path="scope") */ -class Activity implements HasCenterInterface, HasScopeInterface, AccompanyingPeriodLinkedWithSocialIssuesEntityInterface +class Activity implements AccompanyingPeriodLinkedWithSocialIssuesEntityInterface, HasCenterInterface, HasScopeInterface { public const SENTRECEIVED_RECEIVED = 'received'; diff --git a/src/Bundle/ChillActivityBundle/Export/Filter/ActivityReasonFilter.php b/src/Bundle/ChillActivityBundle/Export/Filter/ActivityReasonFilter.php index a8dfdc15e..ff0767116 100644 --- a/src/Bundle/ChillActivityBundle/Export/Filter/ActivityReasonFilter.php +++ b/src/Bundle/ChillActivityBundle/Export/Filter/ActivityReasonFilter.php @@ -28,7 +28,7 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface; use function array_key_exists; use function count; -class ActivityReasonFilter implements FilterInterface, ExportElementValidatedInterface +class ActivityReasonFilter implements ExportElementValidatedInterface, FilterInterface { protected ActivityReasonRepository $activityReasonRepository; diff --git a/src/Bundle/ChillActivityBundle/Export/Filter/ActivityTypeFilter.php b/src/Bundle/ChillActivityBundle/Export/Filter/ActivityTypeFilter.php index e8d1f2377..0b283632a 100644 --- a/src/Bundle/ChillActivityBundle/Export/Filter/ActivityTypeFilter.php +++ b/src/Bundle/ChillActivityBundle/Export/Filter/ActivityTypeFilter.php @@ -26,7 +26,7 @@ use Symfony\Component\Security\Core\Role\Role; use Symfony\Component\Validator\Context\ExecutionContextInterface; use function count; -class ActivityTypeFilter implements FilterInterface, ExportElementValidatedInterface +class ActivityTypeFilter implements ExportElementValidatedInterface, FilterInterface { protected ActivityTypeRepository $activityTypeRepository; diff --git a/src/Bundle/ChillActivityBundle/Export/Filter/PersonHavingActivityBetweenDateFilter.php b/src/Bundle/ChillActivityBundle/Export/Filter/PersonHavingActivityBetweenDateFilter.php index f16756911..55b1337bf 100644 --- a/src/Bundle/ChillActivityBundle/Export/Filter/PersonHavingActivityBetweenDateFilter.php +++ b/src/Bundle/ChillActivityBundle/Export/Filter/PersonHavingActivityBetweenDateFilter.php @@ -33,7 +33,7 @@ use Symfony\Component\Translation\TranslatorInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; use function count; -class PersonHavingActivityBetweenDateFilter implements FilterInterface, ExportElementValidatedInterface +class PersonHavingActivityBetweenDateFilter implements ExportElementValidatedInterface, FilterInterface { protected ActivityReasonRepository $activityReasonRepository; diff --git a/src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php b/src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php index fc0eca9cd..2f4efe580 100644 --- a/src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php +++ b/src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php @@ -22,7 +22,7 @@ use Symfony\Component\Validator\Constraints as Assert; * @ORM\Entity * @ORM\Table(schema="chill_asideactivity") */ -class AsideActivity implements TrackUpdateInterface, TrackCreationInterface +class AsideActivity implements TrackCreationInterface, TrackUpdateInterface { /** * @ORM\ManyToOne(targetEntity=User::class) diff --git a/src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php b/src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php index 8da8a6a7b..5672d4d22 100644 --- a/src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php +++ b/src/Bundle/ChillDocGeneratorBundle/Serializer/Normalizer/DocGenObjectNormalizer.php @@ -31,7 +31,7 @@ use function in_array; use function is_array; use function is_object; -class DocGenObjectNormalizer implements NormalizerInterface, NormalizerAwareInterface +class DocGenObjectNormalizer implements NormalizerAwareInterface, NormalizerInterface { use NormalizerAwareTrait; diff --git a/src/Bundle/ChillEventBundle/Controller/EventController.php b/src/Bundle/ChillEventBundle/Controller/EventController.php index 549b5ebac..db2eb999e 100644 --- a/src/Bundle/ChillEventBundle/Controller/EventController.php +++ b/src/Bundle/ChillEventBundle/Controller/EventController.php @@ -230,7 +230,7 @@ class EventController extends AbstractController * * @return \Symfony\Component\HttpFoundation\Response */ - public function newAction(?Center $center = null, Request $request) + public function newAction(?Center $center, Request $request) { if (null === $center) { $center_id = $request->query->get('center_id'); diff --git a/src/Bundle/ChillEventBundle/Entity/Participation.php b/src/Bundle/ChillEventBundle/Entity/Participation.php index ffdd72c2d..a0f1f367f 100644 --- a/src/Bundle/ChillEventBundle/Entity/Participation.php +++ b/src/Bundle/ChillEventBundle/Entity/Participation.php @@ -29,7 +29,7 @@ use function in_array; * @ORM\Table(name="chill_event_participation") * @ORM\HasLifecycleCallbacks */ -class Participation implements HasCenterInterface, HasScopeInterface, ArrayAccess +class Participation implements ArrayAccess, HasCenterInterface, HasScopeInterface { /** * @var Event diff --git a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php index 70c6fe1dc..1dc27dea0 100644 --- a/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php +++ b/src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php @@ -26,7 +26,7 @@ use function str_replace; * create a user for each permission_group and center. * username and password are identicals. */ -class LoadUsers extends AbstractFixture implements OrderedFixtureInterface, ContainerAwareInterface +class LoadUsers extends AbstractFixture implements ContainerAwareInterface, OrderedFixtureInterface { public static $refs = [ 'center a_social' => [ diff --git a/src/Bundle/ChillMainBundle/Serializer/Normalizer/CenterNormalizer.php b/src/Bundle/ChillMainBundle/Serializer/Normalizer/CenterNormalizer.php index c5211e5a2..285123290 100644 --- a/src/Bundle/ChillMainBundle/Serializer/Normalizer/CenterNormalizer.php +++ b/src/Bundle/ChillMainBundle/Serializer/Normalizer/CenterNormalizer.php @@ -17,7 +17,7 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; use function array_key_exists; -class CenterNormalizer implements NormalizerInterface, DenormalizerInterface +class CenterNormalizer implements DenormalizerInterface, NormalizerInterface { private CenterRepository $repository; diff --git a/src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php b/src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php index ce2a36f09..d1aff5c4a 100644 --- a/src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php +++ b/src/Bundle/ChillMainBundle/Serializer/Normalizer/CollectionNormalizer.php @@ -14,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class CollectionNormalizer implements NormalizerInterface, NormalizerAwareInterface +class CollectionNormalizer implements NormalizerAwareInterface, NormalizerInterface { use NormalizerAwareTrait; diff --git a/src/Bundle/ChillMainBundle/Serializer/Normalizer/UserNormalizer.php b/src/Bundle/ChillMainBundle/Serializer/Normalizer/UserNormalizer.php index 66274f058..aeb61ded6 100644 --- a/src/Bundle/ChillMainBundle/Serializer/Normalizer/UserNormalizer.php +++ b/src/Bundle/ChillMainBundle/Serializer/Normalizer/UserNormalizer.php @@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class UserNormalizer implements NormalizerInterface, NormalizerAwareInterface +class UserNormalizer implements NormalizerAwareInterface, NormalizerInterface { use NormalizerAwareTrait; diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php index 28c829b0f..6554dc139 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php @@ -26,8 +26,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Contracts\Translation\TranslatorInterface; class LoadCustomFields extends AbstractFixture implements - OrderedFixtureInterface, - ContainerAwareInterface + ContainerAwareInterface, + OrderedFixtureInterface { /** * @var ContainerInterface diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php index 441ca9170..edd1c1c35 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php @@ -47,7 +47,7 @@ use function ucfirst; /** * Load people into database. */ -class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, ContainerAwareInterface +class LoadPeople extends AbstractFixture implements ContainerAwareInterface, OrderedFixtureInterface { use \Symfony\Component\DependencyInjection\ContainerAwareTrait; diff --git a/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php b/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php index 98b7d42f2..f85e8d08f 100644 --- a/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php +++ b/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php @@ -58,11 +58,11 @@ use const SORT_REGULAR; * ) */ class AccompanyingPeriod implements - TrackCreationInterface, - TrackUpdateInterface, - HasScopesInterface, + GroupSequenceProviderInterface, HasCentersInterface, - GroupSequenceProviderInterface + HasScopesInterface, + TrackCreationInterface, + TrackUpdateInterface { public const INTENSITIES = [self::INTENSITY_OCCASIONAL, self::INTENSITY_REGULAR]; diff --git a/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod/AccompanyingPeriodWorkEvaluation.php b/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod/AccompanyingPeriodWorkEvaluation.php index 8317f8838..63da53ebd 100644 --- a/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod/AccompanyingPeriodWorkEvaluation.php +++ b/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod/AccompanyingPeriodWorkEvaluation.php @@ -30,7 +30,7 @@ use Symfony\Component\Serializer\Annotation as Serializer; * "accompanying_period_work_evaluation": AccompanyingPeriodWorkEvaluation::class, * }) */ -class AccompanyingPeriodWorkEvaluation implements TrackUpdateInterface, TrackCreationInterface +class AccompanyingPeriodWorkEvaluation implements TrackCreationInterface, TrackUpdateInterface { /** * @ORM\ManyToOne( diff --git a/src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php b/src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php index d8c11a906..0ea154412 100644 --- a/src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php +++ b/src/Bundle/ChillPersonBundle/Export/Export/ListPerson.php @@ -44,7 +44,7 @@ use function uniqid; /** * Render a list of people. */ -class ListPerson implements ListInterface, ExportElementValidatedInterface +class ListPerson implements ExportElementValidatedInterface, ListInterface { protected CustomFieldProvider $customFieldProvider; diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/BirthdateFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/BirthdateFilter.php index 518df3d4b..efd78af8c 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/BirthdateFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/BirthdateFilter.php @@ -16,7 +16,7 @@ use Doctrine\ORM\Query\Expr; use Symfony\Component\Form\Extension\Core\Type\DateType; use Symfony\Component\Validator\Context\ExecutionContextInterface; -class BirthdateFilter implements FilterInterface, ExportElementValidatedInterface +class BirthdateFilter implements ExportElementValidatedInterface, FilterInterface { public function addRole() { diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/GenderFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/GenderFilter.php index ad03b4e3d..5079f6d37 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/GenderFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/GenderFilter.php @@ -25,8 +25,8 @@ use function in_array; use function is_array; class GenderFilter implements - FilterInterface, - ExportElementValidatedInterface + ExportElementValidatedInterface, + FilterInterface { /** * @var TranslatorInterface diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/NationalityFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/NationalityFilter.php index 449af1913..3ed26b58e 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/NationalityFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/NationalityFilter.php @@ -20,8 +20,8 @@ use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; class NationalityFilter implements - FilterInterface, - ExportElementValidatedInterface + ExportElementValidatedInterface, + FilterInterface { /** * @var TranslatableStringHelper diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodParticipationNormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodParticipationNormalizer.php index c35d55b96..a6f57964e 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodParticipationNormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodParticipationNormalizer.php @@ -13,7 +13,7 @@ use Chill\PersonBundle\Entity\AccompanyingPeriodParticipation; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class AccompanyingPeriodParticipationNormalizer implements NormalizerInterface, NormalizerAwareInterface +class AccompanyingPeriodParticipationNormalizer implements NormalizerAwareInterface, NormalizerInterface { protected ?NormalizerInterface $normalizer = null; diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodResourceNormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodResourceNormalizer.php index a3868607a..ed1569b95 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodResourceNormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodResourceNormalizer.php @@ -23,7 +23,7 @@ use function array_key_exists; use function array_merge; use function count; -class AccompanyingPeriodResourceNormalizer implements DenormalizerInterface, DenormalizerAwareInterface +class AccompanyingPeriodResourceNormalizer implements DenormalizerAwareInterface, DenormalizerInterface { use DenormalizerAwareTrait; use ObjectToPopulateTrait; diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkDenormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkDenormalizer.php index cfc5e0566..20581d365 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkDenormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/AccompanyingPeriodWorkDenormalizer.php @@ -27,7 +27,7 @@ use function is_array; * This denormalizer rely on AbstractNormalizer for most of the job, and * add some logic for synchronizing collection. */ -class AccompanyingPeriodWorkDenormalizer implements DenormalizerAwareInterface, ContextAwareDenormalizerInterface +class AccompanyingPeriodWorkDenormalizer implements ContextAwareDenormalizerInterface, DenormalizerAwareInterface { use DenormalizerAwareTrait; use ObjectToPopulateTrait; diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/MembersEditorNormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/MembersEditorNormalizer.php index 4e54c11be..d2304ef99 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/MembersEditorNormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/MembersEditorNormalizer.php @@ -23,7 +23,7 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use function array_key_exists; -class MembersEditorNormalizer implements DenormalizerInterface, DenormalizerAwareInterface +class MembersEditorNormalizer implements DenormalizerAwareInterface, DenormalizerInterface { use DenormalizerAwareTrait; diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php index cbb704d28..d930e2bd2 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php @@ -31,10 +31,10 @@ use function array_key_exists; * Serialize a Person entity. */ class PersonJsonNormalizer implements - NormalizerInterface, - NormalizerAwareInterface, + DenormalizerAwareInterface, DenormalizerInterface, - DenormalizerAwareInterface + NormalizerAwareInterface, + NormalizerInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialActionNormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialActionNormalizer.php index e77aea18c..eeffc6455 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialActionNormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialActionNormalizer.php @@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SocialActionNormalizer implements NormalizerInterface, NormalizerAwareInterface +class SocialActionNormalizer implements NormalizerAwareInterface, NormalizerInterface { use NormalizerAwareTrait; diff --git a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialIssueNormalizer.php b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialIssueNormalizer.php index dd5577bbc..67ab4a491 100644 --- a/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialIssueNormalizer.php +++ b/src/Bundle/ChillPersonBundle/Serializer/Normalizer/SocialIssueNormalizer.php @@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SocialIssueNormalizer implements NormalizerInterface, NormalizerAwareInterface +class SocialIssueNormalizer implements NormalizerAwareInterface, NormalizerInterface { use NormalizerAwareTrait; diff --git a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php index cd4cda368..d8ae8ec3f 100644 --- a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php +++ b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php @@ -25,7 +25,7 @@ use function in_array; /** * Load reports into DB. */ -class LoadReports extends AbstractFixture implements OrderedFixtureInterface, ContainerAwareInterface +class LoadReports extends AbstractFixture implements ContainerAwareInterface, OrderedFixtureInterface { use \Symfony\Component\DependencyInjection\ContainerAwareTrait; diff --git a/src/Bundle/ChillReportBundle/Export/Export/ReportList.php b/src/Bundle/ChillReportBundle/Export/Export/ReportList.php index edd49e2f3..2164b0b5e 100644 --- a/src/Bundle/ChillReportBundle/Export/Export/ReportList.php +++ b/src/Bundle/ChillReportBundle/Export/Export/ReportList.php @@ -47,7 +47,7 @@ use function strtolower; use function ucfirst; use function uniqid; -class ReportList implements ListInterface, ExportElementValidatedInterface +class ReportList implements ExportElementValidatedInterface, ListInterface { protected CustomFieldProvider $customFieldProvider; diff --git a/src/Bundle/ChillTaskBundle/Entity/AbstractTask.php b/src/Bundle/ChillTaskBundle/Entity/AbstractTask.php index 607818767..4d20305c0 100644 --- a/src/Bundle/ChillTaskBundle/Entity/AbstractTask.php +++ b/src/Bundle/ChillTaskBundle/Entity/AbstractTask.php @@ -25,7 +25,7 @@ use function array_keys; * * @ORM\MappedSuperclass */ -abstract class AbstractTask implements HasScopeInterface, HasCenterInterface +abstract class AbstractTask implements HasCenterInterface, HasScopeInterface { /** * @var User diff --git a/src/Bundle/ChillThirdPartyBundle/Serializer/Normalizer/ThirdPartyNormalizer.php b/src/Bundle/ChillThirdPartyBundle/Serializer/Normalizer/ThirdPartyNormalizer.php index c086d7c1a..50ecefb18 100644 --- a/src/Bundle/ChillThirdPartyBundle/Serializer/Normalizer/ThirdPartyNormalizer.php +++ b/src/Bundle/ChillThirdPartyBundle/Serializer/Normalizer/ThirdPartyNormalizer.php @@ -17,7 +17,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ThirdPartyNormalizer implements NormalizerInterface, NormalizerAwareInterface +class ThirdPartyNormalizer implements NormalizerAwareInterface, NormalizerInterface { use NormalizerAwareTrait;