Skip to content

Commit 67f21b3

Browse files
committed
update to DynamicFormBundle
1 parent 1f0d52b commit 67f21b3

14 files changed

+27
-28
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Proof Of Concept (POC) Application
2-
### for [zikula/dynamic-form-property-bundle](https://github.com/zikula/DynamicFormPropertyBundle)
2+
### for [zikula/dynamic-form-bundle](https://github.com/zikula/DynamicFormBundle)
33

44
1. `composer install`
55
2. `./start.sh`
66

77
Stop with `./stop.sh`
88

9-
This is a _very basic_ Symfony application to show how to use [zikula/dynamic-form-property-bundle](https://github.com/zikula/DynamicFormPropertyBundle).
9+
This is a _very basic_ Symfony application to show how to use [zikula/dynamic-form-bundle](https://github.com/zikula/DynamicFormBundle).
1010

1111
This POC creates a *SurveyBuilder*. This application allows the site admin to create N surveys and then allows users to
1212
complete the created surveys and store the responses. Please be advised that this is a _very_ bare-bones application

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"symfony/yaml": "5.4.*",
4343
"twig/extra-bundle": "^2.12|^3.0",
4444
"twig/twig": "^2.12|^3.0",
45-
"zikula/dynamic-form-property-bundle": "dev-main"
45+
"zikula/dynamic-form-bundle": "dev-main"
4646
},
4747
"require-dev": {
4848
"phpunit/phpunit": "^9.5",

Diff for: composer.lock

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: config/bundles.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
1313
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
1414
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
15-
Zikula\Bundle\DynamicFormPropertyBundle\ZikulaDynamicFormPropertyBundle::class => ['all' => true],
15+
Zikula\Bundle\DynamicFormBundle\ZikulaDynamicFormBundle::class => ['all' => true],
1616
];

Diff for: config/packages/zikula_dynamic_form.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
zikula_dynamic_form:
2+
translate: true

Diff for: config/packages/zikula_dynamic_form_property.yaml

-2
This file was deleted.

Diff for: src/Entity/Question.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use App\Repository\QuestionRepository;
66
use Doctrine\ORM\Mapping as ORM;
7-
use Zikula\Bundle\DynamicFormPropertyBundle\Entity\AbstractDynamicPropertySpecification;
7+
use Zikula\Bundle\DynamicFormBundle\Entity\AbstractDynamicPropertySpecification;
88

99
#[ORM\Entity(repositoryClass: QuestionRepository::class)]
1010
class Question extends AbstractDynamicPropertySpecification

Diff for: src/Entity/Survey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Doctrine\Common\Collections\Criteria;
99
use Doctrine\ORM\Mapping as ORM;
1010
use Symfony\Component\Validator\Constraints as Assert;
11-
use Zikula\Bundle\DynamicFormPropertyBundle\Container\AbstractDynamicPropertiesContainer;
11+
use Zikula\Bundle\DynamicFormBundle\Container\AbstractDynamicPropertiesContainer;
1212

1313
#[ORM\Entity(repositoryClass: SurveyRepository::class)]
1414
class Survey extends AbstractDynamicPropertiesContainer

Diff for: src/Entity/SurveyResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use App\Repository\SurveyResponseRepository;
66
use Doctrine\ORM\Mapping as ORM;
7-
use Zikula\Bundle\DynamicFormPropertyBundle\Entity\AbstractDynamicPropertyData;
7+
use Zikula\Bundle\DynamicFormBundle\Entity\AbstractDynamicPropertyData;
88

99
#[ORM\Entity(repositoryClass: SurveyResponseRepository::class)]
1010
class SurveyResponse extends AbstractDynamicPropertyData

Diff for: src/EventSubscriber/CustomFormTypeSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use App\Form\HairColorType;
66
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
7-
use Zikula\Bundle\DynamicFormPropertyBundle\Event\FormTypeChoiceEvent;
7+
use Zikula\Bundle\DynamicFormBundle\Event\FormTypeChoiceEvent;
88

99
class CustomFormTypeSubscriber implements EventSubscriberInterface
1010
{

Diff for: src/EventSubscriber/SupportedLocaleSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace App\EventSubscriber;
44

55
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
6-
use Zikula\Bundle\DynamicFormPropertyBundle\Event\SupportedLocalesEvent;
6+
use Zikula\Bundle\DynamicFormBundle\Event\SupportedLocalesEvent;
77

88
class SupportedLocaleSubscriber implements EventSubscriberInterface
99
{

Diff for: src/Form/SurveyResponseType.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
use App\Entity\SurveyResponse;
66
use Symfony\Component\Form\AbstractType;
77
use Symfony\Component\Form\Extension\Core\Type\EmailType;
8-
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
98
use Symfony\Component\Form\FormBuilderInterface;
109
use Symfony\Component\OptionsResolver\OptionsResolver;
11-
use Zikula\Bundle\DynamicFormPropertyBundle\Form\Type\InlineFormDefinitionType;
10+
use Zikula\Bundle\DynamicFormBundle\Form\Type\InlineFormDefinitionType;
1211

1312
class SurveyResponseType extends AbstractType
1413
{

Diff for: src/Form/SurveyType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Symfony\Component\Form\Extension\Core\Type\TextType;
1010
use Symfony\Component\Form\FormBuilderInterface;
1111
use Symfony\Component\OptionsResolver\OptionsResolver;
12-
use Zikula\Bundle\DynamicFormPropertyBundle\Form\Type\DynamicFieldCollectionType;
12+
use Zikula\Bundle\DynamicFormBundle\Form\Type\DynamicFieldCollectionType;
1313

1414
class SurveyType extends AbstractType
1515
{

Diff for: symfony.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
"webmozart/assert": {
571571
"version": "1.10.0"
572572
},
573-
"zikula/dynamic-form-property-bundle": {
573+
"zikula/dynamic-form-bundle": {
574574
"version": "dev-main"
575575
}
576576
}

0 commit comments

Comments
 (0)