fix: phpstan issues and upgrade phpstan #1047
test.yml
on: push
CSS Lint
19s
JS Lint
20s
Matrix: PHP Coding Standards
Matrix: PHP Lint
Matrix: PHPStan
Matrix: PHPUnit
Annotations
43 errors and 36 warnings
PHPStan (8.2):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.2):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.2):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.2):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.2):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.2):
src/Admin/ImportExport.php#L1
Ignored error pattern #^Parameter \#2 \$length of function fread expects int\<0, max\>, int\<0, max\>\|false given\.$# in path /home/runner/work/Notification/Notification/src/Admin/ImportExport.php was not matched in reported errors.
|
PHPStan (8.2):
src/Admin/ImportExport.php#L166
Parameter #2 $length of function fread expects int<1, max>, int<0, max>|false given.
|
PHPStan (8.2):
src/Database/NotificationDatabaseService.php#L296
Cannot access offset mixed on mixed.
|
PHPStan (8.2):
src/Database/NotificationDatabaseService.php#L316
Cannot access offset mixed on mixed.
|
PHPStan (8.2)
Process completed with exit code 1.
|
PHPStan (8.1)
The job was canceled because "_8_2" failed.
|
PHPStan (8.1):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.1):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.1):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.1):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.1):
src/Admin/ImportExport.php#L1
Ignored error pattern #^Parameter \#2 \$length of function fread expects int\<0, max\>, int\<0, max\>\|false given\.$# in path /home/runner/work/Notification/Notification/src/Admin/ImportExport.php was not matched in reported errors.
|
PHPStan (8.1):
src/Admin/ImportExport.php#L166
Parameter #2 $length of function fread expects int<1, max>, int<0, max>|false given.
|
PHPStan (8.1):
src/Database/NotificationDatabaseService.php#L296
Cannot access offset mixed on mixed.
|
PHPStan (8.1):
src/Database/NotificationDatabaseService.php#L316
Cannot access offset mixed on mixed.
|
PHPStan (8.1)
Process completed with exit code 1.
|
PHPStan (8.0)
The job was canceled because "_8_2" failed.
|
PHPStan (8.0):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.0):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.0):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.0):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (8.0):
src/Admin/ImportExport.php#L1
Ignored error pattern #^Parameter \#2 \$length of function fread expects int\<0, max\>, int\<0, max\>\|false given\.$# in path /home/runner/work/Notification/Notification/src/Admin/ImportExport.php was not matched in reported errors.
|
PHPStan (8.0):
src/Admin/ImportExport.php#L166
Parameter #2 $length of function fread expects int<1, max>, int<0, max>|false given.
|
PHPStan (8.0):
src/Database/NotificationDatabaseService.php#L296
Cannot access offset mixed on mixed.
|
PHPStan (8.0):
src/Database/NotificationDatabaseService.php#L316
Cannot access offset mixed on mixed.
|
PHPStan (8.0)
The operation was canceled.
|
PHPStan (7.4)
The job was canceled because "_8_2" failed.
|
PHPStan (7.4):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (7.4):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (7.4):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (7.4):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (7.4):
compat/src-deprecated/helpers.php#L26
Unknown PHP error:
|
PHPStan (7.4):
src/Admin/ImportExport.php#L1
Ignored error pattern #^Parameter \#2 \$length of function fread expects int\<0, max\>, int\<0, max\>\|false given\.$# in path /home/runner/work/Notification/Notification/src/Admin/ImportExport.php was not matched in reported errors.
|
PHPStan (7.4):
src/Admin/ImportExport.php#L166
Parameter #2 $length of function fread expects int<1, max>, int<0, max>|false given.
|
PHPStan (7.4):
src/Database/NotificationDatabaseService.php#L296
Cannot access offset mixed on mixed.
|
PHPStan (7.4):
src/Database/NotificationDatabaseService.php#L316
Cannot access offset mixed on mixed.
|
PHPStan (7.4)
The operation was canceled.
|
PHPStan (8.3)
The job was canceled because "_8_2" failed.
|
PHPStan (8.3)
The operation was canceled.
|
CSS Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
CSS Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
JS Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
JS Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Lint (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Lint (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Lint (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Lint (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Lint (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Lint (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Lint (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Lint (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Coding Standards (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Coding Standards (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Coding Standards (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Coding Standards (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Coding Standards (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Coding Standards (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Coding Standards (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Coding Standards (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Lint (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Lint (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Coding Standards (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Coding Standards (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPUnit (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPUnit (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPUnit (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPUnit (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPUnit (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|