Bump php dependency

This commit is contained in:
Vitor Mattos 2022-01-15 08:32:35 -03:00
parent fc2beea7bc
commit 758842dcd6
No known key found for this signature in database
GPG key ID: B7AB4B76A7CA7318
6 changed files with 312 additions and 394 deletions

2
.gitignore vendored
View file

@ -5,7 +5,7 @@
/js/
/build/
node_modules/
/.php_cs.cache
/.php-cs-fixer.cache
.phpunit.result.cache
*.phar
/src/__test__/coverage

View file

@ -4,22 +4,21 @@
"type": "project",
"license": "AGPL",
"require": {
"jsignpdf/jsignpdf-php": "dev-make-compatible-with-jsignpdf2.0.0",
"endroid/qr-code": "^4.2",
"pagerfanta/pagerfanta": "^3.2",
"jsignpdf/jsignpdf-php": "^1.0",
"endroid/qr-code": "^4.4",
"pagerfanta/pagerfanta": "^3.5",
"tecnickcom/tc-lib-pdf": "^8.0",
"iio/libmergepdf": "dev-patch-1"
"iio/libmergepdf": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"nextcloud/coding-standard": "^0.4.0",
"phpspec/prophecy-phpunit": "^2.0",
"nextcloud/coding-standard": "^1.0",
"byjg/swagger-test": "^3.1",
"symfony/yaml": "^5.2",
"guzzlehttp/psr7": "^1.8",
"symfony/yaml": "^5.4",
"guzzlehttp/psr7": "^2.1",
"mikey179/vfsstream": "^1.6",
"donatj/mock-webserver": "^2.2",
"vimeo/psalm": "^4.9"
"donatj/mock-webserver": "^2.4",
"vimeo/psalm": "^4.18"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",

681
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -376,7 +376,7 @@ class LibreSignFileController extends Controller {
* @return JSONResponse|FileDisplayResponse
*/
public function patchElement(string $uuid, int $fileUserId, int $elementId = null, string $type = '', array $metadata = [], array $coordinates = []) {
return $this->postElement($uuid, $fileUserId, $elementId, $type, $metadata , $coordinates);
return $this->postElement($uuid, $fileUserId, $elementId, $type, $metadata, $coordinates);
}
/**

View file

@ -39,7 +39,7 @@ class ApiRequester extends AbstractRequester {
private function doRequest() {
ob_start();
\OC::handleRequest();
$handler = fopen('php://memory','r+');
$handler = fopen('php://memory', 'r+');
fwrite($handler, ob_get_contents());
ob_end_clean();
rewind($handler);