Skip to content

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

fix: trigger after persist callbacks for entities scheduled for insert

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

Triggered via pull request February 17, 2025 18:59
Status Failure
Total duration 4m 17s
Artifacts

ci.yml

on: pull_request
Sync meta files
0s
Sync meta files
Test with paratest
54s
Test with paratest
Code Coverage
3m 45s
Code Coverage
composer-validate  /  Validate composer.json
14s
composer-validate / Validate composer.json
Lint Documentation
8s
Lint Documentation
Static Analysis
23s
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

26 errors and 36 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.
P:8.1, S:6.4.*, D:mysql, PU:9
Process completed with exit code 1.
P:8.3, S:*, D:sqlite, PU:9 (lowest)
Process completed with exit code 1.
P:8.3, S:*, D:mysql, PU:11
Process completed with exit code 1.
P:8.3, S:*, D:mysql, PU:9
Process completed with exit code 1.
P:8.3, S:*, D:sqlite, PU:11
Process completed with exit code 1.
P:8.3, S:*, D:mysql, PU:9 (lowest)
Process completed with exit code 1.
P:8.3, S:*, D:pgsql, PU:9 (lowest)
Process completed with exit code 1.
P:8.3, S:*, D:pgsql, PU:11
Process completed with exit code 1.
P:8.3, S:*, D:mysql|mongo, PU:9 (lowest)
Process completed with exit code 1.
P:8.2, S:7.1.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.2, S:6.4.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
Test with paratest
Process completed with exit code 1.
P:8.3, S:6.4.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.3, S:*, D:mysql, PU:10
Process completed with exit code 1.
P:8.3, S:7.2.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.3, S:7.1.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
Code Coverage
Process completed with exit code 1.
P:8.4, S:6.4.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.4, S:7.2.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.2, S:7.2.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.4, S:7.1.*, D:mysql|mongo, PU:11
Process completed with exit code 1.
P:8.3, S:*, D:mysql|mongo, PU:11 (phpunit extension)
Process completed with exit code 1.
Reset DB - D:mysql (dama) (migrate)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Static Analysis
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-locked-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-locked-
Reset DB - D:mysql (dama) (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mongo
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-locked-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-locked-
Reset DB - D:mysql|mongo (dama) (migrate)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql|mongo (dama) (migrate)
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
Reset DB - D:mysql (dama) (migrate) (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql (dama) (migrate) (lowest)
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
Reset DB - D:mysql (dama)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql (dama)
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
Reset DB - D:mysql (migrate)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql (migrate)
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
Reset DB - D:mysql|mongo (dama) (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql|mongo (dama) (lowest)
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
Reset DB - D:mysql|mongo (migrate)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql|mongo (migrate)
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
Reset DB - D:mysql (migrate) (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql (migrate) (lowest)
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
Reset DB - D:mysql|mongo (dama) (migrate) (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql|mongo (dama) (migrate) (lowest)
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
Reset DB - D:mysql|mongo (dama)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql|mongo (dama)
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
Reset DB - D:mysql|mongo
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql|mongo
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
Reset DB - D:mysql
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-highest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-highest-
Reset DB - D:mysql
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
Reset DB - D:mysql (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql (lowest)
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
Reset DB - D:mysql|mongo (migrate) (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql|mongo (migrate) (lowest)
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
Reset DB - D:mysql|mongo (lowest)
Cache not found for keys: Linux-php-8.3.17-composer---prefer-dist-lowest-c28c5d77b587f6857c2fd8b78113caddfd1b625cf14bbe5b4faebc35a0d3fd5b, Linux-php-8.3.17-composer---prefer-dist-lowest-
Reset DB - D:mysql|mongo (lowest)
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
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: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: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.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-