for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the WPFoundation library.
*
* Copyright (c) 2015-present LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace LIN3S\WPFoundation\PostTypes;
/**
* @author Beñat Espiña <[email protected]>
abstract class RewriteRules
{
abstract public function addRewriteRules() : void;
abstract public function addRewriteTags() : void;
abstract public function templateInclude($template) : string;
public function __construct()
$this->rewriteRules();
rewriteRules()
LIN3S\WPFoundation\PostTypes\RewriteRules
addRewriteRules()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
$this->rewriteTags();
rewriteTags()
addRewriteTags()
add_action('template_include', [$this, 'templateInclude']);
add_action()
}
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.