diff --git a/.github/workflows/lint-info-xml.yml b/.github/workflows/lint-info-xml.yml
new file mode 100644
index 00000000..cea2a2bc
--- /dev/null
+++ b/.github/workflows/lint-info-xml.yml
@@ -0,0 +1,31 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Lint
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ - stable*
+
+jobs:
+ xml-linters:
+ runs-on: ubuntu-latest
+
+ name: info.xml lint
+ steps:
+ - name: Checkout
+ uses: actions/checkout@master
+
+ - name: Download schema
+ run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd
+
+ - name: Lint info.xml
+ uses: ChristophWurst/xmllint-action@v1
+ with:
+ xml-file: ./appinfo/info.xml
+ xml-schema-file: ./info.xsd
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml
new file mode 100644
index 00000000..049fb194
--- /dev/null
+++ b/.github/workflows/lint-php-cs.yml
@@ -0,0 +1,36 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Lint
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+
+ name: php-cs
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Set up php ${{ matrix.php-versions }}
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: "7.4"
+ coverage: none
+
+ - name: Install dependencies
+ run: composer i
+
+ - name: Lint
+ run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
new file mode 100644
index 00000000..a4abc44f
--- /dev/null
+++ b/.github/workflows/lint-php.yml
@@ -0,0 +1,48 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Lint
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ php-lint:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ php-versions: ["7.4", "8.0"]
+
+ name: php-lint
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Set up php ${{ matrix.php-versions }}
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php-versions }}
+ coverage: none
+
+ - name: Lint
+ run: composer run lint
+
+ summary:
+ runs-on: ubuntu-latest
+ needs: php-lint
+
+ if: always()
+
+ name: php-lint-summary
+
+ steps:
+ - name: Summary status
+ run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
diff --git a/.gitignore b/.gitignore
index 3dbe6f74..58498d6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,5 @@ img/twemoji/
cypress/screenshots
cypress/snapshots
+
+.php-cs-fixer.cache
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
new file mode 100644
index 00000000..8a0cb43c
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -0,0 +1,17 @@
+getFinder()
+ ->notPath('build')
+ ->notPath('l10n')
+ ->notPath('src')
+ ->notPath('vendor')
+ ->in(__DIR__);
+return $config;
diff --git a/appinfo/routes.php b/appinfo/routes.php
index f88528b8..43315413 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,4 +1,5 @@
[
['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'],
['name' => 'Config#local', 'url' => '/local/', 'verb' => 'GET'],
['name' => 'Config#remote', 'url' => '/test/{account}/', 'verb' => 'GET'],
[
- 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET',
+ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET',
'requirements' => ['path' => '.+'],
- 'defaults' => ['path' => '']
+ 'defaults' => ['path' => '']
],
['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'],
['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'],
diff --git a/composer.json b/composer.json
index 82ee931f..2878cd18 100644
--- a/composer.json
+++ b/composer.json
@@ -29,8 +29,20 @@
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^1.0",
- "phpunit/phpunit": "^6.4",
- "rector/rector": "^0.12.20"
+ "rector/rector": "^0.12.20",
+ "phpunit/phpunit": "^9.5",
+ "nextcloud/coding-standard": "^1.0.0",
+ "christophwurst/nextcloud": "dev-master",
+ "vimeo/psalm": "^4.22.0"
+ },
+ "scripts": {
+ "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
+ "cs:check": "php-cs-fixer fix --dry-run --diff",
+ "cs:fix": "php-cs-fixer fix",
+ "psalm": "psalm --threads=1",
+ "psalm:update-baseline": "psalm --threads=1 --update-baseline",
+ "psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
+ "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
},
"repositories": [
{
diff --git a/composer.lock b/composer.lock
index a8353537..6ae40e1b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "405966d6d5e0478e4540a9f1e26734fc",
+ "content-hash": "303af33a7156caaf44b7a28ce25c7755",
"packages": [
{
"name": "daita/my-small-php-tools",
@@ -12,17 +12,18 @@
"source": {
"type": "git",
"url": "https://github.com/daita/my-small-php-tools.git",
- "reference": "aeed155a9c0cf79153bc9703d1792b0361162dd3"
+ "reference": "e91fa3953c549334dab1a0cb29432a1a36bebf6e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/aeed155a9c0cf79153bc9703d1792b0361162dd3",
- "reference": "aeed155a9c0cf79153bc9703d1792b0361162dd3",
+ "url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/e91fa3953c549334dab1a0cb29432a1a36bebf6e",
+ "reference": "e91fa3953c549334dab1a0cb29432a1a36bebf6e",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.0"
},
+ "default-branch": true,
"type": "library",
"autoload": {
"psr-4": {
@@ -40,7 +41,10 @@
}
],
"description": "My small PHP Tools",
- "time": "2020-12-01T00:47:38+00:00"
+ "support": {
+ "source": "https://github.com/daita/my-small-php-tools/tree/v22.0.12"
+ },
+ "time": "2021-06-09T16:54:37+00:00"
},
{
"name": "friendica/json-ld",
@@ -88,29 +92,29 @@
},
{
"name": "gumlet/php-image-resize",
- "version": "2.0.0",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/gumlet/php-image-resize.git",
- "reference": "de6dc92d8ddf65e508b088202e5de6f3fb0621a2"
+ "reference": "5ef461c53241933a3e14e4582a9d2884b8261213"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/gumlet/php-image-resize/zipball/de6dc92d8ddf65e508b088202e5de6f3fb0621a2",
- "reference": "de6dc92d8ddf65e508b088202e5de6f3fb0621a2",
+ "url": "https://api.github.com/repos/gumlet/php-image-resize/zipball/5ef461c53241933a3e14e4582a9d2884b8261213",
+ "reference": "5ef461c53241933a3e14e4582a9d2884b8261213",
"shasum": ""
},
"require": {
"ext-fileinfo": "*",
"ext-gd": "*",
- "php": ">=5.5.0"
+ "php": ">=5.6.0"
},
"require-dev": {
"apigen/apigen": "^4.1",
"ext-exif": "*",
"ext-gd": "*",
"php-coveralls/php-coveralls": "^2.1",
- "phpunit/phpunit": "^4.8"
+ "phpunit/phpunit": "^8.5"
},
"suggest": {
"ext-exif": "Auto-rotate jpeg files"
@@ -139,40 +143,652 @@
"resize",
"scale"
],
- "time": "2020-07-04T21:04:16+00:00"
+ "support": {
+ "issues": "https://github.com/gumlet/php-image-resize/issues",
+ "source": "https://github.com/gumlet/php-image-resize/tree/2.0.1"
+ },
+ "time": "2021-12-18T17:10:48+00:00"
}
],
"packages-dev": [
{
- "name": "doctrine/instantiator",
- "version": "1.0.5",
+ "name": "amphp/amp",
+ "version": "v2.6.2",
"source": {
"type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
+ "url": "https://github.com/amphp/amp.git",
+ "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
+ "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb",
+ "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb",
"shasum": ""
},
"require": {
- "php": ">=5.3,<8.0-DEV"
+ "php": ">=7.1"
},
"require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
+ "amphp/php-cs-fixer-config": "dev-master",
+ "amphp/phpunit-util": "^1",
+ "ext-json": "*",
+ "jetbrains/phpstorm-stubs": "^2019.3",
+ "phpunit/phpunit": "^7 | ^8 | ^9",
+ "psalm/phar": "^3.11@dev",
+ "react/promise": "^2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.x-dev"
}
},
+ "autoload": {
+ "files": [
+ "lib/functions.php",
+ "lib/Internal/functions.php"
+ ],
+ "psr-4": {
+ "Amp\\": "lib"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Daniel Lowrey",
+ "email": "rdlowrey@php.net"
+ },
+ {
+ "name": "Aaron Piotrowski",
+ "email": "aaron@trowski.com"
+ },
+ {
+ "name": "Bob Weinand",
+ "email": "bobwei9@hotmail.com"
+ },
+ {
+ "name": "Niklas Keller",
+ "email": "me@kelunik.com"
+ }
+ ],
+ "description": "A non-blocking concurrency framework for PHP applications.",
+ "homepage": "https://amphp.org/amp",
+ "keywords": [
+ "async",
+ "asynchronous",
+ "awaitable",
+ "concurrency",
+ "event",
+ "event-loop",
+ "future",
+ "non-blocking",
+ "promise"
+ ],
+ "support": {
+ "irc": "irc://irc.freenode.org/amphp",
+ "issues": "https://github.com/amphp/amp/issues",
+ "source": "https://github.com/amphp/amp/tree/v2.6.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/amphp",
+ "type": "github"
+ }
+ ],
+ "time": "2022-02-20T17:52:18+00:00"
+ },
+ {
+ "name": "amphp/byte-stream",
+ "version": "v1.8.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/amphp/byte-stream.git",
+ "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd",
+ "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd",
+ "shasum": ""
+ },
+ "require": {
+ "amphp/amp": "^2",
+ "php": ">=7.1"
+ },
+ "require-dev": {
+ "amphp/php-cs-fixer-config": "dev-master",
+ "amphp/phpunit-util": "^1.4",
+ "friendsofphp/php-cs-fixer": "^2.3",
+ "jetbrains/phpstorm-stubs": "^2019.3",
+ "phpunit/phpunit": "^6 || ^7 || ^8",
+ "psalm/phar": "^3.11.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "lib/functions.php"
+ ],
+ "psr-4": {
+ "Amp\\ByteStream\\": "lib"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Aaron Piotrowski",
+ "email": "aaron@trowski.com"
+ },
+ {
+ "name": "Niklas Keller",
+ "email": "me@kelunik.com"
+ }
+ ],
+ "description": "A stream abstraction to make working with non-blocking I/O simple.",
+ "homepage": "http://amphp.org/byte-stream",
+ "keywords": [
+ "amp",
+ "amphp",
+ "async",
+ "io",
+ "non-blocking",
+ "stream"
+ ],
+ "support": {
+ "irc": "irc://irc.freenode.org/amphp",
+ "issues": "https://github.com/amphp/byte-stream/issues",
+ "source": "https://github.com/amphp/byte-stream/tree/v1.8.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/amphp",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-30T17:13:30+00:00"
+ },
+ {
+ "name": "christophwurst/nextcloud",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ChristophWurst/nextcloud_composer.git",
+ "reference": "5e2c78469a4f669ed11016cf8a6668792efcbedf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ChristophWurst/nextcloud_composer/zipball/5e2c78469a4f669ed11016cf8a6668792efcbedf",
+ "reference": "5e2c78469a4f669ed11016cf8a6668792efcbedf",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.4 || ~8.0 || ~8.1",
+ "psr/container": "^1.0",
+ "psr/event-dispatcher": "^1.0",
+ "psr/log": "^1.1"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "24.0.0-dev"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "AGPL-3.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "Christoph Wurst",
+ "email": "christoph@winzerhof-wurst.at"
+ }
+ ],
+ "description": "Composer package containing Nextcloud's public API (classes, interfaces)",
+ "support": {
+ "issues": "https://github.com/ChristophWurst/nextcloud_composer/issues",
+ "source": "https://github.com/ChristophWurst/nextcloud_composer/tree/master"
+ },
+ "time": "2022-04-15T01:52:26+00:00"
+ },
+ {
+ "name": "composer/package-versions-deprecated",
+ "version": "1.11.99.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/package-versions-deprecated.git",
+ "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d",
+ "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.1.0 || ^2.0",
+ "php": "^7 || ^8"
+ },
+ "replace": {
+ "ocramius/package-versions": "1.11.99"
+ },
+ "require-dev": {
+ "composer/composer": "^1.9.3 || ^2.0@dev",
+ "ext-zip": "^1.13",
+ "phpunit/phpunit": "^6.5 || ^7"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "class": "PackageVersions\\Installer",
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PackageVersions\\": "src/PackageVersions"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Marco Pivetta",
+ "email": "ocramius@gmail.com"
+ },
+ {
+ "name": "Jordi Boggiano",
+ "email": "j.boggiano@seld.be"
+ }
+ ],
+ "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
+ "support": {
+ "issues": "https://github.com/composer/package-versions-deprecated/issues",
+ "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-17T14:14:24+00:00"
+ },
+ {
+ "name": "composer/pcre",
+ "version": "3.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/pcre.git",
+ "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd",
+ "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.4 || ^8.0"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^1.3",
+ "phpstan/phpstan-strict-rules": "^1.1",
+ "symfony/phpunit-bridge": "^5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "3.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Composer\\Pcre\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jordi Boggiano",
+ "email": "j.boggiano@seld.be",
+ "homepage": "http://seld.be"
+ }
+ ],
+ "description": "PCRE wrapping library that offers type-safe preg_* replacements.",
+ "keywords": [
+ "PCRE",
+ "preg",
+ "regex",
+ "regular expression"
+ ],
+ "support": {
+ "issues": "https://github.com/composer/pcre/issues",
+ "source": "https://github.com/composer/pcre/tree/3.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-02-25T20:21:48+00:00"
+ },
+ {
+ "name": "composer/semver",
+ "version": "3.3.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/semver.git",
+ "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9",
+ "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^5.3.2 || ^7.0 || ^8.0"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^1.4",
+ "symfony/phpunit-bridge": "^4.2 || ^5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "3.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Composer\\Semver\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nils Adermann",
+ "email": "naderman@naderman.de",
+ "homepage": "http://www.naderman.de"
+ },
+ {
+ "name": "Jordi Boggiano",
+ "email": "j.boggiano@seld.be",
+ "homepage": "http://seld.be"
+ },
+ {
+ "name": "Rob Bast",
+ "email": "rob.bast@gmail.com",
+ "homepage": "http://robbast.nl"
+ }
+ ],
+ "description": "Semver library that offers utilities, version constraint parsing and validation.",
+ "keywords": [
+ "semantic",
+ "semver",
+ "validation",
+ "versioning"
+ ],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/semver/issues",
+ "source": "https://github.com/composer/semver/tree/3.3.2"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-04-01T19:23:25+00:00"
+ },
+ {
+ "name": "composer/xdebug-handler",
+ "version": "3.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/xdebug-handler.git",
+ "reference": "ced299686f41dce890debac69273b47ffe98a40c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c",
+ "reference": "ced299686f41dce890debac69273b47ffe98a40c",
+ "shasum": ""
+ },
+ "require": {
+ "composer/pcre": "^1 || ^2 || ^3",
+ "php": "^7.2.5 || ^8.0",
+ "psr/log": "^1 || ^2 || ^3"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^1.0",
+ "phpstan/phpstan-strict-rules": "^1.1",
+ "symfony/phpunit-bridge": "^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Composer\\XdebugHandler\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "John Stevenson",
+ "email": "john-stevenson@blueyonder.co.uk"
+ }
+ ],
+ "description": "Restarts a process without Xdebug.",
+ "keywords": [
+ "Xdebug",
+ "performance"
+ ],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/xdebug-handler/issues",
+ "source": "https://github.com/composer/xdebug-handler/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-02-25T21:32:43+00:00"
+ },
+ {
+ "name": "dnoegel/php-xdg-base-dir",
+ "version": "v0.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/dnoegel/php-xdg-base-dir.git",
+ "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd",
+ "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "XdgBaseDir\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "implementation of xdg base directory specification for php",
+ "support": {
+ "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues",
+ "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1"
+ },
+ "time": "2019-12-04T15:06:13+00:00"
+ },
+ {
+ "name": "doctrine/annotations",
+ "version": "1.13.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/annotations.git",
+ "reference": "5b668aef16090008790395c02c893b1ba13f7e08"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08",
+ "reference": "5b668aef16090008790395c02c893b1ba13f7e08",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/lexer": "1.*",
+ "ext-tokenizer": "*",
+ "php": "^7.1 || ^8.0",
+ "psr/cache": "^1 || ^2 || ^3"
+ },
+ "require-dev": {
+ "doctrine/cache": "^1.11 || ^2.0",
+ "doctrine/coding-standard": "^6.0 || ^8.1",
+ "phpstan/phpstan": "^0.12.20",
+ "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5",
+ "symfony/cache": "^4.4 || ^5.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
+ {
+ "name": "Benjamin Eberlei",
+ "email": "kontakt@beberlei.de"
+ },
+ {
+ "name": "Jonathan Wage",
+ "email": "jonwage@gmail.com"
+ },
+ {
+ "name": "Johannes Schmitt",
+ "email": "schmittjoh@gmail.com"
+ }
+ ],
+ "description": "Docblock Annotations Parser",
+ "homepage": "https://www.doctrine-project.org/projects/annotations.html",
+ "keywords": [
+ "annotations",
+ "docblock",
+ "parser"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/annotations/issues",
+ "source": "https://github.com/doctrine/annotations/tree/1.13.2"
+ },
+ "time": "2021-08-05T19:00:23+00:00"
+ },
+ {
+ "name": "doctrine/instantiator",
+ "version": "1.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/instantiator.git",
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc",
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^9",
+ "ext-pdo": "*",
+ "ext-phar": "*",
+ "phpbench/phpbench": "^0.16 || ^1",
+ "phpstan/phpstan": "^1.4",
+ "phpstan/phpstan-phpunit": "^1",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.22"
+ },
+ "type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
@@ -186,16 +802,300 @@
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
+ "homepage": "https://ocramius.github.io/"
}
],
"description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
+ "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
"keywords": [
"constructor",
"instantiate"
],
- "time": "2015-06-14T21:17:01+00:00"
+ "support": {
+ "issues": "https://github.com/doctrine/instantiator/issues",
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-03T08:28:38+00:00"
+ },
+ {
+ "name": "doctrine/lexer",
+ "version": "1.2.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/lexer.git",
+ "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229",
+ "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^9.0",
+ "phpstan/phpstan": "^1.3",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.11"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
+ {
+ "name": "Johannes Schmitt",
+ "email": "schmittjoh@gmail.com"
+ }
+ ],
+ "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",
+ "homepage": "https://www.doctrine-project.org/projects/lexer.html",
+ "keywords": [
+ "annotations",
+ "docblock",
+ "lexer",
+ "parser",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/lexer/issues",
+ "source": "https://github.com/doctrine/lexer/tree/1.2.3"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-02-28T11:07:21+00:00"
+ },
+ {
+ "name": "felixfbecker/advanced-json-rpc",
+ "version": "v3.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git",
+ "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447",
+ "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447",
+ "shasum": ""
+ },
+ "require": {
+ "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
+ "php": "^7.1 || ^8.0",
+ "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^7.0 || ^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "AdvancedJsonRpc\\": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "ISC"
+ ],
+ "authors": [
+ {
+ "name": "Felix Becker",
+ "email": "felix.b@outlook.com"
+ }
+ ],
+ "description": "A more advanced JSONRPC implementation",
+ "support": {
+ "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues",
+ "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1"
+ },
+ "time": "2021-06-11T22:34:44+00:00"
+ },
+ {
+ "name": "felixfbecker/language-server-protocol",
+ "version": "v1.5.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/felixfbecker/php-language-server-protocol.git",
+ "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842",
+ "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "*",
+ "squizlabs/php_codesniffer": "^3.1",
+ "vimeo/psalm": "^4.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "LanguageServerProtocol\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "ISC"
+ ],
+ "authors": [
+ {
+ "name": "Felix Becker",
+ "email": "felix.b@outlook.com"
+ }
+ ],
+ "description": "PHP classes for the Language Server Protocol",
+ "keywords": [
+ "language",
+ "microsoft",
+ "php",
+ "server"
+ ],
+ "support": {
+ "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues",
+ "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2"
+ },
+ "time": "2022-03-02T22:36:06+00:00"
+ },
+ {
+ "name": "friendsofphp/php-cs-fixer",
+ "version": "v3.8.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
+ "reference": "cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3",
+ "reference": "cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3",
+ "shasum": ""
+ },
+ "require": {
+ "composer/semver": "^3.2",
+ "composer/xdebug-handler": "^3.0.3",
+ "doctrine/annotations": "^1.13",
+ "ext-json": "*",
+ "ext-tokenizer": "*",
+ "php": "^7.4 || ^8.0",
+ "php-cs-fixer/diff": "^2.0",
+ "symfony/console": "^5.4 || ^6.0",
+ "symfony/event-dispatcher": "^5.4 || ^6.0",
+ "symfony/filesystem": "^5.4 || ^6.0",
+ "symfony/finder": "^5.4 || ^6.0",
+ "symfony/options-resolver": "^5.4 || ^6.0",
+ "symfony/polyfill-mbstring": "^1.23",
+ "symfony/polyfill-php80": "^1.25",
+ "symfony/polyfill-php81": "^1.25",
+ "symfony/process": "^5.4 || ^6.0",
+ "symfony/stopwatch": "^5.4 || ^6.0"
+ },
+ "require-dev": {
+ "justinrainbow/json-schema": "^5.2",
+ "keradus/cli-executor": "^1.5",
+ "mikey179/vfsstream": "^1.6.10",
+ "php-coveralls/php-coveralls": "^2.5.2",
+ "php-cs-fixer/accessible-object": "^1.1",
+ "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2",
+ "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1",
+ "phpspec/prophecy": "^1.15",
+ "phpspec/prophecy-phpunit": "^2.0",
+ "phpunit/phpunit": "^9.5",
+ "phpunitgoodpractices/polyfill": "^1.5",
+ "phpunitgoodpractices/traits": "^1.9.1",
+ "symfony/phpunit-bridge": "^6.0",
+ "symfony/yaml": "^5.4 || ^6.0"
+ },
+ "suggest": {
+ "ext-dom": "For handling output formats in XML",
+ "ext-mbstring": "For handling non-UTF8 characters."
+ },
+ "bin": [
+ "php-cs-fixer"
+ ],
+ "type": "application",
+ "autoload": {
+ "psr-4": {
+ "PhpCsFixer\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Dariusz RumiĆski",
+ "email": "dariusz.ruminski@gmail.com"
+ }
+ ],
+ "description": "A tool to automatically fix PHP code style",
+ "support": {
+ "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues",
+ "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.8.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/keradus",
+ "type": "github"
+ }
+ ],
+ "time": "2022-03-18T17:20:59+00:00"
},
{
"name": "jakub-onderka/php-parallel-lint",
@@ -243,39 +1143,47 @@
],
"description": "This tool check syntax of PHP files about 20x faster than serial check.",
"homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint",
+ "support": {
+ "issues": "https://github.com/JakubOnderka/PHP-Parallel-Lint/issues",
+ "source": "https://github.com/JakubOnderka/PHP-Parallel-Lint/tree/master"
+ },
"abandoned": "php-parallel-lint/php-parallel-lint",
"time": "2018-02-24T15:31:20+00:00"
},
{
"name": "myclabs/deep-copy",
- "version": "1.7.0",
+ "version": "1.11.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": "^7.1 || ^8.0"
+ },
+ "conflict": {
+ "doctrine/collections": "<1.6.8",
+ "doctrine/common": "<2.13.3 || >=3,<3.2.2"
},
"require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
+ "doctrine/collections": "^1.6.8",
+ "doctrine/common": "^2.13.3 || ^3.2.2",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
},
"type": "library",
"autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
"files": [
"src/DeepCopy/deep_copy.php"
- ]
+ ],
+ "psr-4": {
+ "DeepCopy\\": "src/DeepCopy/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -289,32 +1197,244 @@
"object",
"object graph"
],
- "time": "2017-10-19T19:58:43+00:00"
+ "support": {
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
+ },
+ "funding": [
+ {
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-03T13:19:32+00:00"
},
{
- "name": "phar-io/manifest",
- "version": "1.0.1",
+ "name": "netresearch/jsonmapper",
+ "version": "v4.0.0",
"source": {
"type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
+ "url": "https://github.com/cweiske/jsonmapper.git",
+ "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
- "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
+ "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d",
+ "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "ext-pcre": "*",
+ "ext-reflection": "*",
+ "ext-spl": "*",
+ "php": ">=7.1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0",
+ "squizlabs/php_codesniffer": "~3.5"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "JsonMapper": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "OSL-3.0"
+ ],
+ "authors": [
+ {
+ "name": "Christian Weiske",
+ "email": "cweiske@cweiske.de",
+ "homepage": "http://github.com/cweiske/jsonmapper/",
+ "role": "Developer"
+ }
+ ],
+ "description": "Map nested JSON structures onto PHP classes",
+ "support": {
+ "email": "cweiske@cweiske.de",
+ "issues": "https://github.com/cweiske/jsonmapper/issues",
+ "source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0"
+ },
+ "time": "2020-12-01T19:48:11+00:00"
+ },
+ {
+ "name": "nextcloud/coding-standard",
+ "version": "v1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nextcloud/coding-standard.git",
+ "reference": "f3d1f9375e89c605deb1734f59a9f51ecbe80578"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/f3d1f9375e89c605deb1734f59a9f51ecbe80578",
+ "reference": "f3d1f9375e89c605deb1734f59a9f51ecbe80578",
+ "shasum": ""
+ },
+ "require": {
+ "friendsofphp/php-cs-fixer": "^3.2",
+ "php": "^7.3|^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Nextcloud\\CodingStandard\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christoph Wurst",
+ "email": "christoph@winzerhof-wurst.at"
+ }
+ ],
+ "description": "Nextcloud coding standards for the php cs fixer",
+ "support": {
+ "issues": "https://github.com/nextcloud/coding-standard/issues",
+ "source": "https://github.com/nextcloud/coding-standard/tree/v1.0.0"
+ },
+ "time": "2021-11-10T08:44:10+00:00"
+ },
+ {
+ "name": "nikic/php-parser",
+ "version": "v4.13.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nikic/PHP-Parser.git",
+ "reference": "210577fe3cf7badcc5814d99455df46564f3c077"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077",
+ "reference": "210577fe3cf7badcc5814d99455df46564f3c077",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=7.0"
+ },
+ "require-dev": {
+ "ircmaxell/php-yacc": "^0.0.7",
+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
+ },
+ "bin": [
+ "bin/php-parse"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.9-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpParser\\": "lib/PhpParser"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Nikita Popov"
+ }
+ ],
+ "description": "A PHP parser written in PHP",
+ "keywords": [
+ "parser",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/nikic/PHP-Parser/issues",
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2"
+ },
+ "time": "2021-11-30T19:35:32+00:00"
+ },
+ {
+ "name": "openlss/lib-array2xml",
+ "version": "1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nullivex/lib-array2xml.git",
+ "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nullivex/lib-array2xml/zipball/a91f18a8dfc69ffabe5f9b068bc39bb202c81d90",
+ "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "LSS": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "authors": [
+ {
+ "name": "Bryan Tong",
+ "email": "bryan@nullivex.com",
+ "homepage": "https://www.nullivex.com"
+ },
+ {
+ "name": "Tony Butler",
+ "email": "spudz76@gmail.com",
+ "homepage": "https://www.nullivex.com"
+ }
+ ],
+ "description": "Array2XML conversion library credit to lalit.org",
+ "homepage": "https://www.nullivex.com",
+ "keywords": [
+ "array",
+ "array conversion",
+ "xml",
+ "xml conversion"
+ ],
+ "support": {
+ "issues": "https://github.com/nullivex/lib-array2xml/issues",
+ "source": "https://github.com/nullivex/lib-array2xml/tree/master"
+ },
+ "time": "2019-03-29T20:06:56+00:00"
+ },
+ {
+ "name": "phar-io/manifest",
+ "version": "2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phar-io/manifest.git",
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53",
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-phar": "*",
- "phar-io/version": "^1.0.1",
- "php": "^5.6 || ^7.0"
+ "ext-xmlwriter": "*",
+ "phar-io/version": "^3.0.1",
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0.x-dev"
}
},
"autoload": {
@@ -344,24 +1464,28 @@
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2017-03-05T18:14:27+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/manifest/issues",
+ "source": "https://github.com/phar-io/manifest/tree/2.0.3"
+ },
+ "time": "2021-07-20T11:28:43+00:00"
},
{
"name": "phar-io/version",
- "version": "1.0.1",
+ "version": "3.2.1",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
- "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
@@ -391,39 +1515,90 @@
}
],
"description": "Library for handling version information and constraints",
- "time": "2017-03-05T17:38:23+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/version/issues",
+ "source": "https://github.com/phar-io/version/tree/3.2.1"
+ },
+ "time": "2022-02-21T01:04:05+00:00"
},
{
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
+ "name": "php-cs-fixer/diff",
+ "version": "v2.0.2",
"source": {
"type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
+ "url": "https://github.com/PHP-CS-Fixer/diff.git",
+ "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
+ "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/29dc0d507e838c4580d018bd8b5cb412474f7ec3",
+ "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3",
"shasum": ""
},
"require": {
- "php": ">=5.5"
+ "php": "^5.6 || ^7.0 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.6"
+ "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0",
+ "symfony/process": "^3.3"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
+ }
+ ],
+ "description": "sebastian/diff v3 backport support for PHP 5.6+",
+ "homepage": "https://github.com/PHP-CS-Fixer",
+ "keywords": [
+ "diff"
+ ],
+ "support": {
+ "issues": "https://github.com/PHP-CS-Fixer/diff/issues",
+ "source": "https://github.com/PHP-CS-Fixer/diff/tree/v2.0.2"
+ },
+ "time": "2020-10-14T08:32:19+00:00"
+ },
+ {
+ "name": "phpdocumentor/reflection-common",
+ "version": "2.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
+ "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
+ "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-2.x": "2.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
+ "phpDocumentor\\Reflection\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -445,45 +1620,46 @@
"reflection",
"static analysis"
],
- "time": "2017-09-11T18:02:19+00:00"
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
+ },
+ "time": "2020-06-27T09:03:43+00:00"
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "4.3.4",
+ "version": "5.3.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c"
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c",
- "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0",
- "phpdocumentor/type-resolver": "~0.4 || ^1.0.0",
- "webmozart/assert": "^1.0"
+ "ext-filter": "*",
+ "php": "^7.2 || ^8.0",
+ "phpdocumentor/reflection-common": "^2.2",
+ "phpdocumentor/type-resolver": "^1.3",
+ "webmozart/assert": "^1.9.1"
},
"require-dev": {
- "doctrine/instantiator": "^1.0.5",
- "mockery/mockery": "^1.0",
- "phpdocumentor/type-resolver": "0.4.*",
- "phpunit/phpunit": "^6.4"
+ "mockery/mockery": "~1.3.2",
+ "psalm/phar": "^4.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-master": "5.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
+ "phpDocumentor\\Reflection\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -494,37 +1670,45 @@
{
"name": "Mike van Riel",
"email": "me@mikevanriel.com"
+ },
+ {
+ "name": "Jaap van Otterdijk",
+ "email": "account@ijaap.nl"
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2019-12-28T18:55:12+00:00"
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
+ },
+ "time": "2021-10-19T17:43:47+00:00"
},
{
"name": "phpdocumentor/type-resolver",
- "version": "0.5.1",
+ "version": "1.6.1",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "cf842904952e64e703800d094cdf34e715a8a3ae"
+ "reference": "77a32518733312af16a44300404e945338981de3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/cf842904952e64e703800d094cdf34e715a8a3ae",
- "reference": "cf842904952e64e703800d094cdf34e715a8a3ae",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3",
+ "reference": "77a32518733312af16a44300404e945338981de3",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0"
+ "php": "^7.2 || ^8.0",
+ "phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
+ "ext-tokenizer": "*",
+ "psalm/phar": "^4.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-1.x": "1.x-dev"
}
},
"autoload": {
@@ -542,37 +1726,42 @@
"email": "me@mikevanriel.com"
}
],
- "time": "2017-12-30T13:23:38+00:00"
+ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
+ "support": {
+ "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1"
+ },
+ "time": "2022-03-15T21:29:03+00:00"
},
{
"name": "phpspec/prophecy",
- "version": "v1.10.3",
+ "version": "v1.15.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "451c3cd1418cf640de218914901e51b064abb093"
+ "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093",
- "reference": "451c3cd1418cf640de218914901e51b064abb093",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13",
+ "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
- "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0"
+ "doctrine/instantiator": "^1.2",
+ "php": "^7.2 || ~8.0, <8.2",
+ "phpdocumentor/reflection-docblock": "^5.2",
+ "sebastian/comparator": "^3.0 || ^4.0",
+ "sebastian/recursion-context": "^3.0 || ^4.0"
},
"require-dev": {
- "phpspec/phpspec": "^2.5 || ^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
+ "phpspec/phpspec": "^6.0 || ^7.0",
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.10.x-dev"
+ "dev-master": "1.x-dev"
}
},
"autoload": {
@@ -605,7 +1794,11 @@
"spy",
"stub"
],
- "time": "2020-03-05T15:02:03+00:00"
+ "support": {
+ "issues": "https://github.com/phpspec/prophecy/issues",
+ "source": "https://github.com/phpspec/prophecy/tree/v1.15.0"
+ },
+ "time": "2021-12-08T12:19:24+00:00"
},
{
"name": "phpstan/phpstan",
@@ -668,40 +1861,44 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "5.3.2",
+ "version": "9.2.15",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
+ "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
- "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f",
+ "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f",
"shasum": ""
},
"require": {
"ext-dom": "*",
+ "ext-libxml": "*",
"ext-xmlwriter": "*",
- "php": "^7.0",
- "phpunit/php-file-iterator": "^1.4.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^2.0.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.0",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
+ "nikic/php-parser": "^4.13.0",
+ "php": ">=7.3",
+ "phpunit/php-file-iterator": "^3.0.3",
+ "phpunit/php-text-template": "^2.0.2",
+ "sebastian/code-unit-reverse-lookup": "^2.0.2",
+ "sebastian/complexity": "^2.0",
+ "sebastian/environment": "^5.1.2",
+ "sebastian/lines-of-code": "^1.0.3",
+ "sebastian/version": "^3.0.1",
+ "theseer/tokenizer": "^1.2.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
- "ext-xdebug": "^2.5.5"
+ "ext-pcov": "*",
+ "ext-xdebug": "*"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.3.x-dev"
+ "dev-master": "9.2-dev"
}
},
"autoload": {
@@ -727,29 +1924,42 @@
"testing",
"xunit"
],
- "time": "2018-04-06T15:36:58+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-03-07T09:28:20+00:00"
},
{
"name": "phpunit/php-file-iterator",
- "version": "1.4.5",
+ "version": "3.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.4.x-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -764,7 +1974,7 @@
"authors": [
{
"name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
+ "email": "sebastian@phpunit.de",
"role": "lead"
}
],
@@ -774,26 +1984,107 @@
"filesystem",
"iterator"
],
- "time": "2017-11-27T13:52:08+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-12-02T12:48:52+00:00"
},
{
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
+ "name": "phpunit/php-invoker",
+ "version": "3.1.1",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
+ "url": "https://github.com/sebastianbergmann/php-invoker.git",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "ext-pcntl": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-pcntl": "*"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.1-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Invoke callables with a timeout",
+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",
+ "keywords": [
+ "process"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:58:55+00:00"
+ },
+ {
+ "name": "phpunit/php-text-template",
+ "version": "2.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
"autoload": {
"classmap": [
"src/"
@@ -815,32 +2106,42 @@
"keywords": [
"template"
],
- "time": "2015-06-21T13:50:34+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T05:33:50+00:00"
},
{
"name": "phpunit/php-timer",
- "version": "1.0.9",
+ "version": "5.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0-dev"
+ "dev-master": "5.0-dev"
}
},
"autoload": {
@@ -855,7 +2156,7 @@
"authors": [
{
"name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
+ "email": "sebastian@phpunit.de",
"role": "lead"
}
],
@@ -864,107 +2165,69 @@
"keywords": [
"timer"
],
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "791198a2c6254db10131eecfe8c06670700904db"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
- "reference": "791198a2c6254db10131eecfe8c06670700904db",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
+ "funding": [
{
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "abandoned": true,
- "time": "2017-11-27T05:48:46+00:00"
+ "time": "2020-10-26T13:16:10+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "6.5.14",
+ "version": "9.5.20",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7"
+ "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bac23fe7ff13dbdb461481f706f0e9fe746334b7",
- "reference": "bac23fe7ff13dbdb461481f706f0e9fe746334b7",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba",
+ "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba",
"shasum": ""
},
"require": {
+ "doctrine/instantiator": "^1.3.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
- "myclabs/deep-copy": "^1.6.1",
- "phar-io/manifest": "^1.0.1",
- "phar-io/version": "^1.0",
- "php": "^7.0",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^5.3",
- "phpunit/php-file-iterator": "^1.4.3",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^1.0.9",
- "phpunit/phpunit-mock-objects": "^5.0.9",
- "sebastian/comparator": "^2.1",
- "sebastian/diff": "^2.0",
- "sebastian/environment": "^3.1",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^2.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^1.0",
- "sebastian/version": "^2.0.1"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2",
- "phpunit/dbunit": "<3.0"
+ "ext-xmlwriter": "*",
+ "myclabs/deep-copy": "^1.10.1",
+ "phar-io/manifest": "^2.0.3",
+ "phar-io/version": "^3.0.2",
+ "php": ">=7.3",
+ "phpspec/prophecy": "^1.12.1",
+ "phpunit/php-code-coverage": "^9.2.13",
+ "phpunit/php-file-iterator": "^3.0.5",
+ "phpunit/php-invoker": "^3.1.1",
+ "phpunit/php-text-template": "^2.0.3",
+ "phpunit/php-timer": "^5.0.2",
+ "sebastian/cli-parser": "^1.0.1",
+ "sebastian/code-unit": "^1.0.6",
+ "sebastian/comparator": "^4.0.5",
+ "sebastian/diff": "^4.0.3",
+ "sebastian/environment": "^5.1.3",
+ "sebastian/exporter": "^4.0.3",
+ "sebastian/global-state": "^5.0.1",
+ "sebastian/object-enumerator": "^4.0.3",
+ "sebastian/resource-operations": "^3.0.3",
+ "sebastian/type": "^3.0",
+ "sebastian/version": "^3.0.2"
},
"require-dev": {
- "ext-pdo": "*"
+ "ext-pdo": "*",
+ "phpspec/prophecy-phpunit": "^2.0.1"
},
"suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^1.1"
+ "ext-soap": "*",
+ "ext-xdebug": "*"
},
"bin": [
"phpunit"
@@ -972,10 +2235,13 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "6.5.x-dev"
+ "dev-master": "9.5-dev"
}
},
"autoload": {
+ "files": [
+ "src/Framework/Assert/Functions.php"
+ ],
"classmap": [
"src/"
]
@@ -998,67 +2264,218 @@
"testing",
"xunit"
],
- "time": "2019-02-01T05:22:47+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20"
+ },
+ "funding": [
+ {
+ "url": "https://phpunit.de/sponsors.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-04-01T12:37:26+00:00"
},
{
- "name": "phpunit/phpunit-mock-objects",
- "version": "5.0.10",
+ "name": "psr/cache",
+ "version": "1.0.1",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
+ "url": "https://github.com/php-fig/cache.git",
+ "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
- "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
+ "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
+ "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.0.5",
- "php": "^7.0",
- "phpunit/php-text-template": "^1.2.1",
- "sebastian/exporter": "^3.1"
- },
- "conflict": {
- "phpunit/phpunit": "<6.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.5.11"
- },
- "suggest": {
- "ext-soap": "*"
+ "php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.0.x-dev"
+ "dev-master": "1.0.x-dev"
}
},
"autoload": {
- "classmap": [
- "src/"
- ]
+ "psr-4": {
+ "Psr\\Cache\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD-3-Clause"
+ "MIT"
],
"authors": [
{
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
}
],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
+ "description": "Common interface for caching libraries",
"keywords": [
- "mock",
- "xunit"
+ "cache",
+ "psr",
+ "psr-6"
],
- "abandoned": true,
- "time": "2018-08-09T05:50:03+00:00"
+ "support": {
+ "source": "https://github.com/php-fig/cache/tree/master"
+ },
+ "time": "2016-08-06T20:24:11+00:00"
+ },
+ {
+ "name": "psr/container",
+ "version": "1.1.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/container.git",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Container\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common Container Interface (PHP FIG PSR-11)",
+ "homepage": "https://github.com/php-fig/container",
+ "keywords": [
+ "PSR-11",
+ "container",
+ "container-interface",
+ "container-interop",
+ "psr"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
+ },
+ "time": "2021-11-05T16:50:12+00:00"
+ },
+ {
+ "name": "psr/event-dispatcher",
+ "version": "1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/event-dispatcher.git",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\EventDispatcher\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Standard interfaces for event handling.",
+ "keywords": [
+ "events",
+ "psr",
+ "psr-14"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/event-dispatcher/issues",
+ "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"
+ },
+ "time": "2019-01-08T18:20:26+00:00"
+ },
+ {
+ "name": "psr/log",
+ "version": "1.1.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/log.git",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Log\\": "Psr/Log/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for logging libraries",
+ "homepage": "https://github.com/php-fig/log",
+ "keywords": [
+ "log",
+ "psr",
+ "psr-3"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
+ },
+ "time": "2021-05-03T11:20:27+00:00"
},
{
"name": "rector/rector",
@@ -1121,29 +2538,141 @@
"time": "2022-04-06T12:55:14+00:00"
},
{
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.2",
+ "name": "sebastian/cli-parser",
+ "version": "1.0.1",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619"
+ "url": "https://github.com/sebastianbergmann/cli-parser.git",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619",
- "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619",
+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
"shasum": ""
},
"require": {
- "php": ">=5.6"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^8.5"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for parsing CLI options",
+ "homepage": "https://github.com/sebastianbergmann/cli-parser",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:08:49+00:00"
+ },
+ {
+ "name": "sebastian/code-unit",
+ "version": "1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit.git",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/code-unit",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:08:54+00:00"
+ },
+ {
+ "name": "sebastian/code-unit-reverse-lookup",
+ "version": "2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -1163,40 +2692,44 @@
],
"description": "Looks up which function or method a line of code belongs to",
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
+ },
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2020-11-30T08:15:22+00:00"
+ "time": "2020-09-28T05:30:19+00:00"
},
{
"name": "sebastian/comparator",
- "version": "2.1.3",
+ "version": "4.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
- "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382",
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "sebastian/diff": "^2.0 || ^3.0",
- "sebastian/exporter": "^3.1"
+ "php": ">=7.3",
+ "sebastian/diff": "^4.0",
+ "sebastian/exporter": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.4"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.1.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -1209,6 +2742,10 @@
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
@@ -1220,10 +2757,6 @@
{
"name": "Bernhard Schussek",
"email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
}
],
"description": "Provides the functionality to compare PHP values for equality",
@@ -1233,27 +2766,38 @@
"compare",
"equality"
],
- "time": "2018-02-01T13:46:46+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:49:45+00:00"
},
{
- "name": "sebastian/diff",
- "version": "2.0.1",
+ "name": "sebastian/complexity",
+ "version": "2.0.2",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd"
+ "url": "https://github.com/sebastianbergmann/complexity.git",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
- "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd",
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "nikic/php-parser": "^4.7",
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.2"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
@@ -1272,45 +2816,118 @@
],
"authors": [
{
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for calculating the complexity of PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/complexity",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/complexity/issues",
+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:52:27+00:00"
+ },
+ {
+ "name": "sebastian/diff",
+ "version": "4.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/diff.git",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3",
+ "symfony/process": "^4.2 || ^5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
}
],
"description": "Diff implementation",
"homepage": "https://github.com/sebastianbergmann/diff",
"keywords": [
- "diff"
+ "diff",
+ "udiff",
+ "unidiff",
+ "unified diff"
],
- "time": "2017-08-03T08:09:46+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:10:38+00:00"
},
{
"name": "sebastian/environment",
- "version": "3.1.0",
+ "version": "5.1.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5"
+ "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7",
+ "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.1"
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-posix": "*"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1.x-dev"
+ "dev-master": "5.1-dev"
}
},
"autoload": {
@@ -1335,34 +2952,44 @@
"environment",
"hhvm"
],
- "time": "2017-07-01T08:51:00+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
+ "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-04-03T09:37:03+00:00"
},
{
"name": "sebastian/exporter",
- "version": "3.1.3",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e"
+ "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e",
- "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9",
+ "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9",
"shasum": ""
},
"require": {
- "php": ">=7.0",
- "sebastian/recursion-context": "^3.0"
+ "php": ">=7.3",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
"ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -1397,38 +3024,45 @@
}
],
"description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
+ "homepage": "https://www.github.com/sebastianbergmann/exporter",
"keywords": [
"export",
"exporter"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
+ "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4"
+ },
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2020-11-30T07:47:53+00:00"
+ "time": "2021-11-11T14:18:36+00:00"
},
{
"name": "sebastian/global-state",
- "version": "2.0.0",
+ "version": "5.0.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4"
+ "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2",
+ "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "ext-dom": "*",
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
"ext-uopz": "*"
@@ -1436,7 +3070,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0-dev"
+ "dev-master": "5.0-dev"
}
},
"autoload": {
@@ -1459,34 +3093,101 @@
"keywords": [
"global state"
],
- "time": "2017-04-27T15:39:26+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-02-14T08:28:10+00:00"
},
{
- "name": "sebastian/object-enumerator",
- "version": "3.0.4",
+ "name": "sebastian/lines-of-code",
+ "version": "1.0.3",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2"
+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
- "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
"shasum": ""
},
"require": {
- "php": ">=7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
+ "nikic/php-parser": "^4.6",
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for counting the lines of code in PHP source code",
+ "homepage": "https://github.com/sebastianbergmann/lines-of-code",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-28T06:42:11+00:00"
+ },
+ {
+ "name": "sebastian/object-enumerator",
+ "version": "4.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/object-enumerator.git",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -1506,38 +3207,42 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
+ },
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2020-11-30T07:40:27+00:00"
+ "time": "2020-10-26T13:12:34+00:00"
},
{
"name": "sebastian/object-reflector",
- "version": "1.1.2",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d"
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
- "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
"shasum": ""
},
"require": {
- "php": ">=7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
@@ -1557,38 +3262,42 @@
],
"description": "Allows reflection of object attributes, including inherited and non-public ones",
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
+ },
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2020-11-30T07:37:18+00:00"
+ "time": "2020-10-26T13:14:26+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "3.0.1",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb"
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb",
- "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
"shasum": ""
},
"require": {
- "php": ">=7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -1616,35 +3325,42 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
+ },
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
- "time": "2020-11-30T07:34:24+00:00"
+ "time": "2020-10-26T13:17:30+00:00"
},
{
"name": "sebastian/resource-operations",
- "version": "1.0.0",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
"shasum": ""
},
"require": {
- "php": ">=5.6.0"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -1664,29 +3380,95 @@
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2015-07-28T20:34:47+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:45:17+00:00"
},
{
- "name": "sebastian/version",
- "version": "2.0.1",
+ "name": "sebastian/type",
+ "version": "3.0.0",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
+ "url": "https://github.com/sebastianbergmann/type.git",
+ "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad",
+ "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad",
"shasum": ""
},
"require": {
- "php": ">=5.6"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.5"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the types of the PHP type system",
+ "homepage": "https://github.com/sebastianbergmann/type",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/type/issues",
+ "source": "https://github.com/sebastianbergmann/type/tree/3.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-03-15T09:54:48+00:00"
+ },
+ {
+ "name": "sebastian/version",
+ "version": "3.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/version.git",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -1707,24 +3489,563 @@
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/version/issues",
+ "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:39:44+00:00"
},
{
- "name": "symfony/polyfill-ctype",
- "version": "v1.19.0",
+ "name": "symfony/console",
+ "version": "v5.4.7",
"source": {
"type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b"
+ "url": "https://github.com/symfony/console.git",
+ "reference": "900275254f0a1a2afff1ab0e11abd5587a10e1d6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/aed596913b70fae57be53d86faa2e9ef85a2297b",
- "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b",
+ "url": "https://api.github.com/repos/symfony/console/zipball/900275254f0a1a2afff1ab0e11abd5587a10e1d6",
+ "reference": "900275254f0a1a2afff1ab0e11abd5587a10e1d6",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php73": "^1.9",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/service-contracts": "^1.1|^2|^3",
+ "symfony/string": "^5.1|^6.0"
+ },
+ "conflict": {
+ "psr/log": ">=3",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/dotenv": "<5.1",
+ "symfony/event-dispatcher": "<4.4",
+ "symfony/lock": "<4.4",
+ "symfony/process": "<4.4"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0|2.0"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/event-dispatcher": "^4.4|^5.0|^6.0",
+ "symfony/lock": "^4.4|^5.0|^6.0",
+ "symfony/process": "^4.4|^5.0|^6.0",
+ "symfony/var-dumper": "^4.4|^5.0|^6.0"
+ },
+ "suggest": {
+ "psr/log": "For using the console logger",
+ "symfony/event-dispatcher": "",
+ "symfony/lock": "",
+ "symfony/process": ""
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Console\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Eases the creation of beautiful and testable command line interfaces",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "cli",
+ "command line",
+ "console",
+ "terminal"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/console/tree/v5.4.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-31T17:09:19+00:00"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "v2.5.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
+ "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
+ },
+ {
+ "name": "symfony/event-dispatcher",
+ "version": "v5.4.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/event-dispatcher.git",
+ "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/dec8a9f58d20df252b9cd89f1c6c1530f747685d",
+ "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/event-dispatcher-contracts": "^2|^3",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "symfony/dependency-injection": "<4.4"
+ },
+ "provide": {
+ "psr/event-dispatcher-implementation": "1.0",
+ "symfony/event-dispatcher-implementation": "2.0"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/error-handler": "^4.4|^5.0|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/http-foundation": "^4.4|^5.0|^6.0",
+ "symfony/service-contracts": "^1.1|^2|^3",
+ "symfony/stopwatch": "^4.4|^5.0|^6.0"
+ },
+ "suggest": {
+ "symfony/dependency-injection": "",
+ "symfony/http-kernel": ""
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\EventDispatcher\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
+ },
+ {
+ "name": "symfony/event-dispatcher-contracts",
+ "version": "v2.5.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/event-dispatcher-contracts.git",
+ "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1",
+ "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/event-dispatcher": "^1"
+ },
+ "suggest": {
+ "symfony/event-dispatcher-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\EventDispatcher\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to dispatching event",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
+ },
+ {
+ "name": "symfony/filesystem",
+ "version": "v5.4.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/filesystem.git",
+ "reference": "3a4442138d80c9f7b600fb297534ac718b61d37f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/3a4442138d80c9f7b600fb297534ac718b61d37f",
+ "reference": "3a4442138d80c9f7b600fb297534ac718b61d37f",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-ctype": "~1.8",
+ "symfony/polyfill-mbstring": "~1.8",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Filesystem\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides basic utilities for the filesystem",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/filesystem/tree/v5.4.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-04-01T12:33:59+00:00"
+ },
+ {
+ "name": "symfony/finder",
+ "version": "v5.4.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/finder.git",
+ "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/231313534dded84c7ecaa79d14bc5da4ccb69b7d",
+ "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Finder\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Finds files and directories via an intuitive fluent interface",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-26T16:34:36+00:00"
+ },
+ {
+ "name": "symfony/options-resolver",
+ "version": "v5.4.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/options-resolver.git",
+ "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/options-resolver/zipball/cc1147cb11af1b43f503ac18f31aa3bec213aba8",
+ "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php73": "~1.0",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\OptionsResolver\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides an improved replacement for the array_replace PHP function",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "config",
+ "configuration",
+ "options"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/options-resolver/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
+ },
+ {
+ "name": "symfony/polyfill-ctype",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-ctype.git",
+ "reference": "30885182c981ab175d4d034db0f6f469898070ab"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
+ "reference": "30885182c981ab175d4d034db0f6f469898070ab",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-ctype": "*"
},
"suggest": {
"ext-ctype": "For best performance"
@@ -1732,7 +4053,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.19-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1740,12 +4061,12 @@
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Ctype\\": ""
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -1769,6 +4090,9 @@
"polyfill",
"portable"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1783,27 +4107,809 @@
"type": "tidelift"
}
],
- "time": "2020-10-23T09:01:57+00:00"
+ "time": "2021-10-20T20:35:02+00:00"
},
{
- "name": "theseer/tokenizer",
- "version": "1.1.3",
+ "name": "symfony/polyfill-intl-grapheme",
+ "version": "v1.25.0",
"source": {
"type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9"
+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
+ "reference": "81b86b50cf841a64252b439e738e97f4a34e2783"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9",
- "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783",
+ "reference": "81b86b50cf841a64252b439e738e97f4a34e2783",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's grapheme_* functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "grapheme",
+ "intl",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-23T21:10:46+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-normalizer",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's Normalizer class and related functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "intl",
+ "normalizer",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-02-19T12:13:01+00:00"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825",
+ "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-mbstring": "*"
+ },
+ "suggest": {
+ "ext-mbstring": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-30T18:21:41+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php73",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php73.git",
+ "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5",
+ "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php73\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-06-05T21:20:04+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php80",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c",
+ "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-04T08:16:47+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php81",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php81.git",
+ "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f",
+ "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php81\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-09-13T13:58:11+00:00"
+ },
+ {
+ "name": "symfony/process",
+ "version": "v5.4.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/process.git",
+ "reference": "38a44b2517b470a436e1c944bf9b9ba3961137fb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/process/zipball/38a44b2517b470a436e1c944bf9b9ba3961137fb",
+ "reference": "38a44b2517b470a436e1c944bf9b9ba3961137fb",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Process\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Executes commands in sub-processes",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/process/tree/v5.4.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-18T16:18:52+00:00"
+ },
+ {
+ "name": "symfony/service-contracts",
+ "version": "v2.5.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/service-contracts.git",
+ "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c",
+ "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/container": "^1.1",
+ "symfony/deprecation-contracts": "^2.1|^3"
+ },
+ "conflict": {
+ "ext-psr": "<1.1|>=2"
+ },
+ "suggest": {
+ "symfony/service-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\Service\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to writing services",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/service-contracts/tree/v2.5.1"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-13T20:07:29+00:00"
+ },
+ {
+ "name": "symfony/stopwatch",
+ "version": "v5.4.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/stopwatch.git",
+ "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4d04b5c24f3c9a1a168a131f6cbe297155bc0d30",
+ "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/service-contracts": "^1|^2|^3"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Stopwatch\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides a way to profile code",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/stopwatch/tree/v5.4.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-02-18T16:06:09+00:00"
+ },
+ {
+ "name": "symfony/string",
+ "version": "v5.4.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/string.git",
+ "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/string/zipball/92043b7d8383e48104e411bc9434b260dbeb5a10",
+ "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-ctype": "~1.8",
+ "symfony/polyfill-intl-grapheme": "~1.0",
+ "symfony/polyfill-intl-normalizer": "~1.0",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "~1.15"
+ },
+ "conflict": {
+ "symfony/translation-contracts": ">=3.0"
+ },
+ "require-dev": {
+ "symfony/error-handler": "^4.4|^5.0|^6.0",
+ "symfony/http-client": "^4.4|^5.0|^6.0",
+ "symfony/translation-contracts": "^1.1|^2",
+ "symfony/var-exporter": "^4.4|^5.0|^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "Resources/functions.php"
+ ],
+ "psr-4": {
+ "Symfony\\Component\\String\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "grapheme",
+ "i18n",
+ "string",
+ "unicode",
+ "utf-8",
+ "utf8"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/string/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
+ },
+ {
+ "name": "theseer/tokenizer",
+ "version": "1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/theseer/tokenizer.git",
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
- "php": "^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
@@ -1823,34 +4929,155 @@
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2019-06-13T22:48:21+00:00"
+ "support": {
+ "issues": "https://github.com/theseer/tokenizer/issues",
+ "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2021-07-28T10:34:58+00:00"
},
{
- "name": "webmozart/assert",
- "version": "1.9.1",
+ "name": "vimeo/psalm",
+ "version": "4.22.0",
"source": {
"type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
+ "url": "https://github.com/vimeo/psalm.git",
+ "reference": "fc2c6ab4d5fa5d644d8617089f012f3bb84b8703"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
+ "url": "https://api.github.com/repos/vimeo/psalm/zipball/fc2c6ab4d5fa5d644d8617089f012f3bb84b8703",
+ "reference": "fc2c6ab4d5fa5d644d8617089f012f3bb84b8703",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0 || ^8.0",
+ "amphp/amp": "^2.4.2",
+ "amphp/byte-stream": "^1.5",
+ "composer/package-versions-deprecated": "^1.8.0",
+ "composer/semver": "^1.4 || ^2.0 || ^3.0",
+ "composer/xdebug-handler": "^1.1 || ^2.0 || ^3.0",
+ "dnoegel/php-xdg-base-dir": "^0.1.1",
+ "ext-ctype": "*",
+ "ext-dom": "*",
+ "ext-json": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-simplexml": "*",
+ "ext-tokenizer": "*",
+ "felixfbecker/advanced-json-rpc": "^3.0.3",
+ "felixfbecker/language-server-protocol": "^1.5",
+ "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
+ "nikic/php-parser": "^4.13",
+ "openlss/lib-array2xml": "^1.0",
+ "php": "^7.1|^8",
+ "sebastian/diff": "^3.0 || ^4.0",
+ "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0",
+ "webmozart/path-util": "^2.3"
+ },
+ "provide": {
+ "psalm/psalm": "self.version"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.2",
+ "brianium/paratest": "^4.0||^6.0",
+ "ext-curl": "*",
+ "php-parallel-lint/php-parallel-lint": "^1.2",
+ "phpdocumentor/reflection-docblock": "^5",
+ "phpmyadmin/sql-parser": "5.1.0||dev-master",
+ "phpspec/prophecy": ">=1.9.0",
+ "phpunit/phpunit": "^9.0",
+ "psalm/plugin-phpunit": "^0.16",
+ "slevomat/coding-standard": "^7.0",
+ "squizlabs/php_codesniffer": "^3.5",
+ "symfony/process": "^4.3 || ^5.0 || ^6.0",
+ "weirdan/prophecy-shim": "^1.0 || ^2.0"
+ },
+ "suggest": {
+ "ext-curl": "In order to send data to shepherd",
+ "ext-igbinary": "^2.0.5 is required, used to serialize caching data"
+ },
+ "bin": [
+ "psalm",
+ "psalm-language-server",
+ "psalm-plugin",
+ "psalm-refactor",
+ "psalter"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.x-dev",
+ "dev-3.x": "3.x-dev",
+ "dev-2.x": "2.x-dev",
+ "dev-1.x": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/functions.php",
+ "src/spl_object_id.php"
+ ],
+ "psr-4": {
+ "Psalm\\": "src/Psalm/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Matthew Brown"
+ }
+ ],
+ "description": "A static analysis tool for finding errors in PHP applications",
+ "keywords": [
+ "code",
+ "inspection",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/vimeo/psalm/issues",
+ "source": "https://github.com/vimeo/psalm/tree/4.22.0"
+ },
+ "time": "2022-02-24T20:34:05+00:00"
+ },
+ {
+ "name": "webmozart/assert",
+ "version": "1.10.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/webmozarts/assert.git",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
- "vimeo/psalm": "<3.9.1"
+ "vimeo/psalm": "<4.6.1 || 4.6.2"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.36 || ^7.5.13"
+ "phpunit/phpunit": "^8.5.13"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.10-dev"
+ }
+ },
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
@@ -1872,13 +5099,69 @@
"check",
"validate"
],
- "time": "2020-07-08T17:02:28+00:00"
+ "support": {
+ "issues": "https://github.com/webmozarts/assert/issues",
+ "source": "https://github.com/webmozarts/assert/tree/1.10.0"
+ },
+ "time": "2021-03-09T10:59:23+00:00"
+ },
+ {
+ "name": "webmozart/path-util",
+ "version": "2.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/webmozart/path-util.git",
+ "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725",
+ "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "webmozart/assert": "~1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.6",
+ "sebastian/version": "^1.0.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.3-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Webmozart\\PathUtil\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
+ }
+ ],
+ "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.",
+ "support": {
+ "issues": "https://github.com/webmozart/path-util/issues",
+ "source": "https://github.com/webmozart/path-util/tree/2.3.0"
+ },
+ "abandoned": "symfony/filesystem",
+ "time": "2015-12-17T08:42:14+00:00"
}
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
- "daita/my-small-php-tools": 20
+ "daita/my-small-php-tools": 20,
+ "christophwurst/nextcloud": 20
},
"prefer-stable": false,
"prefer-lowest": false,
diff --git a/lib/AP.php b/lib/AP.php
index 2e8a255d..80065b06 100644
--- a/lib/AP.php
+++ b/lib/AP.php
@@ -1,4 +1,5 @@
getType(), $types));
}
-
}
AP::init();
-
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 07a21751..f3933bd8 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -1,4 +1,5 @@
setAppValue('update_checked', '0.3');
}
-
}
-
diff --git a/lib/Command/AccountCreate.php b/lib/Command/AccountCreate.php
index 90a07351..12b05e1a 100644
--- a/lib/Command/AccountCreate.php
+++ b/lib/Command/AccountCreate.php
@@ -1,4 +1,5 @@
accountService->createActor($userId, $handle);
}
}
-
diff --git a/lib/Command/AccountFollowing.php b/lib/Command/AccountFollowing.php
index e38669e2..66fbb4cf 100644
--- a/lib/Command/AccountFollowing.php
+++ b/lib/Command/AccountFollowing.php
@@ -1,4 +1,5 @@
followService->followAccount($actor, $account);
}
}
-
}
-
diff --git a/lib/Command/CacheRefresh.php b/lib/Command/CacheRefresh.php
index 9b9c0d6c..2f1e45a4 100644
--- a/lib/Command/CacheRefresh.php
+++ b/lib/Command/CacheRefresh.php
@@ -1,4 +1,5 @@
accountService->blindKeyRotation();
$output->writeLn($result . ' key pairs refreshed');
@@ -91,4 +87,3 @@ class CacheRefresh extends Base {
$output->writeLn($result . ' hashtags updated');
}
}
-
diff --git a/lib/Command/CheckInstall.php b/lib/Command/CheckInstall.php
index 3c4855bd..8a312079 100644
--- a/lib/Command/CheckInstall.php
+++ b/lib/Command/CheckInstall.php
@@ -1,4 +1,5 @@
pushService = $pushService;
}
-
- /**
- *
- */
protected function configure() {
parent::configure();
$this->setName('social:check:install')
@@ -126,9 +95,6 @@ class CheckInstall extends Base {
/**
- * @param InputInterface $input
- * @param OutputInterface $output
- *
* @throws Exception
*/
protected function execute(InputInterface $input, OutputInterface $output) {
@@ -150,7 +116,6 @@ class CheckInstall extends Base {
$output->writeln(json_encode($this->configService->getConfig(), JSON_PRETTY_PRINT));
}
-
/**
* @param InputInterface $input
* @param OutputInterface $output
@@ -210,10 +175,6 @@ class CheckInstall extends Base {
return true;
}
-
- /**
- * @param OutputInterface $output
- */
private function regenerateIndex(OutputInterface $output) {
$streams = $this->streamRequest->getAll();
$progressBar = new ProgressBar($output, count($streams));
@@ -232,6 +193,4 @@ class CheckInstall extends Base {
$progressBar->finish();
$output->writeln('');
}
-
}
-
diff --git a/lib/Command/ExtendedBase.php b/lib/Command/ExtendedBase.php
index 0f186c47..c940cdc8 100644
--- a/lib/Command/ExtendedBase.php
+++ b/lib/Command/ExtendedBase.php
@@ -1,4 +1,5 @@
asJson) {
$this->output->writeln(json_encode($actor, JSON_PRETTY_PRINT));
}
@@ -60,7 +53,6 @@ class ExtendedBase extends Base {
$this->output->writeln('Account: ' . $actor->getAccount());
$this->output->writeln('Id: ' . $actor->getId());
$this->output->writeln('');
-
}
@@ -128,5 +120,4 @@ class ExtendedBase extends Base {
);
$this->output->writeln('type: ' . $stream->getType() . '');
}
-
}
diff --git a/lib/Command/Fediverse.php b/lib/Command/Fediverse.php
index 65de1a14..5996977c 100644
--- a/lib/Command/Fediverse.php
+++ b/lib/Command/Fediverse.php
@@ -1,4 +1,5 @@
fediverseService = $fediverseService;
- $this->configService = $configService;
- $this->miscService = $miscService;
}
-
- /**
- *
- */
protected function configure() {
parent::configure();
$this->setName('social:fediverse')
@@ -95,11 +66,7 @@ class Fediverse extends Base {
->setDescription('Allow or deny access to the fediverse');
}
-
/**
- * @param InputInterface $input
- * @param OutputInterface $output
- *
* @throws Exception
*/
protected function execute(InputInterface $input, OutputInterface $output) {
@@ -143,14 +110,10 @@ class Fediverse extends Base {
}
}
-
/**
- * @param string $type
- *
- * @return bool
* @throws Exception
*/
- private function typeAccess(string $type) {
+ private function typeAccess(string $type): bool {
if ($type === '') {
return false;
}
@@ -160,12 +123,7 @@ class Fediverse extends Base {
return true;
}
-
- /**
- * @param bool $allKnownAddress
- */
- private function listAddresses(bool $allKnownAddress = false) {
-
+ private function listAddresses(bool $allKnownAddress = false): void {
if ($allKnownAddress) {
$this->output->writeln('- Known address:');
foreach ($this->fediverseService->getKnownAddresses() as $address) {
@@ -177,35 +135,26 @@ class Fediverse extends Base {
foreach ($this->fediverseService->getListedAddresses() as $address) {
$this->output->writeln(' ' . $address . '');
}
-
}
/**
- * @param string $address
- *
* @throws Exception
*/
- private function addAddress(string $address) {
+ private function addAddress(string $address): void {
$this->fediverseService->addAddress($address);
$this->output->writeln('' . $address . ' added to the list');
}
-
/**
- * @param string $address
- *
* @throws Exception
*/
- private function removeAddress(string $address) {
+ private function removeAddress(string $address): void {
$this->fediverseService->removeAddress($address);
$this->output->writeln('' . $address . ' removed from the list');
}
-
/**
- * @param string $address
- *
* @throws SocialAppConfigException
*/
private function testAddress(string $address) {
@@ -217,15 +166,8 @@ class Fediverse extends Base {
}
}
-
- /**
- *
- */
private function resetAddresses() {
$this->fediverseService->resetAddresses();
$this->output->writeln('list is now empty');
}
-
-
}
-
diff --git a/lib/Command/MigrateAlpha3.php b/lib/Command/MigrateAlpha3.php
index b2ec3ba4..cd7fc93f 100644
--- a/lib/Command/MigrateAlpha3.php
+++ b/lib/Command/MigrateAlpha3.php
@@ -1,4 +1,5 @@
[
+ 'social_a2_actions' => [
['id_prim'],
'social_3_action',
[
- 'actor_id_prim' => 'PRIM:actor_id',
+ 'actor_id_prim' => 'PRIM:actor_id',
'object_id_prim' => 'PRIM:object_id'
]
],
- 'social_a2_actors' => [['user_id'], 'social_3_actor', []],
- 'social_a2_cache_actors' => [['id_prim'], 'social_3_cache_actor', []],
+ 'social_a2_actors' => [['user_id'], 'social_3_actor', []],
+ 'social_a2_cache_actors' => [['id_prim'], 'social_3_cache_actor', []],
'social_a2_cache_documts' => [['id_prim'], 'social_3_cache_doc', []],
- 'social_a2_follows' => [
+ 'social_a2_follows' => [
['id_prim'],
'social_3_follow',
[
- 'actor_id_prim' => 'PRIM:actor_id',
+ 'actor_id_prim' => 'PRIM:actor_id',
'object_id_prim' => 'PRIM:object_id',
'follow_id_prim' => 'PRIM:follow_id'
]
],
- 'social_a2_hashtags' => [['hashtag'], 'social_3_hashtag', []],
+ 'social_a2_hashtags' => [['hashtag'], 'social_3_hashtag', []],
'social_a2_request_queue' => [['id'], 'social_3_req_queue', []],
- 'social_a2_stream' => [
+ 'social_a2_stream' => [
['id_prim'],
'social_3_stream',
[
- 'object_id_prim' => 'PRIM:object_id',
- 'in_reply_to_prim' => 'PRIM:in_reply_to',
+ 'object_id_prim' => 'PRIM:object_id',
+ 'in_reply_to_prim' => 'PRIM:in_reply_to',
'attributed_to_prim' => 'PRIM:attributed_to',
- 'filter_duplicate' => 'COPY:hidden_on_timeline',
+ 'filter_duplicate' => 'COPY:hidden_on_timeline',
'hidden_on_timeline' => 'REMOVED:'
]
],
@@ -105,24 +94,14 @@ class MigrateAlpha3 extends Base {
['id'],
'social_3_stream_act',
[
- 'actor_id_prim' => 'PRIM:actor_id',
+ 'actor_id_prim' => 'PRIM:actor_id',
'stream_id_prim' => 'PRIM:stream_id',
- '_function_' => 'migrateTableStreamAction'
+ '_function_' => 'migrateTableStreamAction'
]
],
- 'social_a2_stream_queue' => [['id'], 'social_3_stream_queue', []]
+ 'social_a2_stream_queue' => [['id'], 'social_3_stream_queue', []]
];
-
- /**
- * CacheUpdate constructor.
- *
- * @param IDBConnection $dbConnection
- * @param CoreRequestBuilder $coreRequestBuilder
- * @param CheckService $checkService
- * @param ConfigService $configService
- * @param MiscService $miscService
- */
public function __construct(
IDBConnection $dbConnection, CoreRequestBuilder $coreRequestBuilder, CheckService $checkService,
ConfigService $configService, MiscService $miscService
@@ -135,10 +114,6 @@ class MigrateAlpha3 extends Base {
$this->miscService = $miscService;
}
-
- /**
- *
- */
protected function configure() {
parent::configure();
$this->setName('social:migrate:alpha3')
@@ -153,9 +128,6 @@ class MigrateAlpha3 extends Base {
/**
- * @param InputInterface $input
- * @param OutputInterface $output
- *
* @throws Exception
*/
protected function execute(InputInterface $input, OutputInterface $output) {
@@ -216,8 +188,6 @@ class MigrateAlpha3 extends Base {
/**
* @param InputInterface $input
* @param OutputInterface $output
- *
- * @return bool
*/
private function confirmExecute(InputInterface $input, OutputInterface $output): bool {
$helper = $this->getHelper('question');
@@ -234,11 +204,7 @@ class MigrateAlpha3 extends Base {
}
- /**
- * @param OutputInterface $output
- * @param array $tables
- */
- private function migrateTables(OutputInterface $output, array $tables) {
+ private function migrateTables(OutputInterface $output, array $tables): void {
foreach ($tables as $table) {
try {
$this->migrateTable($output, $table);
@@ -250,15 +216,9 @@ class MigrateAlpha3 extends Base {
);
}
}
-
}
-
- /**
- * @param OutputInterface $output
- * @param string $table
- */
- private function migrateTable(OutputInterface $output, string $table) {
+ private function migrateTable(OutputInterface $output, string $table): void {
$output->writeln('');
$output->writeln('Retrieving data from \'' . $table . '\'.');
$fullContent = $this->getContentFromTable($table);
@@ -282,12 +242,6 @@ class MigrateAlpha3 extends Base {
$this->done[] = $table;
}
-
- /**
- * @param string $table
- *
- * @return array
- */
private function getContentFromTable(string $table): array {
$qb = $this->dbConnection->getQueryBuilder();
@@ -304,13 +258,6 @@ class MigrateAlpha3 extends Base {
return $entries;
}
-
- /**
- * @param string $table
- * @param $entry
- *
- * @return bool
- */
private function migrateEntry(string $table, $entry): bool {
if (!$this->checkUnique($table, $entry)) {
return false;
@@ -333,7 +280,7 @@ class MigrateAlpha3 extends Base {
if ($this->get($k, $entry, '') !== '') {
$this->manageDefault($qb, $this->get($k, $destDefault), $entry);
$value = $entry[$k];
- } else if (array_key_exists($k, $destDefault)) {
+ } elseif (array_key_exists($k, $destDefault)) {
$value = $this->manageDefault($qb, $destDefault[$k], $entry);
}
} catch (Exception $e) {
@@ -354,13 +301,6 @@ class MigrateAlpha3 extends Base {
return true;
}
-
- /**
- * @param string $table
- * @param $entry
- *
- * @return bool
- */
private function checkUnique(string $table, $entry): bool {
list($unique, $destTable) = $this->tables[$table];
@@ -375,7 +315,7 @@ class MigrateAlpha3 extends Base {
}
$qb->andWhere($andX);
- $cursor = $qb->execute();
+ $cursor = $qb->executeQuery();
$data = $cursor->fetch();
$cursor->closeCursor();
@@ -388,10 +328,6 @@ class MigrateAlpha3 extends Base {
/**
- * @param IQueryBuilder $qb
- * @param string $default
- * @param array $entry
- *
* @return IParameter|string
* @throws Exception
*/
@@ -423,11 +359,6 @@ class MigrateAlpha3 extends Base {
return '';
}
-
- /**
- * @param InputInterface $input
- * @param OutputInterface $output
- */
private function dropDeprecatedTables(InputInterface $input, OutputInterface $output) {
$helper = $this->getHelper('question');
$output->writeln('');
@@ -445,20 +376,11 @@ class MigrateAlpha3 extends Base {
}
}
-
- /**
- * @param string $table
- */
- private function dropTable(string $table) {
+ private function dropTable(string $table): void {
$this->dbConnection->dropTable($table);
}
-
- /**
- * @param IQueryBuilder $qb
- * @param array $entry
- */
- public function migrateTableStreamAction(IQueryBuilder $qb, array $entry) {
+ public function migrateTableStreamAction(IQueryBuilder $qb, array $entry): void {
$values = json_decode($entry['values'], true);
if ($values === null) {
return;
@@ -470,6 +392,4 @@ class MigrateAlpha3 extends Base {
$qb->setValue('liked', $qb->createNamedParameter($liked));
$qb->setValue('boosted', $qb->createNamedParameter($boosted));
}
-
}
-
diff --git a/lib/Command/NoteBoost.php b/lib/Command/NoteBoost.php
index 828f9c67..f68587e8 100644
--- a/lib/Command/NoteBoost.php
+++ b/lib/Command/NoteBoost.php
@@ -1,4 +1,5 @@
getArgument('userid');
$content = $input->getArgument('content');
$to = $input->getOption('to');
@@ -146,6 +142,4 @@ class NoteCreate extends Base {
echo 'object: ' . json_encode($activity, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . "\n";
echo 'token: ' . $token . "\n";
}
-
}
-
diff --git a/lib/Command/NoteLike.php b/lib/Command/NoteLike.php
index 87d36112..3e4d46a5 100644
--- a/lib/Command/NoteLike.php
+++ b/lib/Command/NoteLike.php
@@ -1,4 +1,5 @@
writeLn('processing requests queue');
$this->processRequestQueue($output);
@@ -156,5 +152,4 @@ class QueueProcess extends Base {
$output->writeLn('done');
}
-
}
diff --git a/lib/Command/QueueStatus.php b/lib/Command/QueueStatus.php
index d3eaade2..7d9606c0 100644
--- a/lib/Command/QueueStatus.php
+++ b/lib/Command/QueueStatus.php
@@ -1,4 +1,5 @@
getOption('token');
if ($token === null) {
@@ -100,8 +97,5 @@ class QueueStatus extends Base {
foreach ($requests as $request) {
$output->writeLn(json_encode($request));
}
-
}
-
}
-
diff --git a/lib/Command/Reset.php b/lib/Command/Reset.php
index b864296e..a04c4bf0 100644
--- a/lib/Command/Reset.php
+++ b/lib/Command/Reset.php
@@ -1,4 +1,5 @@
getHelper('question');
$output->writeln(
'Beware, this operation will delete all content from the Social App.'
@@ -192,6 +188,4 @@ class Reset extends Base {
$this->configService->unsetCoreValue('public_host-meta-json');
}
}
-
}
-
diff --git a/lib/Command/StreamDetails.php b/lib/Command/StreamDetails.php
index e5bc52ff..94dce92f 100644
--- a/lib/Command/StreamDetails.php
+++ b/lib/Command/StreamDetails.php
@@ -1,4 +1,5 @@
output->writeln('Affected Timelines:');
$home = array_map(
- function(Person $item): string {
+ function (Person $item): string {
return $item->getUserId();
}, $details->getHomeViewers()
);
$this->output->writeln('* Home: ' . json_encode($home, JSON_PRETTY_PRINT));
$direct = array_map(
- function(Person $item): string {
+ function (Person $item): string {
return $item->getUserId();
}, $details->getDirectViewers()
);
@@ -137,6 +134,4 @@ class StreamDetails extends ExtendedBase {
$this->output->writeln('* Public: ' . ($details->isPublic() ? 'true' : 'false'));
$this->output->writeln('* Federated: ' . ($details->isFederated() ? 'true' : 'false'));
}
-
}
-
diff --git a/lib/Command/Timeline.php b/lib/Command/Timeline.php
index 4913f249..961cae3e 100644
--- a/lib/Command/Timeline.php
+++ b/lib/Command/Timeline.php
@@ -1,4 +1,5 @@
client === null) {
return new DataResponse(
[
- 'name' => 'Nextcloud Social',
+ 'name' => 'Nextcloud Social',
'website' => 'https://github.com/nextcloud/social/'
], Http::STATUS_OK
);
} else {
return new DataResponse(
[
- 'name' => $this->client->getAppName(),
+ 'name' => $this->client->getAppName(),
'website' => $this->client->getAppWebsite()
], Http::STATUS_OK
);
@@ -163,7 +132,6 @@ class ApiController extends Controller {
} catch (Exception $e) {
return $this->error($e->getMessage());
}
-
}
@@ -335,7 +303,4 @@ class ApiController extends Controller {
private function error(string $error): DataResponse {
return new DataResponse(['error' => $error], Http::STATUS_UNAUTHORIZED);
}
-
}
-
-
diff --git a/lib/Controller/ConfigController.php b/lib/Controller/ConfigController.php
index 4a200bcc..e0d9acd4 100644
--- a/lib/Controller/ConfigController.php
+++ b/lib/Controller/ConfigController.php
@@ -1,4 +1,5 @@
miscService = $miscService;
}
- /**
- * @param string $cloudAddress
- *
- * @return DataResponse
- */
public function setCloudAddress(string $cloudAddress): DataResponse {
$this->configService->setCloudUrl($cloudAddress);
@@ -79,8 +68,6 @@ class ConfigController extends Controller {
*
* @NoCSRFRequired
* @PublicPage
- *
- * @return DataResponse
*/
public function local(): DataResponse {
$setup = false;
@@ -93,7 +80,7 @@ class ConfigController extends Controller {
return $this->success(
[
'version' => $this->configService->getAppValue('installed_version'),
- 'setup' => $setup
+ 'setup' => $setup
]
);
}
@@ -104,10 +91,6 @@ class ConfigController extends Controller {
*
* @NoCSRFRequired
* @PublicPage
- *
- * @param string $account
- *
- * @return DataResponse
*/
public function remote(string $account): DataResponse {
if ($account === '' || $this->configService->getSystemValue('social.tests') === '') {
@@ -122,7 +105,7 @@ class ConfigController extends Controller {
$tests = new SimpleDataStore(
[
- 'account' => $account,
+ 'account' => $account,
'endpoint' => $this->configService->getSystemValue('social.tests')
]
);
@@ -134,6 +117,4 @@ class ConfigController extends Controller {
return $this->success([$tests]);
}
-
}
-
diff --git a/lib/Controller/LocalController.php b/lib/Controller/LocalController.php
index 3c6f9750..36c62725 100644
--- a/lib/Controller/LocalController.php
+++ b/lib/Controller/LocalController.php
@@ -1,4 +1,5 @@
success(
[
- 'post' => $activity->getObject(),
+ 'post' => $activity->getObject(),
'token' => $token
]
);
@@ -179,15 +140,11 @@ class LocalController extends Controller {
/**
- * get info about a post (limited to viewer rights).
+ * Get info about a post (limited to viewer rights).
*
* @NoAdminRequired
* @PublicPage
* @NoCSRFRequired
- *
- * @param string $id
- *
- * @return DataResponse
*/
public function postGet(string $id): DataResponse {
try {
@@ -202,16 +159,10 @@ class LocalController extends Controller {
/**
- * get replies about a post (limited to viewer rights).
+ * Get replies about a post (limited to viewer rights).
*
* @NoAdminRequired
* @NoCSRFRequired
- *
- * @param string $id
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
public function postReplies(string $id, int $since = 0, int $limit = 5): DataResponse {
try {
@@ -254,10 +205,6 @@ class LocalController extends Controller {
* Create a new boost.
*
* @NoAdminRequired
- *
- * @param string $postId
- *
- * @return DataResponse
*/
public function postBoost(string $postId): DataResponse {
try {
@@ -280,10 +227,6 @@ class LocalController extends Controller {
* Delete a boost.
*
* @NoAdminRequired
- *
- * @param string $postId
- *
- * @return DataResponse
*/
public function postUnboost(string $postId): DataResponse {
try {
@@ -306,10 +249,6 @@ class LocalController extends Controller {
* Like a post.
*
* @NoAdminRequired
- *
- * @param string $postId
- *
- * @return DataResponse
*/
public function postLike(string $postId): DataResponse {
try {
@@ -318,7 +257,7 @@ class LocalController extends Controller {
return $this->success(
[
- 'like' => $announce,
+ 'like' => $announce,
'token' => $token
]
);
@@ -329,13 +268,9 @@ class LocalController extends Controller {
/**
- * unlike a post.
+ * Unlike a post.
*
* @NoAdminRequired
- *
- * @param string $postId
- *
- * @return DataResponse
*/
public function postUnlike(string $postId): DataResponse {
try {
@@ -344,7 +279,7 @@ class LocalController extends Controller {
return $this->success(
[
- 'like' => $like,
+ 'like' => $like,
'token' => $token
]
);
@@ -357,13 +292,8 @@ class LocalController extends Controller {
/**
* @NoCSRFRequired
* @NoAdminRequired
- *
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
- public function streamHome($since = 0, int $limit = 5): DataResponse {
+ public function streamHome(int $since = 0, int $limit = 5): DataResponse {
try {
$this->initViewer(true);
$posts = $this->streamService->getStreamHome($since, $limit);
@@ -378,13 +308,8 @@ class LocalController extends Controller {
/**
* @NoCSRFRequired
* @NoAdminRequired
- *
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
- public function streamNotifications($since = 0, int $limit = 5): DataResponse {
+ public function streamNotifications(int $since = 0, int $limit = 5): DataResponse {
try {
$this->initViewer(true);
$posts = $this->streamService->getStreamNotifications($since, $limit);
@@ -399,14 +324,8 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
* @PublicPage
- *
- * @param string $username
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
- public function streamAccount(string $username, $since = 0, int $limit = 5): DataResponse {
+ public function streamAccount(string $username, int $since = 0, int $limit = 5): DataResponse {
try {
$this->initViewer();
@@ -423,11 +342,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
* @NoCSRFRequired
- *
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
public function streamDirect(int $since = 0, int $limit = 5): DataResponse {
try {
@@ -446,11 +360,6 @@ class LocalController extends Controller {
*
* @NoAdminRequired
* @NoCSRFRequired
- *
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
public function streamTimeline(int $since = 0, int $limit = 5): DataResponse {
try {
@@ -468,12 +377,6 @@ class LocalController extends Controller {
* Get timeline
*
* @NoAdminRequired
- *
- * @param string $hashtag
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
public function streamTag(string $hashtag, int $since = 0, int $limit = 5): DataResponse {
try {
@@ -491,11 +394,6 @@ class LocalController extends Controller {
* Get timeline
*
* @NoAdminRequired
- *
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
public function streamFederated(int $since = 0, int $limit = 5): DataResponse {
try {
@@ -513,11 +411,6 @@ class LocalController extends Controller {
* Get liked post
*
* @NoAdminRequired
- *
- * @param int $since
- * @param int $limit
- *
- * @return DataResponse
*/
public function streamLiked(int $since = 0, int $limit = 5): DataResponse {
try {
@@ -533,10 +426,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param string $account
- *
- * @return DataResponse
*/
public function actionFollow(string $account): DataResponse {
try {
@@ -553,10 +442,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param string $account
- *
- * @return DataResponse
*/
public function actionUnfollow(string $account): DataResponse {
try {
@@ -590,8 +475,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @return DataResponse
*/
public function currentFollowers(): DataResponse {
try {
@@ -609,8 +492,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @return DataResponse
*/
public function currentFollowing(): DataResponse {
try {
@@ -629,10 +510,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
* @PublicPage
- *
- * @param string $username
- *
- * @return DataResponse
*/
public function accountInfo(string $username): DataResponse {
try {
@@ -651,35 +528,8 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
* @PublicPage
- *
- * @param string $username
- *
- * @return DataResponse
- */
- public function accountFollowers(string $username): DataResponse {
- try {
- $this->initViewer();
-
- $actor = $this->cacheActorService->getFromLocalAccount($username);
- $followers = $this->followService->getFollowers($actor);
-
- return $this->success($followers);
- } catch (Exception $e) {
- return $this->fail($e);
- }
- }
-
-
- /**
- * @NoAdminRequired
- * @PublicPage
- *
- * @param string $username
- *
- * @return DataResponse
*/
public function accountFollowing(string $username): DataResponse {
-
try {
$this->initViewer();
@@ -695,10 +545,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param string $account
- *
- * @return DataResponse
*/
public function globalAccountInfo(string $account): DataResponse {
try {
@@ -715,10 +561,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param string $id
- *
- * @return DataResponse
*/
public function globalActorInfo(string $id): DataResponse {
try {
@@ -735,10 +577,6 @@ class LocalController extends Controller {
* @NoCSRFRequired
* @NoAdminRequired
* @PublicPage
- *
- * @param string $id
- *
- * @return DataResponse
*/
public function globalActorAvatar(string $id): Response {
try {
@@ -764,10 +602,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param string $search
- *
- * @return DataResponse
* @throws Exception
*/
public function globalAccountsSearch(string $search): DataResponse {
@@ -801,10 +635,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param string $search
- *
- * @return DataResponse
* @throws Exception
*/
public function globalTagsSearch(string $search): DataResponse {
@@ -834,14 +664,10 @@ class LocalController extends Controller {
}
- /** // TODO - remove this tag
- *
+ /**
+ * TODO - remove this tag
* @NoCSRFRequired
* @NoAdminRequired
- *
- * @param string $search
- *
- * @return DataResponse
* @throws Exception
*/
public function search(string $search): DataResponse {
@@ -851,7 +677,7 @@ class LocalController extends Controller {
$result = [
'accounts' => $this->searchService->searchAccounts($search),
'hashtags' => $this->searchService->searchHashtags($search),
- 'content' => $this->searchService->searchStreamContent($search)
+ 'content' => $this->searchService->searchStreamContent($search)
];
return $this->success($result);
@@ -860,10 +686,6 @@ class LocalController extends Controller {
/**
* @NoAdminRequired
- *
- * @param array $documents
- *
- * @return DataResponse
*/
public function documentsCache(array $documents): DataResponse {
try {
@@ -884,9 +706,6 @@ class LocalController extends Controller {
/**
- *
- * @param bool $exception
- *
* @throws AccountDoesNotExistException
*/
private function initViewer(bool $exception = false) {
@@ -912,6 +731,4 @@ class LocalController extends Controller {
}
}
}
-
}
-
diff --git a/lib/Controller/NavigationController.php b/lib/Controller/NavigationController.php
index 15a3a1d9..05b06fbb 100644
--- a/lib/Controller/NavigationController.php
+++ b/lib/Controller/NavigationController.php
@@ -1,4 +1,5 @@
false,
+ 'public' => false,
'firstrun' => false,
- 'setup' => false,
- 'isAdmin' => OC::$server->getGroupManager()
+ 'setup' => false,
+ 'isAdmin' => OC::$server->getGroupManager()
->isAdmin($this->userId),
- 'cliUrl' => $this->getCliUrl()
+ 'cliUrl' => $this->getCliUrl()
];
try {
@@ -250,7 +249,6 @@ class NavigationController extends Controller {
$file = $this->documentService->getFromCache($id, $mime);
return new FileDisplayResponse($file, Http::STATUS_OK, ['Content-Type' => $mime]);
-
} catch (Exception $e) {
return $this->fail($e);
}
@@ -266,7 +264,6 @@ class NavigationController extends Controller {
* @return Response
*/
public function documentGetPublic(string $id): Response {
-
try {
$mime = '';
$file = $this->documentService->getFromCache($id, $mime, true);
@@ -287,7 +284,6 @@ class NavigationController extends Controller {
* @return Response
*/
public function resizedGet(string $id): Response {
-
try {
$mime = '';
$file = $this->documentService->getResizedFromCache($id, $mime);
@@ -308,7 +304,6 @@ class NavigationController extends Controller {
* @return Response
*/
public function resizedGetPublic(string $id): Response {
-
try {
$mime = '';
$file = $this->documentService->getResizedFromCache($id, $mime, true);
@@ -318,6 +313,4 @@ class NavigationController extends Controller {
return $this->fail($e);
}
}
-
}
-
diff --git a/lib/Controller/OAuthController.php b/lib/Controller/OAuthController.php
index d8786a44..c7f63772 100644
--- a/lib/Controller/OAuthController.php
+++ b/lib/Controller/OAuthController.php
@@ -1,4 +1,5 @@
[
- 'rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0',
+ 'rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0',
'href' => $this->urlGenerator->linkToRouteAbsolute('social.OAuth.nodeinfo2')
]
];
@@ -131,10 +104,8 @@ class OAuthController extends Controller {
/**
* @NoCSRFRequired
* @PublicPage
- *
- * @return Response
*/
- public function nodeinfo2() {
+ public function nodeinfo2(): Response {
try {
$local = $this->instanceService->getLocal();
$name = $local->getTitle();
@@ -150,15 +121,15 @@ class OAuthController extends Controller {
}
$nodeInfo = [
- "version" => "2.0",
- "software" => [
- "name" => $name,
+ "version" => "2.0",
+ "software" => [
+ "name" => $name,
"version" => $version
],
- "protocols" => [
+ "protocols" => [
"activitypub"
],
- "usage" => $usage,
+ "usage" => $usage,
"openRegistrations" => $openReg
];
@@ -169,18 +140,11 @@ class OAuthController extends Controller {
/**
* @NoCSRFRequired
* @PublicPage
- *
- * @param string $website
- * @param string $redirect_uris
- * @param string $scopes
- * @param string $client_name
- *
- * @return Response
* @throws ClientException
*/
public function apps(
string $client_name = '', string $redirect_uris = '', string $website = '', string $scopes = 'read'
- ): Response {
+ ): DataResponse {
// TODO: manage array from request
if (!is_array($redirect_uris)) {
$redirect_uris = [$redirect_uris];
@@ -196,11 +160,11 @@ class OAuthController extends Controller {
return new DataResponse(
[
- 'id' => $client->getId(),
- 'name' => $client->getAppName(),
- 'website' => $client->getAppWebsite(),
- 'scopes' => implode(' ', $client->getAppScopes()),
- 'client_id' => $client->getAppClientId(),
+ 'id' => $client->getId(),
+ 'name' => $client->getAppName(),
+ 'website' => $client->getAppWebsite(),
+ 'scopes' => implode(' ', $client->getAppScopes()),
+ 'client_id' => $client->getAppClientId(),
'client_secret' => $client->getAppClientSecret()
], Http::STATUS_OK
);
@@ -210,13 +174,6 @@ class OAuthController extends Controller {
/**
* @NoCSRFRequired
* @NoAdminRequired
- *
- * @param string $client_id
- * @param string $redirect_uri
- * @param string $response_type
- * @param string $scope
- *
- * @return DataResponse
*/
public function authorize(
string $client_id, string $redirect_uri, string $response_type, string $scope = 'read'
@@ -253,10 +210,10 @@ class OAuthController extends Controller {
// TODO : finalize result if no redirect_url
return new DataResponse(
[
-// 'access_token' => '',
-// "token_type" => "Bearer",
-// "scope" => "read write follow push",
-// "created_at" => 1573979017
+ // 'access_token' => '',
+ // "token_type" => "Bearer",
+ // "scope" => "read write follow push",
+ // "created_at" => 1573979017
], Http::STATUS_OK
);
} catch (Exception $e) {
@@ -270,28 +227,19 @@ class OAuthController extends Controller {
* @NoCSRFRequired
* @NoAdminRequired
* @PublicPage
- *
- * @param string $client_id
- * @param string $client_secret
- * @param string $redirect_uri
- * @param string $grant_type
- * @param string $scope
- * @param string $code
- *
- * @return DataResponse
*/
public function token(
string $client_id, string $client_secret, string $redirect_uri, string $grant_type,
string $scope = 'read', string $code = ''
- ) {
+ ): DataResponse {
try {
$client = $this->clientService->getFromClientId($client_id);
$this->clientService->confirmData(
$client,
[
'client_secret' => $client_secret,
- 'redirect_uri' => $redirect_uri,
- 'auth_scopes' => $scope
+ 'redirect_uri' => $redirect_uri,
+ 'auth_scopes' => $scope
]
);
@@ -302,7 +250,7 @@ class OAuthController extends Controller {
$this->clientService->confirmData($client, ['code' => $code]);
$this->clientService->generateToken($client);
- } else if ($grant_type === 'client_credentials') {
+ } elseif ($grant_type === 'client_credentials') {
// TODO: manage client_credentials
} else {
return new DataResponse(
@@ -319,9 +267,9 @@ class OAuthController extends Controller {
return new DataResponse(
[
"access_token" => $client->getToken(),
- "token_type" => 'Bearer',
- "scope" => $scope,
- "created_at" => $client->getCreation()
+ "token_type" => 'Bearer',
+ "scope" => $scope,
+ "created_at" => $client->getCreation()
], Http::STATUS_OK
);
} catch (ClientNotFoundException $e) {
@@ -330,6 +278,4 @@ class OAuthController extends Controller {
return new DataResponse(['error' => $e->getMessage()], Http::STATUS_UNAUTHORIZED);
}
}
-
}
-
diff --git a/lib/Controller/OStatusController.php b/lib/Controller/OStatusController.php
index 6aca8901..0854df9c 100644
--- a/lib/Controller/OStatusController.php
+++ b/lib/Controller/OStatusController.php
@@ -1,4 +1,5 @@
cacheActorService->getFromAccount($uri);
} catch (InvalidResourceException $e) {
@@ -138,10 +112,6 @@ class OStatusController extends Controller {
* @NoCSRFRequired
* @NoAdminRequired
* @PublicPage
- *
- * @param string $local
- *
- * @return Response
*/
public function followRemote(string $local): Response {
try {
@@ -163,14 +133,8 @@ class OStatusController extends Controller {
* @NoCSRFRequired
* @NoAdminRequired
* @PublicPage
- *
- * @param string $local
- * @param string $account
- *
- * @return Response
*/
public function getLink(string $local, string $account): Response {
-
try {
$following = $this->accountService->getActor($local);
$result = $this->curlService->webfingerAccount($account);
@@ -192,6 +156,4 @@ class OStatusController extends Controller {
return $this->fail($e);
}
}
-
}
-
diff --git a/lib/Controller/QueueController.php b/lib/Controller/QueueController.php
index f6134216..e18463c6 100644
--- a/lib/Controller/QueueController.php
+++ b/lib/Controller/QueueController.php
@@ -1,4 +1,5 @@
requestQueueService->getRequestFromToken($token, RequestQueue::STATUS_STANDBY);
@@ -102,6 +86,4 @@ class QueueController extends Controller {
// or it will feed the logs.
exit();
}
-
}
-
diff --git a/lib/Controller/SocialPubController.php b/lib/Controller/SocialPubController.php
index 73698e57..cf9a5c6d 100644
--- a/lib/Controller/SocialPubController.php
+++ b/lib/Controller/SocialPubController.php
@@ -1,4 +1,5 @@
userId) {
return $this->navigationController->navigate('');
}
@@ -148,15 +121,12 @@ class SocialPubController extends Controller {
/**
- * return webpage content for human navigation.
+ * Return webpage content for human navigation.
* Should return information about a Social account, based on username.
*
* @NoCSRFRequired
* @PublicPage
*
- * @param string $username
- *
- * @return Response
* @throws UrlCloudException
* @throws SocialAppConfigException
*/
@@ -166,15 +136,11 @@ class SocialPubController extends Controller {
/**
- * return webpage content for human navigation.
+ * Return webpage content for human navigation.
* Should return followers of a Social account, based on username.
*
* @NoCSRFRequired
* @PublicPage
- *
- * @param string $username
- *
- * @return TemplateResponse
* @throws UrlCloudException
* @throws SocialAppConfigException
*/
@@ -184,15 +150,11 @@ class SocialPubController extends Controller {
/**
- * return webpage content for human navigation.
+ * Return webpage content for human navigation.
* Should return following of a Social account, based on username.
*
* @NoCSRFRequired
* @PublicPage
- *
- * @param string $username
- *
- * @return TemplateResponse
* @throws UrlCloudException
* @throws SocialAppConfigException
*/
@@ -206,11 +168,6 @@ class SocialPubController extends Controller {
*
* @NoCSRFRequired
* @PublicPage
- *
- * @param string $username
- * @param string $token
- *
- * @return TemplateResponse
* @throws SocialAppConfigException
* @throws StreamNotFoundException
*/
@@ -225,17 +182,14 @@ class SocialPubController extends Controller {
$stream = $this->streamService->getStreamById($postId, true);
$data = [
- 'id' => $postId,
+ 'id' => $postId,
'application' => 'Social'
];
- $this->initialStateService->provideInitialState(Application::APP_NAME, 'item', $stream );
+ $this->initialStateService->provideInitialState(Application::APP_NAME, 'item', $stream);
$this->initialStateService->provideInitialState(Application::APP_NAME, 'serverData', [
'public' => ($this->userId === null),
]);
return new TemplateResponse(Application::APP_NAME, 'main', $data);
}
-
-
}
-
diff --git a/lib/Cron/Cache.php b/lib/Cron/Cache.php
index 5ccf28f1..7958510c 100644
--- a/lib/Cron/Cache.php
+++ b/lib/Cron/Cache.php
@@ -1,4 +1,5 @@
setInterval(12 * 60); // 12 minutes
}
@@ -72,13 +64,13 @@ class Cache extends TimedJob {
* @throws QueryException
*/
protected function run($argument) {
- $app = \OC::$server->query(Application::class);
+ $app = \OC::$server->get(Application::class);
$c = $app->getContainer();
- $this->accountService = $c->query(AccountService::class);
- $this->cacheActorService = $c->query(CacheActorService::class);
- $this->documentService = $c->query(DocumentService::class);
- $this->hashtagService = $c->query(HashtagService::class);
+ $this->accountService = $c->get(AccountService::class);
+ $this->cacheActorService = $c->get(CacheActorService::class);
+ $this->documentService = $c->get(DocumentService::class);
+ $this->hashtagService = $c->get(HashtagService::class);
$this->manageCache();
}
@@ -110,6 +102,4 @@ class Cache extends TimedJob {
} catch (Exception $e) {
}
}
-
-
}
diff --git a/lib/Cron/Chunk.php b/lib/Cron/Chunk.php
index e32903ce..4d635fca 100644
--- a/lib/Cron/Chunk.php
+++ b/lib/Cron/Chunk.php
@@ -1,4 +1,5 @@
setInterval(12 * 3600); // 12 heures
+ public function __construct(TimeFactory $time) {
+ parent::__construct($time);
+ $this->setInterval(12 * 3600); // 12 hours
}
@@ -79,8 +73,5 @@ class Chunk extends TimedJob {
* @param int $size
*/
private function morphChunks(int $size) {
-
}
-
}
-
diff --git a/lib/Cron/Queue.php b/lib/Cron/Queue.php
index d3a49cc7..449b4a4e 100644
--- a/lib/Cron/Queue.php
+++ b/lib/Cron/Queue.php
@@ -1,4 +1,5 @@
setInterval(12 * 60); // 12 minutes
}
@@ -72,13 +67,14 @@ class Queue extends TimedJob {
* @throws QueryException
*/
protected function run($argument) {
- $app = \OC::$server->query(Application::class);
+ /** @var Application $app */
+ $app = \OC::$server->get(Application::class);
$c = $app->getContainer();
- $this->requestQueueService = $c->query(RequestQueueService::class);
- $this->streamQueueService = $c->query(StreamQueueService::class);
- $this->activityService = $c->query(ActivityService::class);
- $this->miscService = $c->query(MiscService::class);
+ $this->requestQueueService = $c->get(RequestQueueService::class);
+ $this->streamQueueService = $c->get(StreamQueueService::class);
+ $this->activityService = $c->get(ActivityService::class);
+ $this->miscService = $c->get(MiscService::class);
$this->manageRequestQueue();
$this->manageStreamQueue();
@@ -98,7 +94,6 @@ class Queue extends TimedJob {
} catch (SocialAppConfigException $e) {
}
}
-
}
@@ -110,7 +105,4 @@ class Queue extends TimedJob {
$this->streamQueueService->manageStreamQueue($item);
}
}
-
-
}
-
diff --git a/lib/Db/ActionsRequest.php b/lib/Db/ActionsRequest.php
index 3ad0c125..ca7ed694 100644
--- a/lib/Db/ActionsRequest.php
+++ b/lib/Db/ActionsRequest.php
@@ -1,4 +1,5 @@
getActionsInsertSql();
$qb->setValue('id', $qb->createNamedParameter($like->getId()))
->setValue('actor_id', $qb->createNamedParameter($like->getActorId()))
@@ -169,6 +163,4 @@ class ActionsRequest extends ActionsRequestBuilder {
//
// $qb->execute();
// }
-
}
-
diff --git a/lib/Db/ActionsRequestBuilder.php b/lib/Db/ActionsRequestBuilder.php
index d642a1a5..144077c3 100644
--- a/lib/Db/ActionsRequestBuilder.php
+++ b/lib/Db/ActionsRequestBuilder.php
@@ -1,4 +1,5 @@
setId($this->configService->getSocialUrl() . '@' . $actor->getPreferredUsername());
$qb = $this->getActorsInsertSql();
@@ -71,26 +64,18 @@ class ActorsRequest extends ActorsRequestBuilder {
$qb->createNamedParameter(new DateTime('now'), IQueryBuilder::PARAM_DATE)
);
- $qb->execute();
+ $qb->executeStatement();
}
-
- /**
- * @param Person $actor
- */
- public function update(Person $actor) {
+ public function update(Person $actor): void {
$qb = $this->getActorsUpdateSql();
$qb->set('avatar_version', $qb->createNamedParameter($actor->getAvatarVersion()));
$this->limitToIdString($qb, $actor->getId());
- $qb->execute();
+ $qb->executeStatement();
}
-
- /**
- * @param Person $actor
- */
- public function refreshKeys(Person $actor) {
+ public function refreshKeys(Person $actor): void {
$qb = $this->getActorsUpdateSql();
$qb->set('public_key', $qb->createNamedParameter($actor->getPublicKey()))
->set('private_key', $qb->createNamedParameter($actor->getPrivateKey()));
@@ -105,16 +90,13 @@ class ActorsRequest extends ActorsRequestBuilder {
$this->limitToIdString($qb, $actor->getId());
- $qb->execute();
+ $qb->executeStatement();
}
/**
- * return Actor from database based on the username
+ * Return Actor from database based on the username
*
- * @param string $username
- *
- * @return Person
* @throws ActorDoesNotExistException
* @throws SocialAppConfigException
*/
@@ -122,7 +104,7 @@ class ActorsRequest extends ActorsRequestBuilder {
$qb = $this->getActorsSelectSql();
$this->limitToPreferredUsername($qb, $username);
- $cursor = $qb->execute();
+ $cursor = $qb->executeQuery();
$data = $cursor->fetch();
$cursor->closeCursor();
@@ -134,9 +116,6 @@ class ActorsRequest extends ActorsRequestBuilder {
}
/**
- * @param string $id
- *
- * @return Person
* @throws ActorDoesNotExistException
* @throws SocialAppConfigException
*/
@@ -144,7 +123,7 @@ class ActorsRequest extends ActorsRequestBuilder {
$qb = $this->getActorsSelectSql();
$this->limitToIdString($qb, $id);
- $cursor = $qb->execute();
+ $cursor = $qb->executeQuery();
$data = $cursor->fetch();
$cursor->closeCursor();
@@ -169,7 +148,7 @@ class ActorsRequest extends ActorsRequestBuilder {
$qb = $this->getActorsSelectSql();
$this->limitToUserId($qb, $userId);
- $cursor = $qb->execute();
+ $cursor = $qb->executeQuery();
$data = $cursor->fetch();
$cursor->closeCursor();
@@ -189,7 +168,7 @@ class ActorsRequest extends ActorsRequestBuilder {
$qb = $this->getActorsSelectSql();
$accounts = [];
- $cursor = $qb->execute();
+ $cursor = $qb->executeQuery();
while ($data = $cursor->fetch()) {
$accounts[] = $this->parseActorsSelectSql($data);
}
@@ -200,8 +179,6 @@ class ActorsRequest extends ActorsRequestBuilder {
/**
- * @param string $search
- *
* @return Person[]
* @throws SocialAppConfigException
*/
@@ -210,7 +187,7 @@ class ActorsRequest extends ActorsRequestBuilder {
$this->searchInPreferredUsername($qb, $search);
$accounts = [];
- $cursor = $qb->execute();
+ $cursor = $qb->executeQuery();
while ($data = $cursor->fetch()) {
$accounts[] = $this->parseActorsSelectSql($data);
}
@@ -218,6 +195,4 @@ class ActorsRequest extends ActorsRequestBuilder {
return $accounts;
}
-
}
-
diff --git a/lib/Db/ActorsRequestBuilder.php b/lib/Db/ActorsRequestBuilder.php
index c8bcd6cc..7db688f0 100644
--- a/lib/Db/ActorsRequestBuilder.php
+++ b/lib/Db/ActorsRequestBuilder.php
@@ -1,4 +1,5 @@
getCacheActorsUpdateSql();
$qb->set('following', $qb->createNamedParameter($actor->getFollowing()))
->set('followers', $qb->createNamedParameter($actor->getFollowers()))
@@ -252,6 +249,4 @@ class CacheActorsRequest extends CacheActorsRequestBuilder {
$qb->execute();
}
-
}
-
diff --git a/lib/Db/CacheActorsRequestBuilder.php b/lib/Db/CacheActorsRequestBuilder.php
index 65cee78e..55b24d6f 100644
--- a/lib/Db/CacheActorsRequestBuilder.php
+++ b/lib/Db/CacheActorsRequestBuilder.php
@@ -1,4 +1,5 @@
setViewerLink($link);
}
-
}
-
diff --git a/lib/Db/CacheDocumentsRequest.php b/lib/Db/CacheDocumentsRequest.php
index bd7da9e9..4580c569 100644
--- a/lib/Db/CacheDocumentsRequest.php
+++ b/lib/Db/CacheDocumentsRequest.php
@@ -1,4 +1,5 @@
execute();
}
-
-
}
-
diff --git a/lib/Db/CacheDocumentsRequestBuilder.php b/lib/Db/CacheDocumentsRequestBuilder.php
index 59171dec..61077c84 100644
--- a/lib/Db/CacheDocumentsRequestBuilder.php
+++ b/lib/Db/CacheDocumentsRequestBuilder.php
@@ -1,4 +1,5 @@
execute();
}
-
}
-
diff --git a/lib/Db/ClientRequestBuilder.php b/lib/Db/ClientRequestBuilder.php
index a3011816..96f0453d 100644
--- a/lib/Db/ClientRequestBuilder.php
+++ b/lib/Db/ClientRequestBuilder.php
@@ -1,4 +1,5 @@
add($expr->gte($field, $qb->createNamedParameter($dTime, IQueryBuilder::PARAM_DATE)));
$qb->andWhere($orX);
-
}
@@ -1224,6 +1221,4 @@ class CoreRequestBuilder {
$qb->where($this->exprLimitToDBField($qb, 'class', 'OCA\Social\Cron\Queue', true, true));
$qb->execute();
}
-
}
-
diff --git a/lib/Db/FollowsRequest.php b/lib/Db/FollowsRequest.php
index f685dd2a..89f47d07 100644
--- a/lib/Db/FollowsRequest.php
+++ b/lib/Db/FollowsRequest.php
@@ -1,4 +1,5 @@
leftJoinAccounts($qb, 'actor_id');
return $this->getFollowsFromRequest($qb);
-
}
@@ -308,6 +304,4 @@ class FollowsRequest extends FollowsRequestBuilder {
$qb->execute();
}
-
}
-
diff --git a/lib/Db/FollowsRequestBuilder.php b/lib/Db/FollowsRequestBuilder.php
index 9d5ccf91..d6b15e8b 100644
--- a/lib/Db/FollowsRequestBuilder.php
+++ b/lib/Db/FollowsRequestBuilder.php
@@ -1,4 +1,5 @@
$this->get('hashtag', $data, ''),
- 'trend' => $this->getArray('trend', $data, [])
+ 'trend' => $this->getArray('trend', $data, [])
];
}
-
}
-
diff --git a/lib/Db/InstancesRequest.php b/lib/Db/InstancesRequest.php
index 2614072f..02f8c19b 100644
--- a/lib/Db/InstancesRequest.php
+++ b/lib/Db/InstancesRequest.php
@@ -1,4 +1,5 @@
getInstanceFromRequest($qb);
}
-
}
-
diff --git a/lib/Db/InstancesRequestBuilder.php b/lib/Db/InstancesRequestBuilder.php
index 9b44808d..ac59ca10 100644
--- a/lib/Db/InstancesRequestBuilder.php
+++ b/lib/Db/InstancesRequestBuilder.php
@@ -1,4 +1,5 @@
execute();
}
-
}
-
diff --git a/lib/Db/RequestQueueRequestBuilder.php b/lib/Db/RequestQueueRequestBuilder.php
index eb2de66d..dd1089ba 100644
--- a/lib/Db/RequestQueueRequestBuilder.php
+++ b/lib/Db/RequestQueueRequestBuilder.php
@@ -1,4 +1,5 @@
andWhere($filter);
}
-
}
-
diff --git a/lib/Db/SocialLimitsQueryBuilder.php b/lib/Db/SocialLimitsQueryBuilder.php
index 50877b8b..213af905 100644
--- a/lib/Db/SocialLimitsQueryBuilder.php
+++ b/lib/Db/SocialLimitsQueryBuilder.php
@@ -1,4 +1,5 @@
andWhere($orX);
}
-
}
-
diff --git a/lib/Db/SocialQueryBuilder.php b/lib/Db/SocialQueryBuilder.php
index 66caef66..32dae551 100644
--- a/lib/Db/SocialQueryBuilder.php
+++ b/lib/Db/SocialQueryBuilder.php
@@ -1,4 +1,5 @@
getConnection();
$this->searchInDBField('account', $dbConn->escapeLikeParameter($account) . '%');
}
-
-
}
-
diff --git a/lib/Db/StreamActionsRequest.php b/lib/Db/StreamActionsRequest.php
index 2bacf14b..08299bc8 100644
--- a/lib/Db/StreamActionsRequest.php
+++ b/lib/Db/StreamActionsRequest.php
@@ -1,4 +1,5 @@
execute();
}
-
}
-
diff --git a/lib/Db/StreamActionsRequestBuilder.php b/lib/Db/StreamActionsRequestBuilder.php
index 5297cc12..f7c69616 100644
--- a/lib/Db/StreamActionsRequestBuilder.php
+++ b/lib/Db/StreamActionsRequestBuilder.php
@@ -1,4 +1,5 @@
execute();
}
-
}
-
diff --git a/lib/Db/StreamDestRequestBuilder.php b/lib/Db/StreamDestRequestBuilder.php
index 38c89863..737f8b45 100644
--- a/lib/Db/StreamDestRequestBuilder.php
+++ b/lib/Db/StreamDestRequestBuilder.php
@@ -1,4 +1,5 @@
execute();
}
-
}
-
diff --git a/lib/Db/StreamQueueRequestBuilder.php b/lib/Db/StreamQueueRequestBuilder.php
index 1e108920..40c3819a 100644
--- a/lib/Db/StreamQueueRequestBuilder.php
+++ b/lib/Db/StreamQueueRequestBuilder.php
@@ -1,4 +1,5 @@
setTimestamp($stream->getPublishedTime());
@@ -763,6 +761,4 @@ class StreamRequest extends StreamRequestBuilder {
return $qb;
}
-
}
-
diff --git a/lib/Db/StreamRequestBuilder.php b/lib/Db/StreamRequestBuilder.php
index f210c948..fa9d8198 100644
--- a/lib/Db/StreamRequestBuilder.php
+++ b/lib/Db/StreamRequestBuilder.php
@@ -1,4 +1,5 @@
getHashTags() as $hashtag) {
-
$qb = $this->getStreamTagsInsertSql();
$streamId = $qb->prim($stream->getId());
$qb->setValue('stream_id', $qb->createNamedParameter($streamId));
@@ -82,6 +78,4 @@ class StreamTagsRequest extends StreamTagsRequestBuilder {
$qb->execute();
}
-
}
-
diff --git a/lib/Db/StreamTagsRequestBuilder.php b/lib/Db/StreamTagsRequestBuilder.php
index 0290253a..4f6f70f9 100644
--- a/lib/Db/StreamTagsRequestBuilder.php
+++ b/lib/Db/StreamTagsRequestBuilder.php
@@ -1,4 +1,5 @@
cacheActorsRequest->save($actor);
}
}
-
}
-
diff --git a/lib/Interfaces/Actor/ServiceInterface.php b/lib/Interfaces/Actor/ServiceInterface.php
index c764242c..e5c46a18 100644
--- a/lib/Interfaces/Actor/ServiceInterface.php
+++ b/lib/Interfaces/Actor/ServiceInterface.php
@@ -1,4 +1,5 @@
getRequestToken(), StreamQueue::TYPE_CACHE, $item->getId()
);
}
-
}
@@ -432,6 +428,4 @@ class AnnounceInterface implements IActivityPubInterface {
} catch (StreamNotFoundException $e) {
}
}
-
}
-
diff --git a/lib/Interfaces/Object/DocumentInterface.php b/lib/Interfaces/Object/DocumentInterface.php
index 8e1f9b41..4208312c 100644
--- a/lib/Interfaces/Object/DocumentInterface.php
+++ b/lib/Interfaces/Object/DocumentInterface.php
@@ -1,4 +1,5 @@
confirmFollowRequest($follow);
}
}
-
}
@@ -302,6 +297,4 @@ class FollowInterface implements IActivityPubInterface {
$notificationInterface->save($notification);
}
-
}
-
diff --git a/lib/Interfaces/Object/ImageInterface.php b/lib/Interfaces/Object/ImageInterface.php
index a57ab620..011ab506 100644
--- a/lib/Interfaces/Object/ImageInterface.php
+++ b/lib/Interfaces/Object/ImageInterface.php
@@ -1,4 +1,5 @@
checkService->checkInstallationStatus(true);
}
-
-
}
diff --git a/lib/Migration/Version0003Date20200611000001.php b/lib/Migration/Version0003Date20200611000001.php
index bfdd0d89..549ddbca 100644
--- a/lib/Migration/Version0003Date20200611000001.php
+++ b/lib/Migration/Version0003Date20200611000001.php
@@ -1,4 +1,5 @@
false,
- 'length' => 1000
+ 'length' => 1000
]
);
$table->addColumn(
'id_prim', 'string',
[
'notnull' => false,
- 'length' => 128
+ 'length' => 128
]
);
$table->addColumn(
'type', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -137,7 +134,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -145,7 +142,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -153,7 +150,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'object_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -161,7 +158,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'object_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -191,35 +188,35 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', 'string',
[
'notnull' => false,
- 'length' => 1000
+ 'length' => 1000
]
);
$table->addColumn(
'id_prim', 'string',
[
'notnull' => false,
- 'length' => 128
+ 'length' => 128
]
);
$table->addColumn(
'user_id', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
]
);
$table->addColumn(
'preferred_username', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
]
);
$table->addColumn(
'name', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -246,7 +243,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'avatar_version', 'integer',
[
'notnull' => false,
- 'length' => 2,
+ 'length' => 2,
]
);
$table->addColumn(
@@ -273,21 +270,21 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', 'string',
[
'notnull' => false,
- 'length' => 1000
+ 'length' => 1000
]
);
$table->addColumn(
'id_prim', 'string',
[
'notnull' => false,
- 'length' => 128
+ 'length' => 128
]
);
$table->addColumn(
'type', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -295,7 +292,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -303,7 +300,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -311,7 +308,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'object_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -319,7 +316,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'object_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -327,7 +324,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'follow_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -335,7 +332,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'follow_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -372,14 +369,14 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'hashtag', 'string',
[
'notnull' => false,
- 'length' => 63
+ 'length' => 63
]
);
$table->addColumn(
'trend', 'string',
[
'notnull' => false,
- 'length' => 500,
+ 'length' => 500,
'default' => ''
]
);
@@ -400,9 +397,9 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
$table->addColumn(
'local', 'smallint',
[
- 'notnull' => false,
- 'length' => 1,
- 'default' => 0,
+ 'notnull' => false,
+ 'length' => 1,
+ 'default' => 0,
'unsigned' => true
]
);
@@ -410,14 +407,14 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'uri', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
]
);
$table->addColumn(
'title', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -425,7 +422,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'version', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -447,7 +444,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'email', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -476,7 +473,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'image', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -491,7 +488,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'contact', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -499,7 +496,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'account_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -529,22 +526,22 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'nid', 'bigint',
[
'autoincrement' => true,
- 'length' => 11,
- 'unsigned' => true,
+ 'length' => 11,
+ 'unsigned' => true,
]
);
$table->addColumn(
'id', 'string',
[
'notnull' => false,
- 'length' => 1000
+ 'length' => 1000
]
);
$table->addColumn(
'chunk', Types::SMALLINT,
[
- 'default' => 1,
- 'length' => 1,
+ 'default' => 1,
+ 'length' => 1,
'unsigned' => true
]
);
@@ -552,14 +549,14 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id_prim', 'string',
[
'notnull' => false,
- 'length' => 128
+ 'length' => 128
]
);
$table->addColumn(
'type', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -567,7 +564,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'subtype', Types::STRING,
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -575,7 +572,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'to', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -618,7 +615,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'published', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -632,7 +629,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'attributed_to', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -640,7 +637,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'attributed_to_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -648,7 +645,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'in_reply_to', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -656,7 +653,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'in_reply_to_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -664,7 +661,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'activity_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -672,7 +669,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'object_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -680,7 +677,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'object_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -779,29 +776,29 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'nid', 'bigint',
[
'autoincrement' => true,
- 'length' => 11,
- 'unsigned' => true,
+ 'length' => 11,
+ 'unsigned' => true,
]
);
$table->addColumn(
'id', 'string',
[
'notnull' => false,
- 'length' => 1000
+ 'length' => 1000
]
);
$table->addColumn(
'id_prim', 'string',
[
'notnull' => false,
- 'length' => 128
+ 'length' => 128
]
);
$table->addColumn(
'type', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -809,7 +806,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'account', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -824,7 +821,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'following', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -832,7 +829,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'followers', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -840,7 +837,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'inbox', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -848,7 +845,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'shared_inbox', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -856,7 +853,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'outbox', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -864,7 +861,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'featured', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -872,7 +869,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'url', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -880,7 +877,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'preferred_username', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -888,7 +885,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'name', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -896,7 +893,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'icon_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -952,21 +949,21 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', 'string',
[
'notnull' => false,
- 'length' => 1000
+ 'length' => 1000
]
);
$table->addColumn(
'id_prim', 'string',
[
'notnull' => false,
- 'length' => 128
+ 'length' => 128
]
);
$table->addColumn(
'type', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -974,7 +971,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'parent_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => '',
]
);
@@ -982,7 +979,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'media_type', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
'default' => '',
]
);
@@ -990,7 +987,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'mime_type', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
'default' => ''
]
);
@@ -998,7 +995,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'url', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -1006,7 +1003,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'local_copy', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -1028,7 +1025,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'error', 'smallint',
[
'notnull' => false,
- 'length' => 1,
+ 'length' => 1,
]
);
$table->addColumn(
@@ -1061,16 +1058,16 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', 'integer',
[
'autoincrement' => true,
- 'notnull' => true,
- 'length' => 7,
- 'unsigned' => true,
+ 'notnull' => true,
+ 'length' => 7,
+ 'unsigned' => true,
]
);
$table->addColumn(
'app_name', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -1078,7 +1075,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'app_website', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -1093,7 +1090,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'app_client_id', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
'default' => ''
]
);
@@ -1101,7 +1098,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'app_client_secret', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
'default' => ''
]
);
@@ -1122,7 +1119,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'auth_account', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -1130,7 +1127,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'auth_user_id', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -1138,7 +1135,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'auth_code', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -1146,7 +1143,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'token', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -1181,23 +1178,23 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', 'bigint',
[
'autoincrement' => true,
- 'notnull' => true,
- 'length' => 11,
- 'unsigned' => true,
+ 'notnull' => true,
+ 'length' => 11,
+ 'unsigned' => true,
]
);
$table->addColumn(
'token', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
]
);
$table->addColumn(
'author', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -1212,7 +1209,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'instance', Types::TEXT,
[
'notnull' => false,
- 'length' => 500,
+ 'length' => 500,
'default' => ''
]
);
@@ -1220,7 +1217,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'priority', 'smallint',
[
'notnull' => false,
- 'length' => 1,
+ 'length' => 1,
'default' => 0,
]
);
@@ -1228,7 +1225,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'status', 'smallint',
[
'notnull' => false,
- 'length' => 1,
+ 'length' => 1,
'default' => 0,
]
);
@@ -1236,7 +1233,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'tries', 'smallint',
[
'notnull' => false,
- 'length' => 2,
+ 'length' => 2,
'default' => 0,
]
);
@@ -1265,16 +1262,16 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', Types::INTEGER,
[
'autoincrement' => true,
- 'notnull' => true,
- 'length' => 11,
- 'unsigned' => true
+ 'notnull' => true,
+ 'length' => 11,
+ 'unsigned' => true
]
);
$table->addColumn(
'chunk', Types::SMALLINT,
[
- 'default' => 1,
- 'length' => 1,
+ 'default' => 1,
+ 'length' => 1,
'unsigned' => true
]
);
@@ -1282,7 +1279,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -1290,7 +1287,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -1298,7 +1295,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'stream_id', 'string',
[
'notnull' => false,
- 'length' => 1000,
+ 'length' => 1000,
'default' => ''
]
);
@@ -1306,7 +1303,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'stream_id_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -1339,8 +1336,8 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
$table->addColumn(
'chunk', Types::SMALLINT,
[
- 'default' => 1,
- 'length' => 1,
+ 'default' => 1,
+ 'length' => 1,
'unsigned' => true
]
);
@@ -1348,7 +1345,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'stream_id', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -1356,7 +1353,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'actor_id', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -1364,7 +1361,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'type', 'string',
[
'notnull' => false,
- 'length' => 15,
+ 'length' => 15,
'default' => ''
]
);
@@ -1372,7 +1369,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'subtype', 'string',
[
'notnull' => false,
- 'length' => 7,
+ 'length' => 7,
'default' => ''
]
);
@@ -1396,23 +1393,23 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'id', 'bigint',
[
'autoincrement' => true,
- 'notnull' => true,
- 'length' => 11,
- 'unsigned' => true,
+ 'notnull' => true,
+ 'length' => 11,
+ 'unsigned' => true,
]
);
$table->addColumn(
'token', 'string',
[
'notnull' => false,
- 'length' => 63
+ 'length' => 63
]
);
$table->addColumn(
'stream_id', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -1420,7 +1417,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'type', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -1428,7 +1425,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'status', 'smallint',
[
'notnull' => false,
- 'length' => 1,
+ 'length' => 1,
'default' => 0,
]
);
@@ -1436,7 +1433,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'tries', 'smallint',
[
'notnull' => false,
- 'length' => 2,
+ 'length' => 2,
'default' => 0,
]
);
@@ -1464,7 +1461,7 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'stream_id', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -1472,13 +1469,11 @@ class Version0003Date20200611000001 extends SimpleMigrationStep {
'hashtag', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
$table->addUniqueIndex(['stream_id', 'hashtag'], 'sh');
}
-
}
-
diff --git a/lib/Migration/Version0003Date20200823023900.php b/lib/Migration/Version0003Date20200823023900.php
index 843575bb..30b8a58e 100644
--- a/lib/Migration/Version0003Date20200823023900.php
+++ b/lib/Migration/Version0003Date20200823023900.php
@@ -1,4 +1,5 @@
addColumn(
'nid', 'bigint',
[
- 'length' => 11,
+ 'length' => 11,
'unsigned' => true,
'notnull' => false,
]
@@ -161,9 +158,9 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
$table->addColumn(
'nid', 'bigint',
[
- 'autoincrement' => true,
- 'length' => 11,
- 'unsigned' => true,
+ 'autoincrement' => true,
+ 'length' => 11,
+ 'unsigned' => true,
'customSchemaOptions' => [
'unique' => true
]
@@ -187,16 +184,16 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'id', 'integer',
[
'autoincrement' => true,
- 'notnull' => true,
- 'length' => 7,
- 'unsigned' => true,
+ 'notnull' => true,
+ 'length' => 7,
+ 'unsigned' => true,
]
);
$table->addColumn(
'app_name', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -204,7 +201,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'app_website', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -219,7 +216,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'app_client_id', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
'default' => ''
]
);
@@ -227,7 +224,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'app_client_secret', 'string',
[
'notnull' => false,
- 'length' => 63,
+ 'length' => 63,
'default' => ''
]
);
@@ -248,7 +245,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'auth_account', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -256,7 +253,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'auth_user_id', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -264,7 +261,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'auth_code', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -272,7 +269,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'token', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -306,9 +303,9 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
$table->addColumn(
'local', 'smallint',
[
- 'notnull' => false,
- 'length' => 1,
- 'default' => 0,
+ 'notnull' => false,
+ 'length' => 1,
+ 'default' => 0,
'unsigned' => true
]
);
@@ -316,14 +313,14 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'uri', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
]
);
$table->addColumn(
'title', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -331,7 +328,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'version', 'string',
[
'notnull' => false,
- 'length' => 31,
+ 'length' => 31,
'default' => ''
]
);
@@ -353,7 +350,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'email', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -382,7 +379,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'image', 'string',
[
'notnull' => false,
- 'length' => 255,
+ 'length' => 255,
'default' => ''
]
);
@@ -397,7 +394,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'contact', 'string',
[
'notnull' => false,
- 'length' => 127,
+ 'length' => 127,
'default' => ''
]
);
@@ -405,7 +402,7 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
'account_prim', 'string',
[
'notnull' => false,
- 'length' => 128,
+ 'length' => 128,
'default' => ''
]
);
@@ -441,8 +438,8 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
$table->addColumn(
'chunk', Type::SMALLINT,
[
- 'default' => 1,
- 'length' => 1,
+ 'default' => 1,
+ 'length' => 1,
'unsigned' => true
]
);
@@ -451,6 +448,4 @@ class Version0003Date20200823023911 extends SimpleMigrationStep {
$table->addIndex(['chunk'], 'chunk' . $indexName);
}
}
-
}
-
diff --git a/lib/Migration/Version0003Date20200921103342.php b/lib/Migration/Version0003Date20200921103342.php
index cdbee9e2..ba2f2406 100644
--- a/lib/Migration/Version0003Date20200921103342.php
+++ b/lib/Migration/Version0003Date20200921103342.php
@@ -1,4 +1,5 @@
getAutoincrement()) {
$table->changeColumn(
'nid', [
- 'autoincrement' => true, 'customSchemaOptions' => [
- 'unique' => true
- ]
- ]
+ 'autoincrement' => true, 'customSchemaOptions' => [
+ 'unique' => true
+ ]
+ ]
);
}
return $schema;
}
-
}
-
diff --git a/lib/Model/ActivityPub/ACore.php b/lib/Model/ActivityPub/ACore.php
index 593ee7b8..2c2f47e6 100644
--- a/lib/Model/ActivityPub/ACore.php
+++ b/lib/Model/ActivityPub/ACore.php
@@ -1,4 +1,5 @@
getType() === Image::TYPE) {
$this->setIcon($icon);
}
-
}
@@ -679,21 +675,21 @@ class Person extends ACore implements IQueryRow, JsonSerializable {
$result = array_merge(
parent::exportAsActivityPub(),
[
- 'aliases' => [
+ 'aliases' => [
$this->getUrlSocial() . '@' . $this->getPreferredUsername(),
$this->getUrlSocial() . 'users/' . $this->getPreferredUsername()
],
'preferredUsername' => $this->getPreferredUsername(),
- 'name' => $this->getName(),
- 'inbox' => $this->getInbox(),
- 'outbox' => $this->getOutbox(),
- 'account' => $this->getAccount(),
- 'following' => $this->getFollowing(),
- 'followers' => $this->getFollowers(),
- 'endpoints' => ['sharedInbox' => $this->getSharedInbox()],
- 'publicKey' => [
- 'id' => $this->getId() . '#main-key',
- 'owner' => $this->getId(),
+ 'name' => $this->getName(),
+ 'inbox' => $this->getInbox(),
+ 'outbox' => $this->getOutbox(),
+ 'account' => $this->getAccount(),
+ 'following' => $this->getFollowing(),
+ 'followers' => $this->getFollowers(),
+ 'endpoints' => ['sharedInbox' => $this->getSharedInbox()],
+ 'publicKey' => [
+ 'id' => $this->getId() . '#main-key',
+ 'owner' => $this->getId(),
'publicKeyPem' => $this->getPublicKey()
]
]
@@ -715,38 +711,37 @@ class Person extends ACore implements IQueryRow, JsonSerializable {
$details = $this->getDetailsAll();
$result =
[
- "username" => $this->getPreferredUsername(),
- "acct" => $this->getAccount(),
- "display_name" => $this->getDisplayName(),
- "locked" => $this->isLocked(),
- "bot" => $this->isBot(),
- "discoverable" => $this->isDiscoverable(),
- "group" => false,
- "created_at" => date('Y-m-d\TH:i:s', $this->getCreation()) . '.000Z',
- "note" => $this->getDescription(),
- "url" => $this->getId(),
- "avatar" => $this->getAvatar(),
+ "username" => $this->getPreferredUsername(),
+ "acct" => $this->getAccount(),
+ "display_name" => $this->getDisplayName(),
+ "locked" => $this->isLocked(),
+ "bot" => $this->isBot(),
+ "discoverable" => $this->isDiscoverable(),
+ "group" => false,
+ "created_at" => date('Y-m-d\TH:i:s', $this->getCreation()) . '.000Z',
+ "note" => $this->getDescription(),
+ "url" => $this->getId(),
+ "avatar" => $this->getAvatar(),
// "avatar_static" => "https://files.mastodon.social/accounts/avatars/000/126/222/original/50785214e44d10cc.jpeg",
- "avatar_static" => $this->getAvatar(),
- "header" => $this->getHeader(),
- "header_static" => $this->getHeader(),
+ "avatar_static" => $this->getAvatar(),
+ "header" => $this->getHeader(),
+ "header_static" => $this->getHeader(),
"followers_count" => $this->getInt('count.followers', $details),
"following_count" => $this->getInt('count.following', $details),
- "statuses_count" => $this->getInt('count.post', $details),
- "last_status_at" => $this->get('last_post_creation', $details),
- "source" => [
- "privacy" => $this->getPrivacy(),
- "sensitive" => $this->isSensitive(),
- "language" => $this->getLanguage(),
- "note" => $this->getDescription(),
- "fields" => [],
+ "statuses_count" => $this->getInt('count.post', $details),
+ "last_status_at" => $this->get('last_post_creation', $details),
+ "source" => [
+ "privacy" => $this->getPrivacy(),
+ "sensitive" => $this->isSensitive(),
+ "language" => $this->getLanguage(),
+ "note" => $this->getDescription(),
+ "fields" => [],
"follow_requests_count" => 0
],
- "emojis" => [],
- "fields" => []
+ "emojis" => [],
+ "fields" => []
];
return array_merge(parent::exportAsLocal(), $result);
}
-
}
diff --git a/lib/Model/ActivityPub/Actor/Service.php b/lib/Model/ActivityPub/Actor/Service.php
index 71b895d0..60e62be4 100644
--- a/lib/Model/ActivityPub/Actor/Service.php
+++ b/lib/Model/ActivityPub/Actor/Service.php
@@ -1,4 +1,5 @@
$this->getMediaType(),
- 'mimeType' => $this->getMimeType(),
- 'localCopy' => $this->getLocalCopy(),
+ 'mediaType' => $this->getMediaType(),
+ 'mimeType' => $this->getMimeType(),
+ 'localCopy' => $this->getLocalCopy(),
'resizedCopy' => $this->getResizedCopy()
]
);
@@ -295,6 +292,4 @@ class Document extends ACore implements JsonSerializable {
return $result;
}
-
}
-
diff --git a/lib/Model/ActivityPub/Object/Follow.php b/lib/Model/ActivityPub/Object/Follow.php
index be265557..e390aed4 100644
--- a/lib/Model/ActivityPub/Object/Follow.php
+++ b/lib/Model/ActivityPub/Object/Follow.php
@@ -1,4 +1,5 @@
$this->getFollowId(),
+ 'follow_id' => $this->getFollowId(),
'follow_id_prim' => $this->getFollowIdPrim(),
- 'accepted' => $this->isAccepted()
+ 'accepted' => $this->isAccepted()
]
);
}
return $result;
}
-
}
-
diff --git a/lib/Model/ActivityPub/Object/Image.php b/lib/Model/ActivityPub/Object/Image.php
index 17bdbf94..4006c040 100644
--- a/lib/Model/ActivityPub/Object/Image.php
+++ b/lib/Model/ActivityPub/Object/Image.php
@@ -1,4 +1,5 @@
$this->getTotalItems(),
- 'first' => $this->getFirst()
+ 'first' => $this->getFirst()
]
);
}
-
}
-
diff --git a/lib/Model/ActivityPub/Stream.php b/lib/Model/ActivityPub/Stream.php
index c0f57684..58b11184 100644
--- a/lib/Model/ActivityPub/Stream.php
+++ b/lib/Model/ActivityPub/Stream.php
@@ -1,4 +1,5 @@
$this->getContent(),
+ 'content' => $this->getContent(),
'attributedTo' => ($this->getAttributedTo() !== '') ? $this->getUrlSocial()
. $this->getAttributedTo() : '',
- 'inReplyTo' => $this->getInReplyTo(),
- 'sensitive' => $this->isSensitive(),
+ 'inReplyTo' => $this->getInReplyTo(),
+ 'sensitive' => $this->isSensitive(),
'conversation' => $this->getConversation()
]
);
@@ -455,9 +452,9 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
$result = array_merge(
$result,
[
- 'details' => $this->getDetailsAll(),
- 'action' => ($this->hasAction()) ? $this->getAction() : [],
- 'cache' => ($this->hasCache()) ? $this->getCache() : '',
+ 'details' => $this->getDetailsAll(),
+ 'action' => ($this->hasAction()) ? $this->getAction() : [],
+ 'cache' => ($this->hasCache()) ? $this->getCache() : '',
'publishedTime' => $this->getPublishedTime()
]
);
@@ -493,25 +490,25 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
}
}
$result = [
- "local" => $this->isLocal(),
- "content" => $this->getContent(),
- "sensitive" => $this->isSensitive(),
- "spoiler_text" => $this->getSpoilerText(),
- "visibility" => 'unlisted',
- "language" => $this->getLanguage(),
- "in_reply_to_id" => null,
+ "local" => $this->isLocal(),
+ "content" => $this->getContent(),
+ "sensitive" => $this->isSensitive(),
+ "spoiler_text" => $this->getSpoilerText(),
+ "visibility" => 'unlisted',
+ "language" => $this->getLanguage(),
+ "in_reply_to_id" => null,
"in_reply_to_account_id" => null,
- 'replies_count' => 0,
- 'reblogs_count' => 0,
- 'favourites_count' => 0,
- 'favourited' => $favorited,
- 'reblogged' => $reblogged,
- 'muted' => false,
- 'bookmarked' => false,
- 'uri' => $this->getId(),
- 'url' => $this->getId(),
- "reblog" => null,
- "created_at" => date('Y-m-d\TH:i:s', $this->getPublishedTime()) . '.000Z'
+ 'replies_count' => 0,
+ 'reblogs_count' => 0,
+ 'favourites_count' => 0,
+ 'favourited' => $favorited,
+ 'reblogged' => $reblogged,
+ 'muted' => false,
+ 'bookmarked' => false,
+ 'uri' => $this->getId(),
+ 'url' => $this->getId(),
+ "reblog" => null,
+ "created_at" => date('Y-m-d\TH:i:s', $this->getPublishedTime()) . '.000Z'
];
// TODO - store created_at full string with milliseconds ?
@@ -522,5 +519,4 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
return array_merge(parent::exportAsLocal(), $result);
}
-
}
diff --git a/lib/Model/Client/Options/CoreOptions.php b/lib/Model/Client/Options/CoreOptions.php
index 9ce89c47..2ae0ae73 100644
--- a/lib/Model/Client/Options/CoreOptions.php
+++ b/lib/Model/Client/Options/CoreOptions.php
@@ -1,4 +1,5 @@
$this->isLocal(),
- 'remote' => $this->isRemote(),
+ 'local' => $this->isLocal(),
+ 'remote' => $this->isRemote(),
'only_media' => $this->isOnlyMedia(),
- 'min_id' => $this->getMinId(),
- 'max_id' => $this->getMaxId(),
- 'since_id' => $this->getSinceId(),
- 'limit' => $this->getLimit()
+ 'min_id' => $this->getMinId(),
+ 'max_id' => $this->getMaxId(),
+ 'since_id' => $this->getSinceId(),
+ 'limit' => $this->getLimit()
];
}
-
}
-
diff --git a/lib/Model/Client/SocialClient.php b/lib/Model/Client/SocialClient.php
index 796b4f2a..0d51237e 100644
--- a/lib/Model/Client/SocialClient.php
+++ b/lib/Model/Client/SocialClient.php
@@ -1,4 +1,5 @@
$this->getId(),
- 'app_name' => $this->getAppName(),
- 'app_website' => $this->getAppWebsite(),
- 'app_scopes' => $this->getAppScopes(),
- 'app_client_id' => $this->getAppClientId(),
+ 'id' => $this->getId(),
+ 'app_name' => $this->getAppName(),
+ 'app_website' => $this->getAppWebsite(),
+ 'app_scopes' => $this->getAppScopes(),
+ 'app_client_id' => $this->getAppClientId(),
'app_client_secret' => $this->getAppClientSecret(),
'app_redirect_uris' => $this->getAppRedirectUris(),
- 'auth_scopes' => $this->getAuthScopes(),
- 'auth_account' => $this->getAuthAccount(),
- 'auth_user_id' => $this->getAuthUserId(),
- 'auth_code' => $this->getAuthCode(),
- 'token' => $this->getToken(),
- 'last_update' => $this->getLastUpdate(),
- 'creation' => $this->getCreation()
+ 'auth_scopes' => $this->getAuthScopes(),
+ 'auth_account' => $this->getAuthAccount(),
+ 'auth_user_id' => $this->getAuthUserId(),
+ 'auth_code' => $this->getAuthCode(),
+ 'token' => $this->getToken(),
+ 'last_update' => $this->getLastUpdate(),
+ 'creation' => $this->getCreation()
];
}
-
}
-
diff --git a/lib/Model/Instance.php b/lib/Model/Instance.php
index 31bd7b7e..b99c4e50 100644
--- a/lib/Model/Instance.php
+++ b/lib/Model/Instance.php
@@ -1,4 +1,5 @@
local;
}
- /**
- * @param bool $local
- *
- * @return Instance
- */
public function setLocal(bool $local): self {
$this->local = $local;
return $this;
}
-
- /**
- * @return string
- */
public function getUri(): string {
return $this->uri;
}
- /**
- * @param string $uri
- *
- * @return Instance
- */
public function setUri(string $uri): self {
$this->uri = $uri;
return $this;
}
-
- /**
- * @return string
- */
public function getTitle(): string {
return $this->title;
}
- /**
- * @param string $title
- *
- * @return Instance
- */
public function setTitle(string $title): self {
$this->title = $title;
return $this;
}
-
- /**
- * @return string
- */
public function getVersion(): string {
return $this->version;
}
- /**
- * @param string $version
- *
- * @return Instance
- */
public function setVersion(string $version): self {
$this->version = $version;
return $this;
}
-
- /**
- * @return string
- */
public function getShortDescription(): string {
return $this->shortDescription;
}
- /**
- * @param string $shortDescription
- *
- * @return Instance
- */
public function setShortDescription(string $shortDescription): self {
$this->shortDescription = $shortDescription;
return $this;
}
-
- /**
- * @return string
- */
public function getDescription(): string {
return $this->description;
}
- /**
- * @param string $description
- *
- * @return Instance
- */
public function setDescription(string $description): self {
$this->description = $description;
return $this;
}
-
- /**
- * @return string
- */
public function getEmail(): string {
return $this->email;
}
- /**
- * @param string $email
- *
- * @return Instance
- */
public function setEmail(string $email): self {
$this->email = $email;
return $this;
}
-
- /**
- * @return array
- */
public function getUrls(): array {
return $this->urls;
}
- /**
- * @param array $urls
- *
- * @return Instance
- */
public function setUrls(array $urls): self {
$this->urls = $urls;
return $this;
}
-
- /**
- * @return array
- */
public function getStats(): array {
return $this->stats;
}
- /**
- * @param array $stats
- *
- * @return Instance
- */
public function setStats(array $stats): self {
$this->stats = $stats;
return $this;
}
-
- /**
- * @return array
- */
public function getUsage(): array {
return $this->usage;
}
@@ -286,87 +174,46 @@ class Instance implements IQueryRow, JsonSerializable {
return $this->image;
}
- /**
- * @param string $image
- *
- * @return Instance
- */
public function setImage(string $image): self {
$this->image = $image;
return $this;
}
-
- /**
- * @return array
- */
public function getLanguages(): array {
return $this->languages;
}
- /**
- * @param array $languages
- *
- * @return Instance
- */
public function setLanguages(array $languages): self {
$this->languages = $languages;
return $this;
}
-
- /**
- * @return bool
- */
public function isRegistrations(): bool {
return $this->registrations;
}
- /**
- * @param bool $registrations
- *
- * @return Instance
- */
public function setRegistrations(bool $registrations): self {
$this->registrations = $registrations;
return $this;
}
-
- /**
- * @return bool
- */
public function isApprovalRequired(): bool {
return $this->approvalRequired;
}
- /**
- * @param bool $approvalRequired
- *
- * @return Instance
- */
public function setApprovalRequired(bool $approvalRequired): self {
$this->approvalRequired = $approvalRequired;
return $this;
}
-
- /**
- * @return bool
- */
public function isInvitesEnabled(): bool {
return $this->invitesEnabled;
}
- /**
- * @param bool $invitesEnabled
- *
- * @return Instance
- */
public function setInvitesEnabled(bool $invitesEnabled): self {
$this->invitesEnabled = $invitesEnabled;
@@ -450,19 +297,19 @@ class Instance implements IQueryRow, JsonSerializable {
*/
public function jsonSerialize(): array {
$arr = [
- 'uri' => $this->getUri(),
- 'title' => $this->getTitle(),
- 'version' => $this->getVersion(),
+ 'uri' => $this->getUri(),
+ 'title' => $this->getTitle(),
+ 'version' => $this->getVersion(),
'short_description' => $this->getShortDescription(),
- 'description' => $this->getDescription(),
- 'email' => $this->getEmail(),
- 'urls' => $this->getUrls(),
- 'stats' => $this->getStats(),
- 'thumbnail' => $this->getImage(),
- 'languages' => $this->getLanguages(),
- 'registrations' => $this->isRegistrations(),
+ 'description' => $this->getDescription(),
+ 'email' => $this->getEmail(),
+ 'urls' => $this->getUrls(),
+ 'stats' => $this->getStats(),
+ 'thumbnail' => $this->getImage(),
+ 'languages' => $this->getLanguages(),
+ 'registrations' => $this->isRegistrations(),
'approval_required' => $this->isApprovalRequired(),
- 'invites_enabled' => $this->isInvitesEnabled()
+ 'invites_enabled' => $this->isInvitesEnabled()
];
if ($this->hasContactAccount()) {
@@ -471,6 +318,4 @@ class Instance implements IQueryRow, JsonSerializable {
return $arr;
}
-
}
-
diff --git a/lib/Model/InstancePath.php b/lib/Model/InstancePath.php
index 3a438fb0..d9347514 100644
--- a/lib/Model/InstancePath.php
+++ b/lib/Model/InstancePath.php
@@ -1,4 +1,5 @@
$this->getUri(),
- 'type' => $this->getType(),
+ 'uri' => $this->getUri(),
+ 'type' => $this->getType(),
'priority' => $this->getPriority()
];
}
-
-
}
-
diff --git a/lib/Model/LinkedDataSignature.php b/lib/Model/LinkedDataSignature.php
index 7d1a49e4..bd9af964 100644
--- a/lib/Model/LinkedDataSignature.php
+++ b/lib/Model/LinkedDataSignature.php
@@ -1,4 +1,5 @@
type;
}
- /**
- * @param string $type
- *
- * @return LinkedDataSignature
- */
public function setType(string $type): LinkedDataSignature {
$this->type = $type;
return $this;
}
-
- /**
- * @return string
- */
public function getCreator(): string {
return $this->creator;
}
- /**
- * @param string $creator
- *
- * @return LinkedDataSignature
- */
public function setCreator(string $creator): LinkedDataSignature {
$this->creator = $creator;
return $this;
}
-
- /**
- * @return string
- */
public function getNonce(): string {
return $this->nonce;
}
- /**
- * @param string $nonce
- *
- * @return LinkedDataSignature
- */
public function setNonce(string $nonce): LinkedDataSignature {
$this->nonce = $nonce;
return $this;
}
-
- /**
- * @return string
- */
public function getCreated(): string {
return $this->created;
}
- /**
- * @param string $created
- *
- * @return LinkedDataSignature
- */
public function setCreated(string $created): LinkedDataSignature {
$this->created = $created;
return $this;
}
- /**
- * @return string
- */
public function getSignatureValue(): string {
return $this->signatureValue;
}
- /**
- * @param string $signatureValue
- *
- * @return LinkedDataSignature
- */
public function setSignatureValue(string $signatureValue): LinkedDataSignature {
$this->signatureValue = $signatureValue;
return $this;
}
-
- /**
- * @return array
- */
- public function getObject(): array {
- return $this->object;
- }
-
- /**
- * @param array $object
- *
- * @return LinkedDataSignature
- */
- public function setObject(array $object): LinkedDataSignature {
- $this->object = $object;
-
- return $this;
- }
-
-
- /**
- * @return string
- */
public function getPrivateKey(): string {
return $this->privateKey;
}
- /**
- * @param string $privateKey
- *
- * @return LinkedDataSignature
- */
public function setPrivateKey(string $privateKey): LinkedDataSignature {
$this->privateKey = $privateKey;
return $this;
}
-
- /**
- * @return string
- */
- public function getPublicKey(): string {
- return $this->publicKey;
- }
-
- /**
- * @param string $publicKey
- *
- * @return LinkedDataSignature
- */
public function setPublicKey(string $publicKey): LinkedDataSignature {
$this->publicKey = $publicKey;
return $this;
}
-
/**
* @throws LinkedDataSignatureMissingException
*/
public function sign() {
$header = [
'@context' => 'https://w3id.org/identity/v1',
- 'creator' => $this->getCreator(),
- 'created' => $this->getCreated()
+ 'creator' => $this->getCreator(),
+ 'created' => $this->getCreated()
];
$hash = $this->hashedCanonicalize($header) . $this->hashedCanonicalize($this->getObject());
@@ -246,17 +143,12 @@ class LinkedDataSignature implements JsonSerializable {
$this->setSignatureValue(base64_encode($signed));
}
-
- /**
- * @return bool
- */
public function verify(): bool {
-
$header = [
'@context' => 'https://w3id.org/identity/v1',
- 'nonce' => $this->getNonce(),
- 'creator' => $this->getCreator(),
- 'created' => $this->getCreated()
+ 'nonce' => $this->getNonce(),
+ 'creator' => $this->getCreator(),
+ 'created' => $this->getCreated()
];
$hashHeader = $this->hashedCanonicalize($header, true);
@@ -278,13 +170,6 @@ class LinkedDataSignature implements JsonSerializable {
return false;
}
- /**
- * @param array $data
- *
- * @param bool $removeEmptyValue
- *
- * @return string
- */
private function hashedCanonicalize(array $data, bool $removeEmptyValue = false): string {
if ($removeEmptyValue) {
$this->cleanArray($data);
@@ -294,8 +179,8 @@ class LinkedDataSignature implements JsonSerializable {
$res = jsonld_normalize(
$object,
[
- 'algorithm' => 'URDNA2015',
- 'format' => 'application/nquads',
+ 'algorithm' => 'URDNA2015',
+ 'format' => 'application/nquads',
'documentLoader' => [SignatureService::class, 'documentLoader']
]
);
@@ -305,11 +190,9 @@ class LinkedDataSignature implements JsonSerializable {
/**
- * @param array $data
- *
* @throws LinkedDataSignatureMissingException
*/
- public function import(array $data) {
+ public function import(array $data): void {
// if (!in_array(ACore::CONTEXT_SECURITY, $this->getArray('@context', $data, []))) {
// throw new LinkedDataSignatureMissingException('no @context security entry');
@@ -337,12 +220,10 @@ class LinkedDataSignature implements JsonSerializable {
*/
public function jsonSerialize(): array {
return [
- 'type' => $this->getType(),
- 'creator' => $this->getCreator(),
- 'created' => $this->getCreated(),
+ 'type' => $this->getType(),
+ 'creator' => $this->getCreator(),
+ 'created' => $this->getCreated(),
'signatureValue' => $this->getSignatureValue()
];
}
-
}
-
diff --git a/lib/Model/Post.php b/lib/Model/Post.php
index 36929ba2..b45dfba7 100644
--- a/lib/Model/Post.php
+++ b/lib/Model/Post.php
@@ -1,4 +1,5 @@
$this->getActor(),
- 'to' => $this->getTo(),
- 'replyTo' => $this->getReplyTo(),
- 'content' => $this->getContent(),
+ 'actor' => $this->getActor(),
+ 'to' => $this->getTo(),
+ 'replyTo' => $this->getReplyTo(),
+ 'content' => $this->getContent(),
'attachments' => $this->getAttachments(),
- 'hashtags' => $this->getHashtags(),
- 'type' => $this->getType()
+ 'hashtags' => $this->getHashtags(),
+ 'type' => $this->getType()
];
}
-
-
}
-
diff --git a/lib/Model/RequestQueue.php b/lib/Model/RequestQueue.php
index 72c9ef2d..c2cd5ca8 100644
--- a/lib/Model/RequestQueue.php
+++ b/lib/Model/RequestQueue.php
@@ -1,4 +1,5 @@
setActivity($activity);
if ($instance instanceof InstancePath) {
@@ -327,16 +305,14 @@ class RequestQueue implements JsonSerializable {
*/
public function jsonSerialize(): array {
return [
- 'id' => $this->getId(),
- 'token' => $this->getToken(),
- 'author' => $this->getAuthor(),
+ 'id' => $this->getId(),
+ 'token' => $this->getToken(),
+ 'author' => $this->getAuthor(),
'instance' => $this->getInstance(),
'priority' => $this->getPriority(),
- 'status' => $this->getStatus(),
- 'tries' => $this->getTries(),
- 'last' => $this->getLast()
+ 'status' => $this->getStatus(),
+ 'tries' => $this->getTries(),
+ 'last' => $this->getLast()
];
}
-
}
-
diff --git a/lib/Model/StreamAction.php b/lib/Model/StreamAction.php
index 6eec5cb2..784734a5 100644
--- a/lib/Model/StreamAction.php
+++ b/lib/Model/StreamAction.php
@@ -1,4 +1,5 @@
$this->getId(),
- 'actorId' => $this->getActorId(),
+ 'id' => $this->getId(),
+ 'actorId' => $this->getActorId(),
'streamId' => $this->getStreamId(),
- 'values' => $this->getValues(),
+ 'values' => $this->getValues(),
];
}
-
}
-
diff --git a/lib/Model/StreamDetails.php b/lib/Model/StreamDetails.php
index 7421baa3..e62d3963 100644
--- a/lib/Model/StreamDetails.php
+++ b/lib/Model/StreamDetails.php
@@ -1,4 +1,5 @@
$this->getStream(),
- 'homeViewers' => $this->getHomeViewers(),
+ 'stream' => $this->getStream(),
+ 'homeViewers' => $this->getHomeViewers(),
'directViewers' => $this->getDirectViewers(),
- 'public' => $this->isPublic(),
- 'federated' => $this->isFederated()
+ 'public' => $this->isPublic(),
+ 'federated' => $this->isFederated()
];
}
-
}
-
diff --git a/lib/Model/StreamQueue.php b/lib/Model/StreamQueue.php
index 8d98487a..3bae0f6a 100644
--- a/lib/Model/StreamQueue.php
+++ b/lib/Model/StreamQueue.php
@@ -1,4 +1,5 @@
$this->getId(),
- 'token' => $this->getToken(),
+ 'id' => $this->getId(),
+ 'token' => $this->getToken(),
'streamId' => $this->getStreamId(),
- 'type' => $this->getType(),
- 'status' => $this->getStatus(),
- 'tries' => $this->getTries(),
- 'last' => $this->getLast()
+ 'type' => $this->getType(),
+ 'status' => $this->getStatus(),
+ 'tries' => $this->getTries(),
+ 'last' => $this->getLast()
];
}
-
}
-
diff --git a/lib/Model/Test.php b/lib/Model/Test.php
index de9b5ec9..468e1cbb 100644
--- a/lib/Model/Test.php
+++ b/lib/Model/Test.php
@@ -1,4 +1,5 @@
$this->getName(),
+ 'name' => $this->getName(),
'severity' => $this->getSeverity(),
- 'details' => $this->gAll(),
- 'message' => $this->getMessages()
+ 'details' => $this->gAll(),
+ 'message' => $this->getMessages()
]
);
@@ -143,6 +140,4 @@ class Test extends SimpleDataStore implements JsonSerializable {
return $result;
}
-
}
-
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index b07660e7..fd1fc17c 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -1,4 +1,6 @@
-miscService->confirmUserId($userId);
$this->checkActorUsername($username);
@@ -279,7 +277,7 @@ class AccountService {
$count = [
'followers' => $this->followsRequest->countFollowers($actor->getId()),
'following' => $this->followsRequest->countFollowing($actor->getId()),
- 'post' => $this->streamRequest->countNotesFromActorId($actor->getId())
+ 'post' => $this->streamRequest->countNotesFromActorId($actor->getId())
];
$actor->setDetailArray('count', $count);
$actor->setDetail('last_post_creation', $lastPostCreation);
@@ -358,6 +356,4 @@ class AccountService {
return $count;
}
-
-
}
diff --git a/lib/Service/ActivityService.php b/lib/Service/ActivityService.php
index a1927cd0..f1c67501 100644
--- a/lib/Service/ActivityService.php
+++ b/lib/Service/ActivityService.php
@@ -1,4 +1,5 @@
setParent($activity);
@@ -423,7 +419,4 @@ class ActivityService {
} catch (ItemAlreadyExistsException $e) {
}
}
-
-
}
-
diff --git a/lib/Service/ActorService.php b/lib/Service/ActorService.php
index ad95f85e..7b77b031 100644
--- a/lib/Service/ActorService.php
+++ b/lib/Service/ActorService.php
@@ -1,4 +1,5 @@
uuid();
// creating a path aa/bb/cc/dd/ from the filename aabbccdd-0123-[...]
$path = chunk_split(substr($filename, 0, 8), 2, '/');
@@ -190,7 +186,6 @@ class CacheDocumentService {
* @throws CacheContentMimeTypeException
*/
public function filterMimeTypes(string $mime) {
-
$allowedMimeType = [
'image/jpeg',
'image/gif',
@@ -276,6 +271,4 @@ class CacheDocumentService {
return $this->curlService->doRequest($request);
}
-
}
-
diff --git a/lib/Service/CheckService.php b/lib/Service/CheckService.php
index aeebb9fe..d6aef40b 100644
--- a/lib/Service/CheckService.php
+++ b/lib/Service/CheckService.php
@@ -23,7 +23,6 @@
namespace OCA\Social\Service;
-
use daita\MySmallPhpTools\Traits\TArrayTools;
use daita\MySmallPhpTools\Traits\TStringTools;
use Exception;
@@ -49,20 +48,17 @@ use OCP\IRequest;
use OCP\IURLGenerator;
use OCP\IUserManager;
-
/**
* Class CheckService
*
* @package OCA\Social\Service
*/
class CheckService {
-
-
use TArrayTools;
use TStringTools;
- const CACHE_PREFIX = 'social_check_';
+ public const CACHE_PREFIX = 'social_check_';
private IUserManager $userManager;
@@ -147,7 +143,7 @@ class CheckService {
return [
'success' => $success,
- 'checks' => $checks
+ 'checks' => $checks
];
}
@@ -194,7 +190,7 @@ class CheckService {
if (!$light) {
$result = [
'invalidFollows' => $this->removeInvalidFollows(),
- 'invalidNotes' => $this->removeInvalidNotes()
+ 'invalidNotes' => $this->removeInvalidNotes()
];
}
@@ -318,5 +314,4 @@ class CheckService {
return false;
}
-
}
diff --git a/lib/Service/ClientService.php b/lib/Service/ClientService.php
index 93f63b47..dad26271 100644
--- a/lib/Service/ClientService.php
+++ b/lib/Service/ClientService.php
@@ -1,4 +1,5 @@
'',
- self::SOCIAL_URL => '',
- self::SOCIAL_ADDRESS => '',
- self::SOCIAL_SERVICE => 1,
- self::SOCIAL_MAX_SIZE => 10,
- self::SOCIAL_ACCESS_TYPE => 'all_but',
- self::SOCIAL_ACCESS_LIST => '[]',
- self::SOCIAL_SELF_SIGNED => '0',
+ self::CLOUD_URL => '',
+ self::SOCIAL_URL => '',
+ self::SOCIAL_ADDRESS => '',
+ self::SOCIAL_SERVICE => 1,
+ self::SOCIAL_MAX_SIZE => 10,
+ self::SOCIAL_ACCESS_TYPE => 'all_but',
+ self::SOCIAL_ACCESS_LIST => '[]',
+ self::SOCIAL_SELF_SIGNED => '0',
self::DATABASE_CHUNK_SIZE => 10000
];
@@ -450,7 +448,4 @@ class ConfigService {
$request->setLocalAddressAllowed(true);
$request->setFollowLocation(true);
}
-
-
}
-
diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php
index 1613d440..97ec688c 100644
--- a/lib/Service/CurlService.php
+++ b/lib/Service/CurlService.php
@@ -1,4 +1,5 @@
getId();
}
-
}
-
diff --git a/lib/Service/FediverseService.php b/lib/Service/FediverseService.php
index 42917545..6155ce3b 100644
--- a/lib/Service/FediverseService.php
+++ b/lib/Service/FediverseService.php
@@ -1,4 +1,5 @@
false,
+ 'follower' => false,
'following' => false
];
@@ -286,6 +283,4 @@ class FollowService {
public function getFollowersFromFollowId(string $recipient): array {
return $this->followsRequest->getFollowersByFollowId($recipient);
}
-
}
-
diff --git a/lib/Service/HashtagService.php b/lib/Service/HashtagService.php
index 0225615b..3988eaad 100644
--- a/lib/Service/HashtagService.php
+++ b/lib/Service/HashtagService.php
@@ -1,4 +1,5 @@
$this->getTrendSince($time - self::TREND_1H),
+ '1h' => $this->getTrendSince($time - self::TREND_1H),
'12h' => $this->getTrendSince($time - self::TREND_12H),
- '1d' => $this->getTrendSince($time - self::TREND_1D),
- '3d' => $this->getTrendSince($time - self::TREND_3D),
+ '1d' => $this->getTrendSince($time - self::TREND_1D),
+ '3d' => $this->getTrendSince($time - self::TREND_3D),
'10d' => $this->getTrendSince($time - self::TREND_10D)
];
@@ -240,4 +237,3 @@ class HashtagService {
throw new HashtagDoesNotExistException();
}
}
-
diff --git a/lib/Service/ImportService.php b/lib/Service/ImportService.php
index 0d08d916..00bcd41c 100644
--- a/lib/Service/ImportService.php
+++ b/lib/Service/ImportService.php
@@ -1,4 +1,5 @@
instancesRequest->getLocal($format);
}
-
}
-
diff --git a/lib/Service/LikeService.php b/lib/Service/LikeService.php
index 48ee873b..a7d4c48e 100644
--- a/lib/Service/LikeService.php
+++ b/lib/Service/LikeService.php
@@ -1,4 +1,5 @@
Application::APP_NAME,
+ 'app' => Application::APP_NAME,
'level' => $level
);
@@ -96,6 +95,4 @@ class MiscService {
return $user;
}
-
}
-
diff --git a/lib/Service/PostService.php b/lib/Service/PostService.php
index b9909fd4..41db71e8 100644
--- a/lib/Service/PostService.php
+++ b/lib/Service/PostService.php
@@ -1,4 +1,5 @@
addHashtag($hash);
}
-
}
-
}
-
diff --git a/lib/Service/PushService.php b/lib/Service/PushService.php
index e2616d17..b6bb1645 100644
--- a/lib/Service/PushService.php
+++ b/lib/Service/PushService.php
@@ -1,4 +1,5 @@
test($userId);
// }
-
}
-
diff --git a/lib/Service/RequestQueueService.php b/lib/Service/RequestQueueService.php
index e0ce53dd..6b074ccc 100644
--- a/lib/Service/RequestQueueService.php
+++ b/lib/Service/RequestQueueService.php
@@ -1,4 +1,5 @@
requestQueueRequest->delete($queue);
}
-
}
-
diff --git a/lib/Service/SearchService.php b/lib/Service/SearchService.php
index bf7897be..2e8b9ab2 100644
--- a/lib/Service/SearchService.php
+++ b/lib/Service/SearchService.php
@@ -1,4 +1,5 @@
"rsa",
+ "digest_alg" => "rsa",
"private_key_bits" => 2048,
"private_key_type" => OPENSSL_KEYTYPE_RSA,
]
@@ -152,10 +150,10 @@ class SignatureService {
$headersElements = ['content-length', 'date', 'host', 'digest'];
$allElements = [
'(request-target)' => 'post ' . $path->getPath(),
- 'date' => $date,
- 'host' => $path->getAddress(),
- 'digest' => $this->generateDigest($request->getDataBody()),
- 'content-length' => strlen($request->getDataBody())
+ 'date' => $date,
+ 'host' => $path->getAddress(),
+ 'digest' => $this->generateDigest($request->getDataBody()),
+ 'content-length' => strlen($request->getDataBody())
];
$signing = $this->generateHeaders($headersElements, $allElements, $request);
@@ -617,7 +615,6 @@ class SignatureService {
private static function generateContextCacheDocument(
ISimpleFolder $folder, string $filename, string $url
): stdClass {
-
try {
$data = jsonld_default_document_loader($url);
$content = json_encode($data);
@@ -654,6 +651,4 @@ class SignatureService {
}
}
}
-
}
-
diff --git a/lib/Service/StreamActionService.php b/lib/Service/StreamActionService.php
index d0ffc914..2bb025ee 100644
--- a/lib/Service/StreamActionService.php
+++ b/lib/Service/StreamActionService.php
@@ -1,4 +1,5 @@
initCache($queue);
} catch (QueueStatusException $e) {
@@ -400,7 +396,4 @@ class StreamQueueService {
private function deleteCache(StreamQueue $queue) {
$this->streamQueueRequest->delete($queue);
}
-
-
}
-
diff --git a/lib/Service/StreamService.php b/lib/Service/StreamService.php
index d8f576f4..49c4576b 100644
--- a/lib/Service/StreamService.php
+++ b/lib/Service/StreamService.php
@@ -1,4 +1,5 @@
getTimeline() === 'home') {
return $this->streamRequest->getTimelineHome($options);
- } else if ($options->getTimeline() === 'public') {
+ } elseif ($options->getTimeline() === 'public') {
return $this->streamRequest->getTimelinePublic($options);
}
}
@@ -550,7 +546,4 @@ class StreamService {
return $this->cacheActorService->getFromId($note->getAttributedTo());
}
-
-
}
-
diff --git a/lib/Service/TestService.php b/lib/Service/TestService.php
index 47b81f8c..4f096665 100644
--- a/lib/Service/TestService.php
+++ b/lib/Service/TestService.php
@@ -1,4 +1,5 @@
aObj('tests', $testActor);
-
}
-
}
-
diff --git a/lib/Service/UpdateService.php b/lib/Service/UpdateService.php
index c7a46dc5..4dd2c251 100644
--- a/lib/Service/UpdateService.php
+++ b/lib/Service/UpdateService.php
@@ -23,22 +23,18 @@
namespace OCA\Social\Service;
-
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IGroupManager;
use OCP\IUserManager;
use OCP\Notification\IManager as INotificationManager;
use OCP\Notification\INotification;
-
/**
* Class UpdateService
*
* @package OCA\Social\Service
*/
class UpdateService {
-
-
private IUserManager $userManager;
private IGroupManager $groupManager;
@@ -131,6 +127,4 @@ class UpdateService {
return $notification;
}
-
}
-
diff --git a/lib/Traits/TDetails.php b/lib/Traits/TDetails.php
index bc5795ae..5d35a990 100644
--- a/lib/Traits/TDetails.php
+++ b/lib/Traits/TDetails.php
@@ -1,4 +1,5 @@
details) || !is_array($this->details[$detail])) {
$this->details[$detail] = [];
- } else if (in_array($value, $this->details[$detail])) {
+ } elseif (in_array($value, $this->details[$detail])) {
return;
}
@@ -213,6 +213,4 @@ trait TDetails {
$this->details[$detail] = array_diff($this->details, [$value]);
}
-
}
-
diff --git a/lib/WellKnown/WebfingerHandler.php b/lib/WellKnown/WebfingerHandler.php
index 7e7e7cb3..a4f4b228 100644
--- a/lib/WellKnown/WebfingerHandler.php
+++ b/lib/WellKnown/WebfingerHandler.php
@@ -1,4 +1,5 @@
urlGenerator = $urlGenerator;
$this->cacheActorsRequest = $cacheActorsRequest;
$this->cacheActorService = $cacheActorService;
@@ -83,7 +83,7 @@ class WebfingerHandler implements IHandler {
$response->addLink('self', 'application/activity+json', $href);
// Nextcloud profile page
- $profilePageUrl = $this->urlGenerator->linkToRouteAbsolute('core.ProfilePage.index', [
+ $profilePageUrl = $this->urlGenerator->linkToRouteAbsolute('core.ProfilePage.index', [
'targetUserId' => $actor->getPreferredUsername()
]);
$response->addAlias($profilePageUrl);
diff --git a/lib/hostmeta.php b/lib/hostmeta.php
index 16a1253d..f16eaae1 100644
--- a/lib/hostmeta.php
+++ b/lib/hostmeta.php
@@ -1,4 +1,5 @@
query(ConfigService::class);
$fediverseService->jailed();
-
} catch (Exception $e) {
OC::$server->getLogger()
->log(1, 'Exception on hostmeta - ' . $e->getMessage());
diff --git a/rector.php b/rector.php
index 0bc3f121..ed03ec41 100644
--- a/rector.php
+++ b/rector.php
@@ -4,7 +4,6 @@ declare(strict_types=1);
use Rector\Core\Configuration\Option;
use Rector\Php74\Rector\Property\TypedPropertyRector;
-use Rector\Set\ValueObject\LevelSetList;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
diff --git a/tests/SocialTest.php b/tests/SocialTest.php
index 6d38ce5c..c20c2482 100644
--- a/tests/SocialTest.php
+++ b/tests/SocialTest.php
@@ -1,20 +1,14 @@
assertTrue(true);
}
-
}