Skip to content

Commit afade17

Browse files
committed
There are two instances of JsonErrorFormatter
1 parent cb7ee52 commit afade17

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

conf/config.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -974,21 +974,11 @@ services:
974974
arguments:
975975
relativePathHelper: @simpleRelativePathHelper
976976

977-
errorFormatter.json:
978-
class: PHPStan\Command\ErrorFormatter\JsonErrorFormatter
979-
arguments:
980-
pretty: false
981-
982977
errorFormatter.junit:
983978
class: PHPStan\Command\ErrorFormatter\JunitErrorFormatter
984979
arguments:
985980
relativePathHelper: @simpleRelativePathHelper
986981

987-
errorFormatter.prettyJson:
988-
class: PHPStan\Command\ErrorFormatter\JsonErrorFormatter
989-
arguments:
990-
pretty: true
991-
992982
errorFormatter.gitlab:
993983
class: PHPStan\Command\ErrorFormatter\GitlabErrorFormatter
994984
arguments:

conf/services.neon

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,13 @@ services:
169169
class: PHPStan\BetterReflection\Reflector\DefaultReflector
170170
arguments:
171171
sourceLocator: @betterReflectionSourceLocator
172+
173+
errorFormatter.json:
174+
class: PHPStan\Command\ErrorFormatter\JsonErrorFormatter
175+
arguments:
176+
pretty: false
177+
178+
errorFormatter.prettyJson:
179+
class: PHPStan\Command\ErrorFormatter\JsonErrorFormatter
180+
arguments:
181+
pretty: true

0 commit comments

Comments
 (0)