for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Page.php - A page link for the Jaxon Paginator
*
* @package jaxon-core
* @copyright 2024 Thierry Feuzeu
* @license https://opensource.org/licenses/MIT MIT License
* @link https://github.com/jaxon-php/jaxon-core
*/
namespace Jaxon\Plugin\Response\Paginator;
class Page
{
* @var string
public $sType;
public $sText;
public $nNumber;
public function __construct(string $sType, string $sText, int $nNumber)
$this->sType = $sType;
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
$a = "a"; $ab = "ab"; $abc = "abc";
will produce issues in the first and second line, while this second example
will produce no issues.
$this->sText = $sText;
$this->nNumber = $nNumber;
}