Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

ValueGenerator cannot generates arrays with short array syntax #9

@RalfEggert

Description

@RalfEggert

The Zend\Code\Generator\ValueGenerator cannot generate arrays with the short array syntax.

In lines https://github.com/zendframework/zend-code/blob/master/src/Generator/ValueGenerator.php#L346 and https://github.com/zendframework/zend-code/blob/master/src/Generator/ValueGenerator.php#L382 the long array syntax is hard-coded.

Would be nice to have this configurable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions