Browse Source

chore: update php deps

pull/220/head
sualko 6 months ago
parent
commit
f6077950d8
  1. 2
      .github/workflows/php-test.yml
  2. 5
      .github/workflows/static.yml
  3. 975
      composer.lock
  4. 1
      psalm.xml
  5. 29
      tests/psalm-baseline.xml

2
.github/workflows/php-test.yml

@ -39,7 +39,7 @@ jobs:
path: nextcloud/apps/bbb
- name: Update test stub
working-directory: nextcloud/apps/bbb
run: composer update christophwurst/nextcloud -W
run: composer update friendsofphp/php-cs-fixer christophwurst/nextcloud -W
- name: Install dependencies
working-directory: nextcloud/apps/bbb
run: composer install

5
.github/workflows/static.yml

@ -16,9 +16,12 @@ jobs:
with:
php-version: 7.4
coverage: none
- name: Update php-cs-fixer
run: composer update friendsofphp/php-cs-fixer -W
- name: Install dependencies
run: composer i
- name: Install dependencies
run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
- name: Run coding standards check
run: composer run psalm
run: composer run psalm

975
composer.lock
File diff suppressed because it is too large
View File

1
psalm.xml

@ -1,6 +1,5 @@
<?xml version="1.0"?>
<psalm
totallyTyped="true"
errorLevel="5"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

29
tests/psalm-baseline.xml

@ -1,7 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69">
<files psalm-version="4.24.0@06dd975cb55d36af80f242561738f16c5f58264f">
<file src="lib/AppInfo/Application.php">
<InvalidArgument occurrences="8">
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
<code>addServiceListener</code>
</InvalidArgument>
</file>
<file src="lib/BigBlueButton/API.php">
<UndefinedClass occurrences="1">
<code>InsertDocumentParameters</code>
</UndefinedClass>
<UndefinedMethod occurrences="1">
<code>insertDocument</code>
</UndefinedMethod>
</file>
<file src="lib/CircleHelper.php">
<UndefinedClass occurrences="3">
<code>\OCA\Circles\Api\v1\Circles</code>
<code>\OCA\Circles\Api\v1\Circles</code>
<code>\OCA\Circles\Model\Member</code>
</UndefinedClass>
@ -11,12 +32,6 @@
<code>null</code>
</NullArgument>
</file>
<file src="lib/Controller/ServerController.php">
<InvalidArgument occurrences="2">
<code>$success</code>
<code>$this-&gt;server-&gt;check($url, $secret)</code>
</InvalidArgument>
</file>
<file src="lib/NoPermissionResponse.php">
<MissingDependency occurrences="1">
<code>Template</code>

Loading…
Cancel
Save