Skip to content

Add API to company Segments #49

Add API to company Segments

Add API to company Segments #49

Triggered via pull request October 4, 2024 15:53
Status Failure
Total duration 3m 3s
Artifacts 13

ci.yaml

on: pull_request
Matrix: bundle
Matrix: mautic
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan - 8.3 - 5.x: Model/CompanySegmentModel.php#L775
Parameter #1 $id (int|null) of method MauticPlugin\LeuchtfeuerCompanySegmentsBundle\Model\CompanySegmentModel::getEntity() should be contravariant with parameter $id (mixed) of method Mautic\CoreBundle\Model\AbstractCommonModel<MauticPlugin\LeuchtfeuerCompanySegmentsBundle\Entity\CompanySegment>::getEntity()
PHPStan - 8.3 - 5.x: Tests/Functional/Controller/Api/CompanySegmentApiControllerTest.php#L65
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with incorrect case: assertInstanceof
PHPStan - 8.3 - 5.x: Tests/Functional/Controller/Api/CompanySegmentApiControllerTest.php#L86
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with incorrect case: assertInstanceof
PHPStan - 8.3 - 5.x: Tests/Functional/Security/Permissions/CompanySegmentsPermissionsTest.php#L31
Call to deprecated method getUsername() of class Mautic\UserBundle\Entity\User: since Symfony 5.3, use getUserIdentifier() instead
PHPStan - 8.3 - 5.x: Tests/Functional/Security/Permissions/CompanySegmentsPermissionsTest.php#L32
Call to deprecated method getUsername() of class Mautic\UserBundle\Entity\User: since Symfony 5.3, use getUserIdentifier() instead
PHPStan - 8.3 - 5.x: Validator/Constraints/CircularDependencyValidator.php#L37
Parameter #1 $id of method MauticPlugin\LeuchtfeuerCompanySegmentsBundle\Model\CompanySegmentModel::getEntity() expects int|null, mixed given.
PHPStan - 8.3 - 5.x
Process completed with exit code 1.
PHPStan - 8.1 - 5.x: plugins/LeuchtfeuerCompanySegmentsBundle/Tests/Functional/Security/Permissions/CompanySegmentsPermissionsTest.php#L31
Call to deprecated method getUsername() of class Mautic\UserBundle\Entity\User: since Symfony 5.3, use getUserIdentifier() instead
PHPStan - 8.1 - 5.x: plugins/LeuchtfeuerCompanySegmentsBundle/Tests/Functional/Security/Permissions/CompanySegmentsPermissionsTest.php#L32
Call to deprecated method getUsername() of class Mautic\UserBundle\Entity\User: since Symfony 5.3, use getUserIdentifier() instead
PHPStan - 8.1 - 5.x
Process completed with exit code 1.
PHPUnit 8.1, mysql, Mautic 5.x
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
PHPUnit 8.1, mysql, Mautic 5.x
No files were found with the provided path: ./junit.xml ./coverage.xml. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
logs-8.0-mariadb-5.0 Expired
1.48 KB
logs-8.0-mariadb-5.1 Expired
1.85 KB
logs-8.0-mysql-5.0 Expired
1.48 KB
logs-8.0-mysql-5.1 Expired
1.84 KB
logs-8.1-mariadb-5.0 Expired
1.48 KB
logs-8.1-mariadb-5.1 Expired
1.84 KB
logs-8.1-mariadb-5.x Expired
1.84 KB
logs-8.1-mysql-5.0 Expired
1.48 KB
logs-8.1-mysql-5.1 Expired
1.84 KB
logs-8.1-mysql-5.x Expired
1.84 KB
logs-8.2--5.1 Expired
1.84 KB
logs-8.2--5.x Expired
1.84 KB
logs-8.3--5.x Expired
1.84 KB