DigitalState/Platform-Notification-Bundle

View on GitHub

Showing 2 of 17 total issues

Method buildForm has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('user', 'oro_jqueryselect2_hidden', [
            'label' => 'ds.notification.subscription.user.label',
            'autocomplete_alias' => 'users',
Severity: Minor
Found in Form/Type/SubscriptionType.php - About 1 hr to fix

    Method buildForm has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function buildForm(FormBuilderInterface $builder, array $options)
        {
            $builder->add('titles', 'oro_locale_localized_fallback_value_collection', [
                'label' => 'ds.notification.title.label',
                'type' => 'text',
    Severity: Minor
    Found in Form/Type/NotificationType.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language