Example #1
0
 public function supportsExtension($extension)
 {
     if (!parent::supportsExtension($extension)) {
         return false;
     }
     $this->ensureInitialized();
     return !$this->usingCompass;
 }
 public function supportsExtension($extension)
 {
     if (!parent::supportsExtension($extension)) {
         return false;
     }
     $this->ensureInitialized();
     return $this->exe !== false;
 }
Example #3
0
 public function __construct()
 {
     parent::__construct('sitemap', 'sitemap', 'xml');
 }
 /**
  * @dataProvider processFileDataProvider
  */
 public function testProcessFile($inputExtensions, $outputExtensions, $inputPath, $expectedOutputPath)
 {
     $sfp = new SimpleFileProcessor('test', $inputExtensions, $outputExtensions);
     $outputPath = $sfp->getOutputFilenames($inputPath);
     $this->assertEquals($expectedOutputPath, $outputPath);
 }
Example #5
0
 public function __construct()
 {
     parent::__construct('less', 'less', 'css');
     $this->jsToolOptions = null;
 }
 public function __construct()
 {
     parent::__construct('less', 'less', 'css');
 }