Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9d5102

Browse filesBrowse files
committed
[DoctrineBridge] unused namespaces and undefined variable
1 parent e2a8117 commit d9d5102
Copy full SHA for d9d5102

File tree

2 files changed

+1
-3
lines changed
Filter options

2 files changed

+1
-3
lines changed

‎src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
4141
throw new ConversionException(sprintf('Expected "%s", got "%s"', 'Symfony\Bridge\Doctrine\Tests\PropertyInfo\Fixtures\Foo', get_debug_type($value)));
4242
}
4343

44-
return $foo->bar;
44+
return $value->bar;
4545
}
4646

4747
public function convertToPHPValue($value, AbstractPlatform $platform): ?Foo

‎src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Doctrine\Common\Collections\ArrayCollection;
1515
use Doctrine\DBAL\Types\Type;
1616
use Doctrine\ORM\EntityRepository;
17-
use Doctrine\ORM\Mapping\ClassMetadataInfo;
1817
use Doctrine\ORM\Tools\SchemaTool;
1918
use Doctrine\Persistence\ManagerRegistry;
2019
use Doctrine\Persistence\ObjectManager;
@@ -32,7 +31,6 @@
3231
use Symfony\Bridge\Doctrine\Tests\Fixtures\Employee;
3332
use Symfony\Bridge\Doctrine\Tests\Fixtures\HireAnEmployee;
3433
use Symfony\Bridge\Doctrine\Tests\Fixtures\Person;
35-
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntityRepository;
3634
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity;
3735
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity;
3836
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdStringWrapperNameEntity;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.