chore(composer): Update and cleanup composer dependencies
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -9,17 +9,14 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"cogpowered/finediff": "0.3.*",
|
|
||||||
"justinrainbow/json-schema": "^5.2"
|
"justinrainbow/json-schema": "^5.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"phpunit/phpunit": "^9",
|
"phpunit/phpunit": "^9",
|
||||||
"nextcloud/coding-standard": "^1.0.0",
|
"nextcloud/coding-standard": "^1.1",
|
||||||
"symfony/event-dispatcher": "^4.0",
|
"nextcloud/ocp": "dev-master",
|
||||||
"vimeo/psalm": "^5.4",
|
"psalm/phar": "^5.13"
|
||||||
"php-parallel-lint/php-parallel-lint": "^1.2",
|
|
||||||
"nextcloud/ocp": "dev-master"
|
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
@@ -34,9 +31,9 @@
|
|||||||
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
||||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||||
"cs:fix": "php-cs-fixer fix",
|
"cs:fix": "php-cs-fixer fix",
|
||||||
"psalm": "psalm",
|
"psalm": "psalm.phar",
|
||||||
"psalm:update-baseline": "psalm --update-baseline",
|
"psalm:update-baseline": "psalm.phar --update-baseline",
|
||||||
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
|
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
|
||||||
"test": [
|
"test": [
|
||||||
"@test:unit",
|
"@test:unit",
|
||||||
"@test:integration"
|
"@test:integration"
|
||||||
|
|||||||
2798
composer.lock
generated
2798
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -43,7 +43,7 @@ class Capabilities implements ICapability {
|
|||||||
/**
|
/**
|
||||||
* Function an app uses to return the capabilities
|
* Function an app uses to return the capabilities
|
||||||
*
|
*
|
||||||
* @return array Array containing the apps capabilities
|
* @return array{deck: array{version: string, canCreateBoards: bool, apiVersions: array<string>}}
|
||||||
* @since 8.2.0
|
* @since 8.2.0
|
||||||
*/
|
*/
|
||||||
public function getCapabilities() {
|
public function getCapabilities() {
|
||||||
|
|||||||
11
psalm.xml
11
psalm.xml
@@ -4,7 +4,7 @@
|
|||||||
resolveFromConfigFile="true"
|
resolveFromConfigFile="true"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="https://getpsalm.org/schema/config"
|
xmlns="https://getpsalm.org/schema/config"
|
||||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
xsi:schemaLocation="https://getpsalm.org/schema/config"
|
||||||
errorBaseline="tests/psalm-baseline.xml"
|
errorBaseline="tests/psalm-baseline.xml"
|
||||||
>
|
>
|
||||||
<stubs>
|
<stubs>
|
||||||
@@ -18,10 +18,6 @@
|
|||||||
</projectFiles>
|
</projectFiles>
|
||||||
<extraFiles>
|
<extraFiles>
|
||||||
<directory name="vendor" />
|
<directory name="vendor" />
|
||||||
<ignoreFiles>
|
|
||||||
<directory name="vendor/phpunit/php-code-coverage" />
|
|
||||||
<directory name="vendor/vimeo" />
|
|
||||||
</ignoreFiles>
|
|
||||||
</extraFiles>
|
</extraFiles>
|
||||||
<issueHandlers>
|
<issueHandlers>
|
||||||
<UndefinedMagicMethod>
|
<UndefinedMagicMethod>
|
||||||
@@ -41,6 +37,10 @@
|
|||||||
<referencedClass name="OC\*" />
|
<referencedClass name="OC\*" />
|
||||||
<referencedClass name="OC" />
|
<referencedClass name="OC" />
|
||||||
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
||||||
|
<referencedClass name="Symfony\Component\Console\Command\Command" />
|
||||||
|
<referencedClass name="Symfony\Component\Console\Question\ChoiceQuestion" />
|
||||||
|
<referencedClass name="Symfony\Component\Console\Question\Question" />
|
||||||
|
<referencedClass name="Symfony\Component\EventDispatcher\GenericEvent" />
|
||||||
</errorLevel>
|
</errorLevel>
|
||||||
</UndefinedClass>
|
</UndefinedClass>
|
||||||
<UndefinedDocblockClass>
|
<UndefinedDocblockClass>
|
||||||
@@ -51,6 +51,7 @@
|
|||||||
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
||||||
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
||||||
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
<referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
|
||||||
|
<referencedClass name="Symfony\Component\Console\Command\Command" />
|
||||||
</errorLevel>
|
</errorLevel>
|
||||||
</UndefinedDocblockClass>
|
</UndefinedDocblockClass>
|
||||||
</issueHandlers>
|
</issueHandlers>
|
||||||
|
|||||||
Reference in New Issue
Block a user