Permalink
Browse files

Merge branch 'develop' of github.com:AKSW/OntoWiki into develop

  • Loading branch information...
2 parents cf4c055 + 157056c commit 1a83aad04ea8c2c0ef45b36beca111cf785e2cf7 @jbrekle jbrekle committed Jun 6, 2012
View
@@ -140,7 +140,7 @@ IGNOREPATTERN = */libraries/*,pclzip.lib
# Parameter check
ifndef FPATH
- FPATH = "*"
+ FPATH = "./"
endif
ifdef SNIFFS
SNIFFSTR = "--sniffs="$(SNIFFS)
@@ -80,12 +80,13 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
break;
}
}
+ array_shift($filepathArray);
if (FALSE === $notFound) {
$error = '%s name doesn\'t match filepath; expected "%s %s"';
$data = array(
ucfirst($tokens[$stackPtr]['content']),
$tokens[$stackPtr]['content'],
- $tokens[$decName]['content'],
+ implode('_', $filepathArray),
);
$phpcsFile->addError($error, $stackPtr, 'NoMatch', $data);
}
@@ -17,7 +17,7 @@ function cs-install() {
user=`whoami`;
if [[ $user == "root" ]]
then
- pear install PHP_CodeSniffer-1.3.2;
+ pear install PHP_CodeSniffer;
echo " CodeSniffer PEAR Package installed.";
return_value=0
else

0 comments on commit 1a83aad

Please sign in to comment.