Nicolas Nutten
eba933bb47
To avoid "SpacingAfterParams" error with PHPCS Symfony2 coding standard
...
Hello,
I added two blank lines in comments two avoid the following error with PHPCS Symfony2 coding standard :
Error Code: SpacingAfterParams
Error Description: Last parameter comment requires a blank new line after it.
2013-07-22 10:56:18 +02:00
Guilherme Blanco
fbbb161987
Merge pull request #719 from tristanlins/fix/entity-generator-extensibility
...
Access properties via static:: instead of self::.
2013-07-17 17:18:01 -07:00
Guilherme Blanco
78fc129614
Merge pull request #632 from Padam87/entgentrait
...
entity generator - ignore trait properties and methods
2013-07-07 12:37:55 -07:00
Tristan Lins
641774630b
Access properties via static:: instead of self::.
...
The properties of EntityGenerator are now protected instead of private.
But this does not make sense until they are accessed with static::.
Otherwise the templates cannot be overwritten within a sub class.
2013-07-05 13:40:57 +02:00
Adam Prager
73e2aa54ef
moved php version check
2013-06-14 10:07:05 +02:00
Benjamin Eberlei
e3b8ce7737
[DDC-2423] Fixed bug with EntityGenerator not generating fetch="" attribute in association annotations.
2013-05-09 10:55:12 +02:00
Pascal Borreli
30b050b44c
Fixed typos
2013-04-06 14:31:27 +00:00
Adam Prager
3b7b457d35
minor fixes
2013-04-04 20:07:21 +02:00
Adam Prager
937ba6385e
fixed code duplication issue
2013-03-31 00:47:24 +01:00
Adam Prager
9797177193
check if ReflectionClass::getTraits() method exists
2013-03-27 02:48:35 +01:00
Adam Prager
8898c91dfc
only check for traits when class exists
2013-03-26 21:28:09 +01:00
Adam Prager
8e3e2e770a
Revert "only use already existing reflections"
...
This reverts commit bb5bdcf0f4
.
2013-03-26 21:17:59 +01:00
Adam Prager
bb5bdcf0f4
only use already existing reflections
2013-03-26 21:14:52 +01:00
Adam Prager
521276f1ed
entity generator - ignore trait properties and methods
2013-03-26 20:52:57 +01:00
Vladislav Veselinov
30fd22a260
Use inflector for add/remove methods
2013-02-28 21:05:41 +02:00
Benjamin Morel
774bb3fec4
Fixed missed documentation issues in Doctrine\ORM
2012-12-14 20:12:56 +00:00
Benjamin Morel
e72445b836
Fixed documentation for Doctrine\ORM\Tools
2012-12-13 18:55:44 +00:00
Benjamin Morel
43b301f22b
Fixed English mistakes
2012-12-03 11:02:29 +00:00
Fabio B. Silva
bac92f4d3e
Fix CS
2012-11-27 16:58:48 -02:00
Fabio B. Silva
d1dc72b65a
refactoring tests
2012-11-27 14:38:18 -02:00
Fabio B. Silva
41b907606f
Fix DDC-2172
2012-11-27 14:29:02 -02:00
Benjamin Eberlei
4e04daaed4
Merge pull request #466 from ethanresnick/patch-1
...
Use `protected` so EntityGenerator can be extended
2012-11-12 04:05:23 -08:00
Guilherme Blanco
262c3eea6b
Merge pull request #506 from FabioBatSilva/DDC-2121
...
Fix DDC-2121
2012-11-05 16:27:34 -08:00
Fabio B. Silva
2f7e970c5f
Fix DDC-2121
2012-11-05 21:53:07 -02:00
Nick Masters
e402a0c078
Spaces around ! sign
2012-11-04 15:22:32 +00:00
Nick Masters
3a8ea7260c
Merge remote-tracking branch 'origin/master' into codegenerationfixes
2012-11-04 15:14:54 +00:00
Christophe Coevoet
5a6c398ea0
Fixed coding standards in the Tools namespace
2012-11-03 16:37:31 +01:00
Markus Lanthaler
1b7ca67fdb
Improve DocBlock annotations of generated entities
...
Currently, the DocBlock annotations for member variables contain the variable name as description which is redundant and should be removed. Furthermore the class is annotated with the FQN instead of just the name. This makes automatically generated documentation quite ugly.
2012-11-02 17:15:44 +01:00
Nick Masters
0a2ba38e58
Add new line to end of file
2012-10-30 22:42:01 +00:00
Nick Masters
0f92944edd
Do not add trailing whitespace to blank lines
2012-10-30 22:22:04 +00:00
Fabio B. Silva
fb467a1196
Fix DDC-2079
2012-10-20 15:37:13 -03:00
jakoch
d4a6c488ca
fixed use statements
2012-10-12 13:53:20 +02:00
Ethan
c604adc804
Use protected so generator can be extended
...
This is definitely something I'd like to be able to extend, and I imagine others might too.
2012-10-09 08:00:51 -03:00
barelon
919cf8558b
Remove trailing whitespace
2012-10-02 00:16:29 +03:00
barelon
c97eff94f5
Output cascade={"all"} if all cascade options set
2012-09-30 01:12:06 +03:00
Benjamin Eberlei
bcbef5670c
Merge branch 'DDC-1939'
2012-07-29 09:27:20 +02:00
Christophe Coevoet
cebb820030
Added the new DBAL 2.3 types in the EntityGenerator typehint map
2012-07-27 10:34:59 +02:00
Marco Pivetta
aa0cb0b6d7
DDC-1939 - Removing references to non-existing AssociationMapping class
2012-07-24 11:37:57 +02:00
Benjamin Eberlei
30e86f442f
[DDC-1907] Fix template variable placeholder
2012-07-04 21:30:25 +02:00
Benjamin Eberlei
5cdb0ae8be
[DDC-1907] Add generation of remove method for collections
2012-07-04 21:04:47 +02:00
Tiago Ribeiro
bda7310b46
Added an empty line feed preceding the return statement
2012-07-03 12:57:14 +02:00
Włodzimierz Gajda
b263a00eac
Entities generator: constructor's template docblock
2012-06-06 08:44:25 +02:00
Benjamin Eberlei
1f2ce21b56
[DDC-1497] Change EntityGenerator add method generation for collections.
2012-05-27 20:31:01 +02:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Fabio B. Silva
e9974911fe
fix tests
2012-05-04 21:13:20 -03:00
Fabio B. Silva
67f0722211
change test to uses data provider
2012-05-04 21:13:19 -03:00
Fabio B. Silva
790d98133c
fix DDC-1694
2012-05-04 21:11:51 -03:00
Fabio B. Silva
9b02745cd8
Fix DDC-1784
2012-04-18 20:39:21 -03:00
Tiago Ribeiro
975f3c4600
Fixes autoloading of generated Annotations
2012-04-01 02:59:03 +02:00
Hugo Hamon
505537d4ce
[Tools] renamed AS to as in EntityGenerator class.
2012-03-24 11:07:41 +01:00