From 3f7623eac898d55b22faa8edc239d5a8a5c37072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubomi=CC=81r=20Jir=CC=8Cis=CC=8Cta?= Date: Sat, 29 Oct 2016 20:27:12 +0200 Subject: [PATCH 1/4] Let registration works again --- .gitignore | 1 + src/AppBundle/Entity/User.php | 6 +- web/config.php | 217 +++++++++++++++++++++++++++++++++- 3 files changed, 216 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 947ec6a..a9b5776 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /vendor/ /web/bundles/ composer.lock +composer.phar diff --git a/src/AppBundle/Entity/User.php b/src/AppBundle/Entity/User.php index b55cf83..6384b3b 100644 --- a/src/AppBundle/Entity/User.php +++ b/src/AppBundle/Entity/User.php @@ -44,19 +44,19 @@ class User implements UserInterface /** * @var string - * @ORM\Column(type="string") + * @ORM\Column(type="string", nullable=true) */ private $firstName; /** * @var string - * @ORM\Column(type="string") + * @ORM\Column(type="string", nullable=true) */ private $lastName; /** * @var string - * @ORM\Column(type="string") + * @ORM\Column(type="string", nullable=true) */ private $phone; diff --git a/web/config.php b/web/config.php index 1368c8a..a031a3a 100644 --- a/web/config.php +++ b/web/config.php @@ -38,9 +38,216 @@ Symfony Configuration Checker - - -