Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FileUploadsCheckTest {
private File dir = new File("src/test/resources/checks/phpini");

@Test
void lineIssues() throws Exception {
void lineIssues() {
check(check, new File(dir, "file_uploads.ini"));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class PhpPluginTest {
private PhpPlugin plugin;

@BeforeEach
public void setUp() {
void setUp() {
this.plugin = new PhpPlugin();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SymbolScannerTest {
private DurationStatistics statistics;

@BeforeEach
public void init() throws IOException {
void init() throws IOException {
context = SensorContextTester.create(PhpTestUtils.getModuleBaseDir());
Path workDir = Files.createTempDirectory("workDir");
context.fileSystem().setWorkDir(workDir);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ExternalReportFileHandlerTest {
private SensorContextTester context;

@BeforeEach
public void setup() {
void setup() {
context = SensorContextTester.create(PROJECT_DIR);
addInputFiles("index.php", "subfolder/index.php");
fileHandler = ExternalReportFileHandler.create(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class TestFileReportTest {
private final Consumer<String> addUnresolvedInputFiles = file -> unresolvedInputFiles.add(file);

@BeforeEach
public void setUp() {
void setUp() {
testFileName = "testfile.php";
DefaultInputFile testFile = TestInputFileBuilder.create("moduleKey", testFileName).setType(InputFile.Type.TEST).setLanguage(Php.KEY).build();
context = SensorContextTester.create(new File("src/test/resources"));
Expand Down
Loading