Skip to content

Commit 3999a78

Browse files
committed
[BCB] PHPStan\Node\Printer\Printer no longer autowired as PhpParser\PrettyPrinter\Standard
1 parent f347f22 commit 3999a78

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

UPGRADING.md

+1
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,4 @@ Instead of `PHPStanTestCase::createBroker()`, call `PHPStanTestCase::createRefle
289289
* Remove `fixerTmpDir` config parameter, use `pro.tmpDir` instead
290290
* Remove `tempResultCachePath` config parameter, use `resultCachePath` instead
291291
* `LevelsTestCase::dataTopics()` data provider made static
292+
* `PHPStan\Node\Printer\Printer` no longer autowired as `PhpParser\PrettyPrinter\Standard`, use `PHPStan\Node\Printer\Printer` in the typehint

conf/config.neon

+2
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ services:
311311

312312
-
313313
class: PHPStan\Node\Printer\Printer
314+
autowired:
315+
- PHPStan\Node\Printer\Printer
314316

315317
-
316318
class: PHPStan\Broker\AnonymousClassNameHelper

0 commit comments

Comments
 (0)