Skip to content

Releases: nelmio/alice

2.1.4

09 Jan 01:22
Compare
Choose a tag to compare

Bugfixes

  • Ensure named static constructors are preferred over reflection (#303)

2.1.3

04 Jan 18:49
Compare
Choose a tag to compare

Features

  • Add support for static constructors (#301)

2.1.2

10 Dec 10:03
Compare
Choose a tag to compare

Features

Bugfixes

  • Allow the Populator to set private properties of a parent class (#282)

2.1.1

05 Oct 15:38
Compare
Choose a tag to compare
  • Bug fixes / cleanup in Fixtures static class
  • Bug fix in Reference processor to enable parsing zero references
  • Bug fix to handle default instance with no properties
  • Performance improvements

2.1.0

06 Sep 11:10
Compare
Choose a tag to compare
  • Added support for array parameters
  • Fixed bug handling addXXX setters
  • Fixed bug handling functions without signature that use func_get_args() to retrieve parameters

2.0.0: Merge pull request #188 from tshelburne/2.0-docs

11 Jun 14:25
Compare
Choose a tag to compare
  • Expanded public interface of the Loader class to support:

    • Trivial parsing of new document types
    • Custom instantiation methods
    • Custom setting of properties
    • Custom processing and fixture building
  • Added support for using parameters with the following

    parameters:
        foo: value
    
    Acme\ClassName:
        property: <{foo}>
    

1.7.2

16 Dec 09:57
Compare
Choose a tag to compare
  • Fixed support for custom providers, using addProvider instead of setProviders lets you add single providers

1.7.1

16 Dec 09:56
Compare
Choose a tag to compare
  • Fixed handling of non-existing files
  • Fixed support for fixture inheritance combined with fixture ranges

1.7.0

24 Apr 13:12
Compare
Choose a tag to compare
  • Added fixture inheritance with (template) and (extends NAME) flags
  • Added support for including other yaml fixtures files using a top-level include array
  • Added an <identity()> (aliased as <()> faker provider to just evaluate PHP expressions with variables
  • Added @self reference which is the equivalent to $this
  • Added support for passing references to faker providers
  • Added support for HHVM and PHP 5.6

1.6.0

05 Feb 22:37
Compare
Choose a tag to compare
  • The array of instances returned by load() now has the fixture name as key
  • Added support for static factory methods to replace __construct
  • Added a special __set property to define a custom setter for all properties
  • Added support for @-references within faker provider calls e.g. <foo(@obj)>
  • Added support for escaping @-signs to create literal strings starting with @, e.g. \@foo
  • Fixed support for null variable references
  • Fixed invalid invocation of private setters