Skip to content

Commit ae1c21d

Browse files
3.0.10
Updated libraries to fit PHP7.4 Introducing some regressions
1 parent 4cb1d55 commit ae1c21d

File tree

1,263 files changed

+19869
-34227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,263 files changed

+19869
-34227
lines changed

api/inc/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function folderAction(array $actions, array $userData)
8585
*/
8686
function apiIsEnabled(): string
8787
{
88-
require API_ROOT_PATH . '/../includes/config/tp.config.php';
88+
require_once API_ROOT_PATH . '/../includes/config/tp.config.php';
8989

9090
if (isset($SETTINGS) === true && isset($SETTINGS['api']) === true && (int) $SETTINGS['api'] === 1) {
9191
return json_encode(

api/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
} elseif ($controller === 'user') {
8383
require API_ROOT_PATH . "/Controller/Api/UserController.php";
8484
$objFeedController = new UserController();
85-
$strMethodName = $action . 'Action';
85+
$strMethodName = (string) $action . 'Action';
8686
$objFeedController->{$strMethodName}();
8787

8888
// action related to ITEM

composer.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"config": {
66
"optimize-autoloader": true,
77
"apcu-autoloader": true,
8-
"discard-changes": true
8+
"discard-changes": true,
9+
"platform": {
10+
"php": "7.4"
11+
}
912
},
1013
"version": "3.0.10",
1114
"keywords": ["passwords", "manager", "collaborative", "vault", "security"],
@@ -60,13 +63,13 @@
6063
"ext-iconv": "*",
6164
"ext-xml": "*",
6265
"ext-gd": "*",
63-
"symfony/finder": "^6.3",
64-
"symfony/process": "^6.3",
65-
"symfony/contracts": "^3.3",
66-
"illuminate/contracts": "^10.28",
67-
"tightenco/collect": "^9.52",
66+
"symfony/finder": "^5.4",
67+
"symfony/process": "^5.4",
68+
"symfony/contracts": "^2.5",
69+
"illuminate/contracts": "^8.83",
70+
"tightenco/collect": "^8.83",
6871
"nesbot/carbon": "^2.71",
69-
"directorytree/ldaprecord": "^3.2",
72+
"directorytree/ldaprecord": "^2.20",
7073
"voku/anti-xss": "^4.1",
7174
"tiben/crontab-manager": "^1.4",
7275
"sergeytsalkov/meekrodb": "^2.5",
@@ -75,7 +78,7 @@
7578
"moxiecode/plupload": "^3.1",
7679
"tecnickcom/tcpdf": "^6.6",
7780
"paragonie/random_compat": "^9.99",
78-
"elegantweb/sanitizer": "^2.1",
81+
"elegantweb/sanitizer": "^1.1",
7982
"defuse/php-encryption": "^2.4",
8083
"dittertp/gibberish-aes-php": "^4.0",
8184
"phpseclib/phpseclib": "~1.0",

0 commit comments

Comments
 (0)