diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index e9258903b7..8be471cbe3 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -31,7 +31,8 @@ jobs: uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1 with: php-version: ${{ steps.versions.outputs.php-available }} - extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite + extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, pdo_sqlite, posix, session, simplexml, sqlite, xmlreader, xmlwriter, zip, zlib + ini-values: disable_functions="" coverage: none ini-file: development env: diff --git a/lib/Service/Install/ConfigureCheckService.php b/lib/Service/Install/ConfigureCheckService.php index 2d7385fbb1..e4cb9f2911 100644 --- a/lib/Service/Install/ConfigureCheckService.php +++ b/lib/Service/Install/ConfigureCheckService.php @@ -14,6 +14,7 @@ use OCA\Libresign\Handler\JSignPdfHandler; use OCA\Libresign\Helper\ConfigureCheckHelper; use OCP\AppFramework\Services\IAppConfig; +use Psr\Log\LoggerInterface; class ConfigureCheckService { private string $architecture; @@ -25,6 +26,7 @@ public function __construct( private JSignPdfHandler $jSignPdfHandler, private CertificateEngine $certificateEngine, private SignSetupService $signSetupService, + private LoggerInterface $logger, ) { $this->architecture = php_uname('m'); } @@ -243,6 +245,7 @@ private function getErrorAndTipToResultOfVerify(array $result): array { ]; } } + $this->logger->error('Invalid hash of binaries files', ['result' => $result]); return [ 'Invalid hash of binaries files.', 'Run occ libresign:install --all',