Tomasz Słomiński Posted May 21, 2015 Share Posted May 21, 2015 Hello for those of you who are validating their modules on validator.prestashop.com and are interested in some automation (for example with some build or CI system like phing or Jenkins), there is a small validator client I wrote recently; basically it allows to run validation directly via php script like this: require_once 'vendor/autoload.php'; $oClient = (new Kiwik\Prestashop\Validator\Client()) ->setUser('[email protected]') ->setPassword('password'); $oResult = $oClient->validate(__DIR__ . DIRECTORY_SEPARATOR . 'module.zip'); print PHP_EOL . $oResult->getInsightUrl(); // validator result page print PHP_EOL . $oResult->getErrorsCount(); // number of errors Git repo & more details on : https://bitbucket.org/kiwik/pvc-public ts. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now