Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/full-run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
movinet-enabled: ['true']
include:
# test pure-js once
- server-versions: master
- server-versions: stable34
databases: sqlite
php-versions: 8.2
pure-js-mode: true
Expand Down
2 changes: 1 addition & 1 deletion lib/BackgroundJobs/ClusterFacesJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function run($argument): void {
$userId = (string)$argument['userId'];
try {
$iniValue = ini_get('memory_limit');
if ($iniValue === false) {
if ($iniValue === false || $iniValue === '') {
$batchSize = 10_000;
} else {
$memoryBytes = ini_parse_quantity($iniValue);
Expand Down
2 changes: 1 addition & 1 deletion lib/Migration/InstallDeps.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
use Psr\Log\LoggerInterface;

final class InstallDeps implements IRepairStep {
public const NODE_VERSION = 'v20.9.0';
public const NODE_VERSION = 'v22.23.2';
public const NODE_SERVER_OFFICIAL = 'https://nodejs.org/dist/';
public const NODE_SERVER_UNOFFICIAL = 'https://unofficial-builds.nodejs.org/download/release/';

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"vue": "^2.7.14"
},
"engines": {
"node": "20.x",
"npm": "10.x"
"node": "22.x",
"npm": "11.x"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
Expand Down
8 changes: 8 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
<code><![CDATA[$jobClass === static::class]]></code>
</TypeDoesNotContainType>
</file>
<file src="lib/BackgroundJobs/ClusterFacesJob.php">
<RedundantCastGivenDocblockType>
<code><![CDATA[(string)$argument['userId']]]></code>
</RedundantCastGivenDocblockType>
</file>
<file src="lib/Classifiers/Classifier.php">
<MixedAssignment>
<code><![CDATA[$results]]></code>
Expand Down Expand Up @@ -960,6 +965,9 @@
</PossiblyFalseArgument>
</file>
<file src="lib/Service/FsActionService.php">
<RedundantCastGivenDocblockType>
<code><![CDATA[(string)$userId]]></code>
</RedundantCastGivenDocblockType>
<UndefinedClass>
<code><![CDATA[$e]]></code>
<code><![CDATA[NoUserException]]></code>
Expand Down
Loading