Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
findWrongBundleOverrides example
$io
->
section
(
ucfirst
(
$type
)
)
;
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
=
[
]
;