Code Duplication    Length = 3-3 lines in 3 locations

lib/Dwoo/Compiler.php 3 locations

@@ 3365-3367 (lines=3) @@
3362
                    $pluginType = Core::CLASS_PLUGIN;
3363
                }
3364
                $interfaces = class_implements(Core::NAMESPACE_PLUGINS_BLOCKS . 'Plugin' . Core::toCamelCase($name));
3365
                if (in_array('Dwoo\ICompilable', $interfaces) !== false || in_array('Dwoo\ICompilable\Block', $interfaces) !== false) {
3366
                    $pluginType |= Core::COMPILABLE_PLUGIN;
3367
                }
3368
            } // Class functions plugin
3369
            elseif(class_exists(Core::NAMESPACE_PLUGINS_FUNCTIONS . 'Plugin' . Core::toCamelCase($name), false) !==
3370
                false) {
@@ 3373-3375 (lines=3) @@
3370
                false) {
3371
                $pluginType = Core::CLASS_PLUGIN;
3372
                $interfaces = class_implements(Core::NAMESPACE_PLUGINS_FUNCTIONS . 'Plugin' . Core::toCamelCase($name));
3373
                if (in_array('Dwoo\ICompilable', $interfaces) !== false || in_array('Dwoo\ICompilable\Block', $interfaces) !== false) {
3374
                    $pluginType |= Core::COMPILABLE_PLUGIN;
3375
                }
3376
            } // Class without namespace
3377
            elseif(class_exists('Plugin' . Core::toCamelCase($name), false) !== false) {
3378
                $pluginType = Core::CLASS_PLUGIN;
@@ 3380-3382 (lines=3) @@
3377
            elseif(class_exists('Plugin' . Core::toCamelCase($name), false) !== false) {
3378
                $pluginType = Core::CLASS_PLUGIN;
3379
                $interfaces = class_implements('Plugin' . Core::toCamelCase($name));
3380
                if (in_array('Dwoo\ICompilable', $interfaces) !== false || in_array('Dwoo\ICompilable\Block', $interfaces) !== false) {
3381
                    $pluginType |= Core::COMPILABLE_PLUGIN;
3382
                }
3383
            } // Function plugin (with/without namespaces)
3384
            elseif (function_exists(Core::NAMESPACE_PLUGINS_FUNCTIONS . 'Plugin' . Core::toCamelCase
3385
                    ($name)) !==