Skip to content

fix: add missing Test attribute #3142

fix: add missing Test attribute

fix: add missing Test attribute #3142

Triggered via push March 10, 2025 17:36
Status Failure
Total duration 4m 36s
Artifacts

ci.yml

on: push
Sync meta files
6s
Sync meta files
Test with paratest
50s
Test with paratest
Code Coverage
4m 24s
Code Coverage
composer-validate  /  Validate composer.json
8s
composer-validate / Validate composer.json
Lint Documentation
5s
Lint Documentation
Static Analysis
27s
Static Analysis
Matrix: test-reset-database
Matrix: tests
Run php-cs-fixer
16s
Run php-cs-fixer
Fit to window
Zoom out
Zoom in

Annotations

31 errors
Static Analysis: tests/Unit/Persistence/PersistentObjectFactoryTest.php#L72
Type Zenstruck\Foundry\Tests\Fixture\Factories\Entity\GenericEntityFactory in generic type Zenstruck\Foundry\FactoryCollection<Zenstruck\Foundry\Tests\Fixture\Entity\GenericEntity, Zenstruck\Foundry\Tests\Fixture\Factories\Entity\GenericEntityFactory> in PHPDoc tag @param for parameter $collection is not subtype of template type TFactory of Zenstruck\Foundry\Factory<Zenstruck\Foundry\Tests\Fixture\Entity\GenericEntity> of class Zenstruck\Foundry\FactoryCollection.
Static Analysis: tests/Unit/Persistence/PersistentObjectFactoryTest.php#L73
No error with identifier generics.notSubtype is reported on line 73.
Static Analysis
Process completed with exit code 1.
P:8.1, S:6.4.*, D:mysql, PU:9
Process completed with exit code 2.
P:8.3, S:*, D:none, PU:9 (lowest)
Process completed with exit code 2.
P:8.3, S:*, D:none, PU:9
Process completed with exit code 2.
P:8.3, S:*, D:mongo, PU:9 (lowest)
Process completed with exit code 2.
P:8.3, S:*, D:sqlite, PU:9 (lowest)
Process completed with exit code 2.
P:8.3, S:*, D:mysql, PU:9 (lowest)
Process completed with exit code 2.
P:8.4, S:*, D:mongo, PU:12
Process completed with exit code 2.
P:8.3, S:*, D:mysql, PU:9
Process completed with exit code 2.
P:8.3, S:*, D:pgsql, PU:9 (lowest)
Process completed with exit code 2.
P:8.3, S:*, D:mysql|mongo, PU:9 (lowest)
Process completed with exit code 2.
P:8.4, S:*, D:sqlite, PU:12
Process completed with exit code 2.
P:8.4, S:*, D:mysql, PU:12
Process completed with exit code 2.
Run php-cs-fixer
Process completed with exit code 1.
P:8.4, S:*, D:mysql, PU:11
Process completed with exit code 2.
P:8.2, S:7.1.*, D:mysql|mongo, PU:11
Process completed with exit code 2.
P:8.2, S:6.4.*, D:mysql|mongo, PU:11
Process completed with exit code 2.
Test with paratest
Process completed with exit code 2.
P:8.2, S:7.2.*, D:mysql|mongo, PU:11
Process completed with exit code 2.
P:8.3, S:6.4.*, D:mysql|mongo, PU:12
Process completed with exit code 2.
P:8.4, S:*, D:pgsql, PU:12
Process completed with exit code 2.
P:8.3, S:7.1.*, D:mysql|mongo, PU:12
Process completed with exit code 2.
P:8.3, S:7.2.*, D:mysql|mongo, PU:12
Process completed with exit code 2.
P:8.4, S:*, D:mysql|mongo, PU:12 (phpunit extension)
Process completed with exit code 2.
P:8.4, S:6.4.*, D:mysql|mongo, PU:12
Process completed with exit code 2.
P:8.4, S:*, D:mysql, PU:10
Process completed with exit code 2.
P:8.4, S:7.1.*, D:mysql|mongo, PU:12
Process completed with exit code 2.
P:8.4, S:7.2.*, D:mysql|mongo, PU:12
Process completed with exit code 2.
Code Coverage
Process completed with exit code 2.