mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
fix: cs
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
a5640d8279
commit
4daa2f222e
2 changed files with 3 additions and 5 deletions
|
|
@ -75,9 +75,9 @@ return [
|
|||
if (!str_contains($filePath, 'phpseclib/phpseclib') || !str_ends_with($filePath, '.php')) {
|
||||
return $content;
|
||||
}
|
||||
$s_prefix = str_replace( '\\', '\\\\', $prefix );
|
||||
$content = str_replace( "'phpseclib3\\\\", "'\\\\" . $s_prefix . '\\\\phpseclib3\\\\', $content );
|
||||
$content = str_replace( "'\\\\phpseclib3", "'\\\\" . $s_prefix . '\\\\phpseclib3', $content );
|
||||
$s_prefix = str_replace('\\', '\\\\', $prefix);
|
||||
$content = str_replace("'phpseclib3\\\\", "'\\\\" . $s_prefix . '\\\\phpseclib3\\\\', $content);
|
||||
$content = str_replace("'\\\\phpseclib3", "'\\\\" . $s_prefix . '\\\\phpseclib3', $content);
|
||||
return $content;
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -13,13 +13,11 @@ use OC\IntegrityCheck\Helpers\EnvironmentHelper;
|
|||
use OC\IntegrityCheck\Helpers\FileAccessHelper;
|
||||
use OCA\Libresign\AppInfo\Application;
|
||||
use OCA\Libresign\Service\Install\SignSetupService;
|
||||
use OCA\Libresign\Vendor\phpseclib\Crypt\RSA;
|
||||
use OCP\App\IAppManager;
|
||||
use OCP\Files\AppData\IAppDataFactory;
|
||||
use OCP\IAppConfig;
|
||||
use OCP\IConfig;
|
||||
use OCP\ITempManager;
|
||||
use phpseclib\File\X509;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue