[2.6] Static Code Analysis for Components
This commit is contained in:
parent
dcb0255b35
commit
37a235394e
@ -101,7 +101,7 @@ class Client extends BaseClient
|
|||||||
|
|
||||||
$r = new \ReflectionClass('\\Symfony\\Component\\ClassLoader\\ClassLoader');
|
$r = new \ReflectionClass('\\Symfony\\Component\\ClassLoader\\ClassLoader');
|
||||||
$requirePath = str_replace("'", "\\'", $r->getFileName());
|
$requirePath = str_replace("'", "\\'", $r->getFileName());
|
||||||
$symfonyPath = str_replace("'", "\\'", realpath(__DIR__.'/../../..'));
|
$symfonyPath = str_replace("'", "\\'", dirname(dirname(dirname(__DIR__))));
|
||||||
$errorReporting = error_reporting();
|
$errorReporting = error_reporting();
|
||||||
|
|
||||||
$code = <<<EOF
|
$code = <<<EOF
|
||||||
|
@ -178,8 +178,7 @@ echo "Preparing resource bundle compilation (version $icuVersionInDownload)...\n
|
|||||||
$compiler = new GenrbCompiler($genrb, $genrbEnv);
|
$compiler = new GenrbCompiler($genrb, $genrbEnv);
|
||||||
$config = new GeneratorConfig($sourceDir.'/data', $icuVersionInDownload);
|
$config = new GeneratorConfig($sourceDir.'/data', $icuVersionInDownload);
|
||||||
|
|
||||||
// Don't wrap "/data" in realpath(), in case the directory does not exist
|
$baseDir = dirname(__DIR__).'/data';
|
||||||
$baseDir = realpath(__DIR__.'/..').'/data';
|
|
||||||
|
|
||||||
//$txtDir = $baseDir.'/txt';
|
//$txtDir = $baseDir.'/txt';
|
||||||
$jsonDir = $baseDir;
|
$jsonDir = $baseDir;
|
||||||
|
Reference in New Issue
Block a user