File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 10
10
* Useless PHPDoc (` @param ` and ` @return ` annotations when a typehint exist and mutator description) isn't generated anymore
11
11
* ` DateTimeInterface ` is used instead of ` DateTime ` when possible
12
12
* Add the ability to not generate accessor methods (useful when generating public properties)
13
- * The ` extract-cardinalities ` gains two new options: one to configure the Schema.org's file to use, the other for the GoodRelations one
14
- * The annotation generator for API Platform v1 has been dropped. Only API Platform v2 is now supported.
13
+ * The annotation generator for API Platform v1 has been dropped. Only API Platform v2 is now supported
15
14
* Parent class is not generated by default anymore (using inheritance for entity is discouraged)
16
15
* ` SerializerGroupsAnnotationGenerator ` is enabled by default
17
16
* The property name is pluralized for ` to-many ` relations and singularized for ` to-one ` relations
18
17
* Adder and remover methods are always singularized to be compatible with the Symfony Property Accessor
18
+ * If a config file called ` schema.yaml ` is found in the current directory and no 2nd argument is passed to ` generate-types ` , this file will be used
19
19
* The code has been modernized to use PHP 7 and 7.1's new features (typehints, strict types), PHP 7.1 is now a requirement
20
20
* PHP CS Fixer has ben upgraded to its version 2
21
+ * The ` extract-cardinalities ` gains two new options: one to configure the Schema.org's file to use, the other for the GoodRelations one
21
22
22
23
## 1.2.0
23
24
You can’t perform that action at this time.
0 commit comments