fix: flush only once per calls to Factory::create()
in userland
#3166
ci.yml
on: pull_request
Sync meta files
0s
Test with paratest
44s
Code Coverage
4m 8s
composer-validate
/
Validate composer.json
7s
Lint Documentation
9s
Static Analysis
33s
Matrix: test-reset-database
Matrix: tests
Run php-cs-fixer
0s
Annotations
6 errors
Static Analysis
Process completed with exit code 1.
|
Static Analysis:
tests/Integration/ORM/EntityRelationship/EntityFactoryRelationshipTestCase.php#L654
Parameter #1 $callback of method Zenstruck\Foundry\ObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\Address>::afterInstantiate() expects callable(Zenstruck\Foundry\Tests\Fixture\Entity\Address, array<string, mixed>, Zenstruck\Foundry\Persistence\PersistentObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\Address>): void, Closure(Zenstruck\Foundry\Tests\Fixture\Entity\Address): Zenstruck\Foundry\Tests\Fixture\Entity\Contact given.
|
Static Analysis:
tests/Integration/ORM/EntityRelationship/EntityFactoryRelationshipTestCase.php#L635
Parameter #1 $callback of method Zenstruck\Foundry\ObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\Contact>::afterInstantiate() expects callable(Zenstruck\Foundry\Tests\Fixture\Entity\Contact, array<string, mixed>, Zenstruck\Foundry\Persistence\PersistentObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\Contact>): void, Closure(Zenstruck\Foundry\Tests\Fixture\Entity\Contact): Zenstruck\Foundry\Tests\Fixture\Entity\Category given.
|
Static Analysis:
tests/Integration/ORM/EntityRelationship/EntityFactoryRelationshipTestCase.php#L616
Parameter #1 $callback of method Zenstruck\Foundry\ObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\Category>::afterInstantiate() expects callable(Zenstruck\Foundry\Tests\Fixture\Entity\Category, array<string, mixed>, Zenstruck\Foundry\Persistence\PersistentObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\Category>): void, Closure(Zenstruck\Foundry\Tests\Fixture\Entity\Category): Zenstruck\Foundry\Tests\Fixture\Entity\Contact given.
|
Static Analysis:
tests/Integration/ORM/EdgeCasesRelationshipTest.php#L269
Parameter #1 $callback of method Zenstruck\Foundry\ObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\EdgeCases\InversedOneToOneWithNonNullableOwning\OwningSide>::afterInstantiate() expects callable(Zenstruck\Foundry\Tests\Fixture\Entity\EdgeCases\InversedOneToOneWithNonNullableOwning\OwningSide, array<string, mixed>, Zenstruck\Foundry\Persistence\PersistentObjectFactory<Zenstruck\Foundry\Tests\Fixture\Entity\EdgeCases\InversedOneToOneWithNonNullableOwning\OwningSide>): void, Closure(Zenstruck\Foundry\Tests\Fixture\Entity\EdgeCases\InversedOneToOneWithNonNullableOwning\OwningSide): Zenstruck\Foundry\Tests\Fixture\Entity\EdgeCases\InversedOneToOneWithNonNullableOwning\InverseSide given.
|
Static Analysis:
tests/Fixture/Entity/EdgeCases/InversedOneToOneWithNonNullableOwning/InverseSide.php#L39
Should not use function "dump", please change the code.
|