Skip to content

fix: flush only once per calls to Factory::create() in userland #3153

fix: flush only once per calls to Factory::create() in userland

fix: flush only once per calls to Factory::create() in userland #3153

Triggered via pull request March 13, 2025 12:36
Status Failure
Total duration 4m 18s
Artifacts

ci.yml

on: pull_request
Sync meta files
0s
Sync meta files
Test with paratest
51s
Test with paratest
Code Coverage
4m 12s
Code Coverage
composer-validate  /  Validate composer.json
11s
composer-validate / Validate composer.json
Lint Documentation
10s
Lint Documentation
Static Analysis
33s
Static Analysis
Matrix: test-reset-database
Matrix: tests
Run php-cs-fixer
0s
Run php-cs-fixer
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Static Analysis
Process completed with exit code 1.
Static Analysis: src/Persistence/PersistenceManager.php#L132
Property Zenstruck\Foundry\Persistence\PersistenceManager::$afterPersistCallbacks (list<list<callable(): void>>) does not accept non-empty-array<''|int<0, max>, list<callable(): void>>.
Static Analysis: src/Persistence/PersistenceManager.php#L130
Property Zenstruck\Foundry\Persistence\PersistenceManager::$objectsToPersist (list<list<object>>) does not accept non-empty-array<''|int<0, max>, list<object>>.