pmd-php: checkstyle / formatting

This commit is contained in:
Andreas Dangel
2016-12-02 14:08:36 +01:00
parent dc7b0e2f00
commit b771a3788c
4 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,7 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
/**
@ -9,7 +10,7 @@ package net.sourceforge.pmd.cpd;
public class PHPLanguage extends AbstractLanguage {
/**
* Creates a new PHP Language instance.
* Creates a new PHP Language instance.
*/
public PHPLanguage() {
super("PHP", "php", new PHPTokenizer(), ".php", ".class");

View File

@ -1,6 +1,7 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.util.List;

View File

@ -1,6 +1,7 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.php;
import net.sourceforge.pmd.lang.BaseLanguageModule;

View File

@ -1,17 +1,18 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd;
import java.util.Arrays;
import java.util.Collection;
import org.junit.runners.Parameterized.Parameters;
import net.sourceforge.pmd.lang.LanguageRegistry;
import net.sourceforge.pmd.lang.LanguageVersion;
import net.sourceforge.pmd.lang.php.PhpLanguageModule;
import org.junit.runners.Parameterized.Parameters;
public class LanguageVersionTest extends AbstractLanguageVersionTest {
public LanguageVersionTest(String name, String terseName, String version, LanguageVersion expected) {
@ -20,8 +21,7 @@ public class LanguageVersionTest extends AbstractLanguageVersionTest {
@Parameters
public static Collection<Object[]> data() {
return Arrays.asList(new Object[][] {
{ PhpLanguageModule.NAME, PhpLanguageModule.TERSE_NAME, "", LanguageRegistry.getLanguage(PhpLanguageModule.NAME).getDefaultVersion() }
});
return Arrays.asList(new Object[][] { { PhpLanguageModule.NAME, PhpLanguageModule.TERSE_NAME, "",
LanguageRegistry.getLanguage(PhpLanguageModule.NAME).getDefaultVersion(), }, });
}
}