Skip to content

Commit

Permalink
Address deprecation doctrine/persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Apr 15, 2020
1 parent 49e0519 commit 388ffdd
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 6 deletions.
3 changes: 0 additions & 3 deletions baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
<code>sqlsrv_get_field($this-&gt;stmt, 0)</code>
</TooFewArguments>
</file>
<file src="lib/Doctrine/DBAL/Tools/Dumper.php">
<UndefinedClass occurrences="1"/>
</file>
<file src="tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php">
<UndefinedConstant occurrences="5">
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code>
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"ext-pdo": "*",
"doctrine/cache": "^1.0",
"doctrine/collections": "^1.6",
"doctrine/event-manager": "^1.0"
"doctrine/event-manager": "^1.0",
"doctrine/persistence": "^1.3"
},
"require-dev": {
"doctrine/coding-standard": "^6.0",
Expand Down
308 changes: 307 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Doctrine/DBAL/Tools/Dumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use ArrayObject;
use DateTimeInterface;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Persistence\Proxy;
use Doctrine\Persistence\Proxy;
use stdClass;
use function array_keys;
use function assert;
Expand Down

0 comments on commit 388ffdd

Please sign in to comment.