Skip to content

Releases: hostnet/accessor-generator-plugin-lib

Twig update to prevent sandbox issue

13 Mar 08:58
Compare
Choose a tag to compare

This release contains the following changes:

  • Updated twig to prevent sandbox issue (#37)
  • Update hostnet/phpcs-tool (#36)
  • Removed the mention of boolean's from the README (#35)

Removed true/false options + codestyle

16 Aug 07:54
Compare
Choose a tag to compare

This release contains the following changes:

  • Major: True/false options are no longer supported
  • Fully-qualified functions are now used
  • Typehints were added to the project code
  • Some cleanup has been done to the code itself

Support for `zeroeddate`

21 Jun 09:11
Compare
Choose a tag to compare
  • Add support for zeroeddate (if you define such a type for MySQL compatibility)
  • Treat zeroedate as nullable

Getter return typehints

19 Jun 07:07
Compare
Choose a tag to compare

Added return typehints to getters.

This is backwards incompatible in the following cases:

  • if you have interfaces implemented by generated getters
  • if you have null values in non-nullable columns
  • if you mock these classes for unit tests without returning the proper return type for the getters. (By default Prophecy and PHPUnit mock objects return null for method calls)

Added json type support.

15 May 08:52
Compare
Choose a tag to compare
2.9.0

Added json type support.

Fixed a crash when referencing non-required dependencies

16 Mar 12:15
Compare
Choose a tag to compare

Fixed an issue where the generator may crash if used in coherence with entity-plugin-lib with references to classes from suggested (non-required) dependencies.

See #26.

Fixed duplicate enum-getter generation.

09 Mar 16:33
76d55b9
Compare
Choose a tag to compare

Fixed an issue where in some cases duplicate getters were generated for enum classes.

Fixed a typehint for generated Enum-classes.

09 Mar 09:55
0b78299
Compare
Choose a tag to compare

A collection in an entity is typically instantiated using ArrayCollection. However, when an existing entity is pulled from a repository, Doctrine instantiates one as a PersistentCollection. This version fixes the type hint in the constructor for generated Enum classes by using the Collection interface instead.

Resolved issue with duplicate `use`-statements

02 Mar 14:13
49f85ff
Compare
Choose a tag to compare
Merge pull request #23 from hipio/master

FIX: Duplicate import statements

Fixed passing collection to generated enum classes from traits

01 Mar 15:58
1ca7ce6
Compare
Choose a tag to compare
Merge pull request #22 from haroldiedema/master

Fixed passing collection for enum generation through traits