for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Code-Insight library.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @copyright Alexander Obuhovich <[email protected]>
* @link https://github.com/console-helpers/code-insight
*/
namespace ConsoleHelpers\CodeInsight\BackwardsCompatibility;
use Aura\Sql\ExtendedPdoInterface;
class FunctionChecker extends AbstractChecker
{
* Returns backwards compatibility checker name.
* @return string
public function getName()
return 'function';
}
* Checks backwards compatibility and returns violations by category.
* @param ExtendedPdoInterface $source_db Source DB.
* @param ExtendedPdoInterface $target_db Target DB.
* @return array
public function check(ExtendedPdoInterface $source_db, ExtendedPdoInterface $target_db)
return array();