protected $d;
/**
- * Creates a new instance of Diff.
- *
- * @param string[] $a original lines of text
- * @param string[] $b modified lines of text
+ * @deprecated 5.6 Use sebastian/diff instead.
*/
public function __construct(array $a, array $b)
{
}
/**
- * Calculates the longest common subsequence of `$this->a`
- * and `$this->b` and returns it as an SplFixedArray.
- *
- * @return \SplFixedArray Array of all the items in the longest common subsequence.
+ * @deprecated 5.6 Use sebastian/diff instead.
*/
public function getLCS()
{
}
/**
- * Returns the raw difference array.
- *
- * @return array
+ * @deprecated 5.6 Use sebastian/diff instead.
*/
public function getRawDiff()
{
}
/**
- * Returns a string like the one generated by unix diff.
- *
- * @param int $context
- * @return string
+ * @deprecated 5.6 Use sebastian/diff instead.
*/
public function getUnixDiff($context = 2)
{
}
/**
- * @see Diff::getUnixDiff()
+ * @deprecated 5.6 Use sebastian/diff instead.
*/
public function __toString()
{