File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
src/main/rascal/lang/php/util Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module lang::php::util::Config
1616public bool usePhpParserJar = false ;
1717
1818@doc {The location of the PHP executable}
19- public loc phploc = |file:///usr/local/php5/bin/php| ;
19+ public loc phpLoc = |file:///usr/local/php5/bin/php| ;
2020
2121@doc {The base install location for the PHP-Parser project}
2222public loc parserLoc = |file:///Users/yourid/PHPAnalysis/PHP-Parser| ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import lang::php::pp::PrettyPrinter;
3939
4040
4141public str executePHP (list [str ] opts , loc cwd ) {
42- str phpBinLoc = usePhpParserJar ? "php" : phploc .path ;
42+ str phpBinLoc = usePhpParserJar ? "php" : phpLoc .path ;
4343
4444 PID pid = createProcess (phpBinLoc , args =opts , workingDir =cwd );
4545 str phcOutput = readEntireStream (pid );
@@ -369,16 +369,16 @@ public void checkConfiguration() {
369369 println ("astToRascal appears to be fine" );
370370 }
371371
372- println ("phploc should contain the location of the php executable" );
372+ println ("phpLoc should contain the location of the php executable" );
373373
374- if (!exists (phploc )) {
375- println ("Path <phploc > does not exist" );
374+ if (!exists (phpLoc )) {
375+ println ("Path <phpLoc > does not exist" );
376376 checkParse = false ;
377- } else if (exists (phploc ) && !isFile (phploc )) {
378- println ("Path <phploc > exists, but is not a file" );
377+ } else if (exists (phpLoc ) && !isFile (phpLoc )) {
378+ println ("Path <phpLoc > exists, but is not a file" );
379379 checkParse = false ;
380380 } else {
381- println ("phploc appears to be fine" );
381+ println ("phpLoc appears to be fine" );
382382 }
383383
384384 if (checkParse ) {
You can’t perform that action at this time.
0 commit comments