alice icon indicating copy to clipboard operation
alice copied to clipboard

Expressive fixtures generator

Results 59 alice issues
Sort by recently updated
recently updated
newest added

Hello, I have three Entities, and one requires the other. I.e. `User` has many `Subscribers` which can be part of many `Segments`. With regular Alice logic, I can assign any...

I'm struggling to find a way to generate a date using `dateTimeBetween` and convert it to `DateTimeImmutable`. Example configuration: ```yaml App\Entity\Activity: activity_{1..50}: createdAt: '' ``` Using it leads to doctrine...

Bug

> The second however should work, but maybe `@self->city->postalCodes` will do? _Originally posted by @theofidry in https://github.com/nelmio/alice/issues/1019#issuecomment-678705589_ I believe `@self->city->postalCodes` is a good solution, but it doesn't appear to work....

Bug
Lexer

On PHP 8.1.7, Sentry captures the following deprecation error with the latest `nelmio/alice` version: > Deprecated: Return type of Nelmio\Alice\ObjectBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange]...

Hi there, My project use 3 databases, is it possible to use this bundle with that contraint ? I see in command i can set --manager, witch will be great...

`php: 7.0.28` `symfony: 2.8.34` `hautelook/alice-bundle: 2.0.0-beta.4` `nelmio/alice: 3.1.3` `theofidry/alice-data-fixtures: 1.0.0-beta.5` ```yaml parameters: title_1: "title 1" title_2: "title 2" title_3: "title 3" AppBundle\Entity\News: news{1..3}: type: 'main' is_top: 1 date: '' title:...

Bug
Needs help

This code works: ```yaml teacher_community_2: __factory: from: id: ~ forename: 'Joshua' surname: '' displayName: 'Dr. $surname' ``` But this one doesn't: ```yaml teacher_community_2: __factory: from: id: ~ forename: 'Joshua' surname:...

Bug

I have a bound problem on a field that does not map but does not exist. It detects a "uid" but it is not present in the model. Any ideas...

## Issue When I pass my own `Faker\Generator` then `InvalidArgumentException: Unknown formatter "current"` is thrown. My guess is that Alice does not register its `current` provider to the passed Generator...

Bug

I have the following case: ``` App\Entity\News: news1: id: '' ``` ``` App\Entity\Preference: recommendedNews: value: '\["@news1->id"]' ``` Unfortunately once the array is escaped - meaning I want it as string...

Bug
Lexer