Skip to content

Commit

Permalink
chore: update Node.js version and Nextcloud dependencies; refactor te…
Browse files Browse the repository at this point in the history
…st logger usage
  • Loading branch information
lennartdohmann committed Nov 26, 2024
1 parent e0c77a5 commit d80ab3f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/postCreateCommands.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

bash -i -c 'nvm install 20'
bash -i -c 'nvm use 20'
bash -i -c 'nvm install v20.18.1'
bash -i -c 'nvm use v20.18.1'

echo "setup php-scoper"
composer global require humbug/php-scoper
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.Nextcloud
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NEXTCLOUD_VERSION=30.0.1
ARG NEXTCLOUD_VERSION=30.0.2
ARG INSTALL_XDEBUG=1

FROM nextcloud:${NEXTCLOUD_VERSION}
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
"coduo/php-humanizer": "^5.0"
},
"require-dev": {
"nextcloud/ocp": "v30.0.1",
"nextcloud/ocp": "v30.0.2",
"psalm/phar": "5.26.1",
"nextcloud/coding-standard": "v1.3.2",
"phpunit/phpunit": "10.5.38",
"symfony/console": "6.4.13"
"symfony/console": "6.4.13",
"colinodell/psr-testlogger": "1.0.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/ScanServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use OCP\SystemTag\TagNotFoundException;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Psr\Log\Test\TestLogger;
use ColinODell\PsrTestLogger\TestLogger;

class ScanServiceTest extends TestCase {
private LoggerInterface $logger;
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/TagServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use OCP\SystemTag\ISystemTagManager;
use OCP\SystemTag\ISystemTagObjectMapper;
use PHPUnit\Framework\TestCase;
use Psr\Log\Test\TestLogger;
use ColinODell\PsrTestLogger\TestLogger;

class TagServiceTest extends TestCase {
public static int $OBJECT_ID_1 = 1;
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/VerdictServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use OCP\IAppConfig;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Psr\Log\Test\TestLogger;
use ColinODell\PsrTestLogger\TestLogger;
use VaasSdk\Authentication\ResourceOwnerPasswordGrantAuthenticator;

class VerdictServiceTest extends TestCase {
Expand Down

0 comments on commit d80ab3f

Please sign in to comment.