Skip to content

Commit

Permalink
Replace discouraged use of unlink
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-stoehr committed Oct 26, 2023
1 parent 9fe38c7 commit da3a347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Functional/Repository/TokenRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function tearDown(): void
{
parent::tearDown();

unlink(__DIR__ . '/../../Fixtures/Repository/tokenTemp.xml');
shell_exec('rm ' . __DIR__ . '/../../Fixtures/Repository/tokenTemp.xml');

Check notice on line 46 in Tests/Functional/Repository/TokenRepositoryTest.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

Tests/Functional/Repository/TokenRepositoryTest.php#L46

The use of function shell_exec() is forbidden

Check notice on line 46 in Tests/Functional/Repository/TokenRepositoryTest.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

Tests/Functional/Repository/TokenRepositoryTest.php#L46

The use of function shell_exec() is forbidden
}

/**
Expand Down

0 comments on commit da3a347

Please sign in to comment.