Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Apr 12, 2022
1 parent 133475c commit e89ade1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Doctrine/ORM/Exception/NotSupported.php
Expand Up @@ -16,23 +16,23 @@ public static function create(): self
public static function createForDbal3(string $context): self
{
return new self(sprintf(
<<<'EXCEPTION'
<<<'EOF'
Context: %s
Problem: Feature was deprecated in doctrine/dbal 2.x and is not supported by installed doctrine/dbal:3.x
Solution: See the doctrine/deprecations logs for new alternative approaches.
EXCEPTION,
EOF,
$context
));
}

public static function createForPersistence3(string $context): self
{
return new self(sprintf(
<<<'EXCEPTION'
<<<'EOF'
Context: %s
Problem: Feature was deprecated in doctrine/persistence 2.x and is not supported by installed doctrine/persistence:3.x
Solution: See the doctrine/deprecations logs for new alternative approaches.
EXCEPTION,
EOF,
$context
));
}
Expand Down

0 comments on commit e89ade1

Please sign in to comment.