Download the PHP package joomla-projects/robo without Composer
On this page you can find all versions of the php package joomla-projects/robo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download joomla-projects/robo
More information about joomla-projects/robo
Files in joomla-projects/robo
Download joomla-projects/robo
More information about joomla-projects/robo
Files in joomla-projects/robo
Vendor joomla-projects
Package robo
Short Description Robo tasks for Joomla Quality Assurance
License GPL-2.0+
Package robo
Short Description Robo tasks for Joomla Quality Assurance
License GPL-2.0+
Please rate this library. Is it a good library?
Informations about the package robo
robo
robo.li tasks for joomla
Add Joomla Robo Tasks to you project:
Add this requirements to your composer.json:
Do:
$ vendor/bin/robo init
And make sure your RoboFile.php loads the Joomla Tasks:
private $extension = '';
/**
* Set the Execute extension for Windows Operating System
*
* @return void
*/
private function setExecExtension()
{
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
{
$this->extension = '.exe';
}
}
/**
* Check the code style of the project against a passed sniffers using PHP_CodeSniffer_CLI
*
* @param string $sniffersPath Path to the sniffers. If not provided Joomla Coding Standards will be used.
*/
public function checkCodestyle($sniffersPath = null)
{
if(is_null($sniffersPath))
{
$this->say('Downloading Joomla Coding Standards Sniffers');
$this->_exec("git $this->extension clone -b master --single-branch --depth 1 https://github.com/joomla/coding-standards.git .travis/phpcs/Joomla");
$sniffersPath = __DIR__ . '/.travis/phpcs/Joomla';
}
$this->taskCheckCodeStyle()
->inspect(__DIR__ . '/component')
->standard($sniffersPath)
->ignore(__DIR__ . '/component/admin/views/*/tmpl/*')
->ignore(__DIR__ . '/component/admin/views/*/tmpl/*')
->ignore(__DIR__ . '/component/admin/views/*/tmpl/*')
->ignore(__DIR__ . '*.js')
->run()
->stopOnFail();
}
use `dontStopOnFail(true)` to always exit(0). Valid to avoid travis failing.
All versions of robo with dependencies
PHP Build Version
Package Version
Requires
squizlabs/php_codesniffer Version
1.*
The package joomla-projects/robo contains the following files
Loading the files please wait ....