Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
buildWarningMessages example
ksort
(
$items
)
;
$io
->
listing
(
$items
)
;
}
if
(
!
$filter
&&
$paths
=
$this
->
getLoaderPaths
(
)
)
{
$io
->
section
(
'Loader Paths'
)
;
$io
->
table
(
[
'Namespace', 'Paths'
]
,
$this
->
buildTableRows
(
$paths
)
)
;
}
if
(
$wrongBundles
=
$this
->
findWrongBundleOverrides
(
)
)
{
foreach
(
$this
->
buildWarningMessages
(
$wrongBundles
)
as
$message
)
{
$io
->
warning
(
$message
)
;
}
}
}
private
function
displayGeneralJson
(
SymfonyStyle
$io
, ?string
$filter
)
: void
{
$decorated
=
$io
->
isDecorated
(
)
;
$types
=
[
'functions', 'filters', 'tests', 'globals'
]
;
$data
=
[
]
;
foreach
(
$types
as
$type
)
{