Skip to content

fix: trigger after persist callbacks for entities scheduled for insert #3060

fix: trigger after persist callbacks for entities scheduled for insert

fix: trigger after persist callbacks for entities scheduled for insert #3060

Triggered via pull request February 17, 2025 19:02
Status Failure
Total duration 4m 6s
Artifacts

ci.yml

on: pull_request
Sync meta files
0s
Sync meta files
Test with paratest
37s
Test with paratest
Code Coverage
3m 56s
Code Coverage
composer-validate  /  Validate composer.json
11s
composer-validate / Validate composer.json
Lint Documentation
5s
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

4 errors and 6 warnings
Static Analysis: src/Persistence/PersistenceManager.php#L34
Property Zenstruck\Foundry\Persistence\PersistenceManager::$afterPersistCallbacks type has no value type specified in iterable type array.
Static Analysis: src/Persistence/PersistenceManager.php#L97
Method Zenstruck\Foundry\Persistence\PersistenceManager::scheduleForInsert() has parameter $afterPersistCallbacks with no value type specified in iterable type array.
Static Analysis: tests/Integration/ORM/EntityRelationship/EntityFactoryRelationshipTestCase.php#L469
Cannot call method getName() on Zenstruck\Foundry\Tests\Fixture\Entity\Contact|null.
Static Analysis
Process completed with exit code 1.
Test with paratest
Cache not found for keys: Linux-php-8.4.4-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.4.4-composer---prefer-dist-highest-
P:8.4, S:7.1.*, D:mysql|mongo, PU:11
Cache not found for keys: Linux-php-8.4.4-composer---prefer-dist-locked-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.4.4-composer---prefer-dist-locked-
P:8.4, S:6.4.*, D:mysql|mongo, PU:11
Cache not found for keys: Linux-php-8.4.4-composer---prefer-dist-locked-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.4.4-composer---prefer-dist-locked-
P:8.4, S:6.4.*, D:mysql|mongo, PU:11
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
P:8.4, S:7.2.*, D:mysql|mongo, PU:11
Cache not found for keys: Linux-php-8.4.4-composer---prefer-dist-locked-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.4.4-composer---prefer-dist-locked-
P:8.4, S:7.2.*, D:mysql|mongo, PU:11
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists