Code Duplication    Length = 4-4 lines in 2 locations

src/Object/Blob.php 1 location

@@ 128-131 (lines=4) @@
125
    {
126
        static $show_dep = true;
127
128
        if ($show_dep) {
129
            trigger_error('Kint_Object_Blob::escape() is deprecated and will be removed in Kint 3.0. Use renderer-specific escape methods instead.', KINT_PHP53 ? E_USER_DEPRECATED : E_USER_NOTICE);
130
            $show_dep = false;
131
        }
132
133
        if (empty($string)) {
134
            return $string;

src/Renderer/Rich/Plugin.php 1 location

@@ 67-70 (lines=4) @@
64
    {
65
        static $show_dep = true;
66
67
        if ($show_dep) {
68
            trigger_error('Kint_Renderer_Rich_Plugin::renderLockedHeader() is deprecated and will be removed in Kint 3.0. Use renderHeaderLocked instead.', KINT_PHP53 ? E_USER_DEPRECATED : E_USER_NOTICE);
69
            $show_dep = false;
70
        }
71
72
        $header = '<dt class="kint-parent kint-locked">';
73