Skip to content

Commit

Permalink
Silencing deprecation - based off of symfony/symfony#51310
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Aug 24, 2023
1 parent 2b50b82 commit 17abcf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-turbo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:

- name: Run tests
working-directory: src/Turbo
run: vendor/bin/simple-phpunit
run: SYMFONY_DEPRECATIONS_HELPER='baselineFile=./deprecations-baseline.json' vendor/bin/simple-phpunit
7 changes: 7 additions & 0 deletions src/Turbo/deprecations-baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"location": "Symfony\\UX\\Turbo\\Tests\\BroadcastTest::testBroadcastBasic",
"message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:178, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)",
"count": 1
}
]

0 comments on commit 17abcf0

Please sign in to comment.