]> Raphaël G. Git Repositories - userbundle/commitdiff
Indent
authorRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 23:47:53 +0000 (00:47 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 23:47:53 +0000 (00:47 +0100)
Cleanup

config/doctrine/Civility.orm.xml
config/doctrine/Group.orm.xml
config/doctrine/User.orm.xml

index 6cbd3d9f1a10a210db043b79a82297806136de27..7d92aa0180bbeb7be6675a17aa00a03806bcd6a0 100644 (file)
@@ -1,19 +1,18 @@
 <?xml version="1.0" encoding="utf-8"?>
 <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
-  <!--<entity name="Rapsys\UserBundle\Entity\Civility" table="civilities">-->
-  <mapped-superclass name="Rapsys\UserBundle\Entity\Civility">
-    <id name="id" type="integer" column="id">
-               <generator strategy="AUTO" />
-               <options>
-                 <option name="unsigned">true</option>
-               </options>
-    </id>
-       <field name="title" type="string" length="16" />
-       <field name="created" type="datetime" />
-       <field name="updated" type="datetime" />
-    <one-to-many field="users" target-entity="Rapsys\UserBundle\Entity\User" mapped-by="civility" fetch="LAZY"/>
-       <lifecycle-callbacks>
-      <lifecycle-callback type="preUpdate" method="preUpdate" />
-    </lifecycle-callbacks>
-  </mapped-superclass>
+       <mapped-superclass name="Rapsys\UserBundle\Entity\Civility">
+               <id name="id" type="integer">
+                       <generator strategy="AUTO" />
+                       <options>
+                               <option name="unsigned">true</option>
+                       </options>
+               </id>
+               <field name="title" type="string" length="16" />
+               <field name="created" type="datetime" />
+               <field name="updated" type="datetime" />
+               <one-to-many field="users" target-entity="Rapsys\UserBundle\Entity\User" mapped-by="civility" fetch="LAZY"/>
+               <lifecycle-callbacks>
+                       <lifecycle-callback type="preUpdate" method="preUpdate" />
+               </lifecycle-callbacks>
+       </mapped-superclass>
 </doctrine-mapping>
index 441ad52f7664832288f684ffcb06bb5c22f194c0..5f373780391a7f0d769a967a959715e87308c224 100644 (file)
@@ -1,18 +1,18 @@
 <?xml version="1.0" encoding="utf-8"?>
 <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
-  <mapped-superclass name="Rapsys\UserBundle\Entity\Group">
-    <id name="id" type="integer" column="id">
-               <generator strategy="AUTO" />
-               <options>
-                 <option name="unsigned">true</option>
-               </options>
-    </id>
-       <field name="title" type="string" length="16" />
-       <field name="created" type="datetime" />
-       <field name="updated" type="datetime" />
-       <many-to-many field="users" target-entity="Rapsys\UserBundle\Entity\User" inversed-by="groups" fetch="LAZY" />
-       <lifecycle-callbacks>
-      <lifecycle-callback type="preUpdate" method="preUpdate" />
-    </lifecycle-callbacks>
-  </mapped-superclass>
+       <mapped-superclass name="Rapsys\UserBundle\Entity\Group">
+               <id name="id" type="integer">
+                       <generator strategy="AUTO" />
+                       <options>
+                               <option name="unsigned">true</option>
+                       </options>
+               </id>
+               <field name="title" type="string" length="16" />
+               <field name="created" type="datetime" />
+               <field name="updated" type="datetime" />
+               <many-to-many field="users" target-entity="Rapsys\UserBundle\Entity\User" inversed-by="groups" fetch="LAZY" />
+               <lifecycle-callbacks>
+                       <lifecycle-callback type="preUpdate" method="preUpdate" />
+               </lifecycle-callbacks>
+       </mapped-superclass>
 </doctrine-mapping>
index 7f83696891f910623f9055868a83411e62ae64cc..a9e7c192968878071bdd0f3cf7e9f1a69e4356b4 100644 (file)
@@ -1,32 +1,32 @@
 <?xml version="1.0" encoding="utf-8"?>
 <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
-  <mapped-superclass name="Rapsys\UserBundle\Entity\User" repository-class="Rapsys\UserBundle\Repository\UserRepository">
-    <id name="id" type="integer" column="id">
-               <generator strategy="AUTO" />
-               <options>
-                 <option name="unsigned">true</option>
-               </options>
-    </id>
-       <field name="mail" type="string" length="254" unique="true" />
-       <field name="forename" type="string" length="32" nullable="true" />
-       <field name="surname" type="string" length="32" nullable="true" />
-       <field name="password" type="string" length="100" nullable="true" />
-       <field name="active" type="boolean">
-      <options>
-        <option name="default">true</option>
-      </options>
-       </field>
-       <field name="enable" type="boolean">
-      <options>
-        <option name="default">true</option>
-      </options>
-       </field>
-       <field name="created" type="datetime" />
-       <field name="updated" type="datetime" />
-       <many-to-one field="civility" target-entity="Rapsys\UserBundle\Entity\Civility" inversed-by="users" fetch="LAZY" />
-       <many-to-many field="groups" target-entity="Rapsys\UserBundle\Entity\Group" inversed-by="users" fetch="LAZY" />
-       <lifecycle-callbacks>
-      <lifecycle-callback type="preUpdate" method="preUpdate" />
-    </lifecycle-callbacks>
-  </mapped-superclass>
+       <mapped-superclass name="Rapsys\UserBundle\Entity\User" repository-class="Rapsys\UserBundle\Repository\UserRepository">
+               <id name="id" type="integer">
+                       <generator strategy="AUTO" />
+                       <options>
+                               <option name="unsigned">true</option>
+                       </options>
+               </id>
+               <field name="mail" type="string" length="254" unique="true" />
+               <field name="forename" type="string" length="32" nullable="true" />
+               <field name="surname" type="string" length="32" nullable="true" />
+               <field name="password" type="string" length="100" nullable="true" />
+               <field name="active" type="boolean">
+                       <options>
+                               <option name="default">true</option>
+                       </options>
+               </field>
+               <field name="enable" type="boolean">
+                       <options>
+                               <option name="default">true</option>
+                       </options>
+               </field>
+               <field name="created" type="datetime" />
+               <field name="updated" type="datetime" />
+               <many-to-one field="civility" target-entity="Rapsys\UserBundle\Entity\Civility" inversed-by="users" fetch="LAZY" />
+               <many-to-many field="groups" target-entity="Rapsys\UserBundle\Entity\Group" inversed-by="users" fetch="LAZY" />
+               <lifecycle-callbacks>
+                       <lifecycle-callback type="preUpdate" method="preUpdate" />
+               </lifecycle-callbacks>
+       </mapped-superclass>
 </doctrine-mapping>