Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
colorize example
if
(
$configuration
->
isInRegexMode
(
)
)
{
return
;
}
if
(
class_exists
(
DebugClassLoader::
class
, false
)
)
{
DebugClassLoader::
checkClasses
(
)
;
}
$currErrorHandler
=
set_error_handler
(
'is_int'
)
;
restore_error_handler
(
)
;
if
(
$currErrorHandler
!==
[
$this
, 'handleError'
]
)
{
echo
"\n", self::
colorize
(
'THE ERROR HANDLER HAS CHANGED!', true
)
, "\n";
}
$groups
=
array_keys
(
$this
->deprecationGroups
)
;
// store failing status
$isFailing
= !
$configuration
->
tolerates
(
$this
->deprecationGroups
)
;
$this
->
displayDeprecations
(
$groups
,
$configuration
)
;
$this
->
resetDeprecationGroups
(
)
;