open-orchestra/open-orchestra-cms-bundle

View on GitHub
Backoffice/Tests/Validator/Constraints/AbstractConstraintTest.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to instance property message from undeclared class \Symfony\Component\Validator\Constraint
Open

        $this->assertSame($message, $constraint->message);

Call to undeclared method \OpenOrchestra\Backoffice\Tests\Validator\Constraints\AbstractConstraintTest::assertSame
Open

        $this->assertSame($validateBy, $constraint->validatedBy());

Call to undeclared method \OpenOrchestra\Backoffice\Tests\Validator\Constraints\AbstractConstraintTest::assertSame
Open

        $this->assertSame($target, $constraint->getTargets());

Call to undeclared method \OpenOrchestra\Backoffice\Tests\Validator\Constraints\AbstractConstraintTest::assertSame
Open

        $this->assertSame($message, $constraint->message);

Parameter $constraint has undeclared type \Symfony\Component\Validator\Constraint
Open

    protected function assertConstraint($constraint, $validateBy, $target, $message)

Call to method validatedBy from undeclared class \Symfony\Component\Validator\Constraint
Open

        $this->assertSame($validateBy, $constraint->validatedBy());

Class extends undeclared class \OpenOrchestra\BaseBundle\Tests\AbstractTest\AbstractBaseTestCase
Open

abstract class AbstractConstraintTest extends AbstractBaseTestCase

Call to undeclared method \OpenOrchestra\Backoffice\Tests\Validator\Constraints\AbstractConstraintTest::assertInstanceOf
Open

        $this->assertInstanceOf('Symfony\Component\Validator\Constraint', $constraint);

Call to method getTargets from undeclared class \Symfony\Component\Validator\Constraint
Open

        $this->assertSame($target, $constraint->getTargets());

There are no issues that match your filters.

Category
Status