Development

/branches/1.3/lib/task/symfony/lime_symfony.php

You must first sign up to be able to contribute.

root/branches/1.3/lib/task/symfony/lime_symfony.php

Revision 23810, 0.7 kB (checked in by Kris.Wallsmith, 5 years ago)

[1.3] set svn:eol-style property to native and svn:keywords property to Id on all .php files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 class lime_symfony extends lime_harness
12 {
13   protected function get_relative_file($file)
14   {
15     $file = str_replace(DIRECTORY_SEPARATOR, '/', str_replace(array(
16       realpath($this->base_dir).DIRECTORY_SEPARATOR,
17       realpath($this->base_dir.'/../lib/plugins').DIRECTORY_SEPARATOR,
18       $this->extension,
19     ), '', $file));
20
21     return preg_replace('#^(.*?)Plugin/test/(unit|functional)/#', '[$1] $2/', $file);
22   }
23 }
24
Note: See TracBrowser for help on using the browser.