Skip to content

[PoC] Add deprecation plugin for phpstan #4861

[PoC] Add deprecation plugin for phpstan

[PoC] Add deprecation plugin for phpstan #4861

Triggered via pull request July 21, 2023 09:14
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: pull_request
code-style
24s
code-style
unused-language-term-check
1m 0s
unused-language-term-check
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
phpstan (ubuntu-latest, 8.2): core/classes/Core/URL.php#L113
Right side of && is always true.
phpstan (ubuntu-latest, 8.2): core/classes/Core/Util.php#L118
Call to deprecated method getSetting() of class Util: Use Settings::get() instead. Will be removed in 2.2.0
phpstan (ubuntu-latest, 8.2): core/classes/Core/Util.php#L137
Call to deprecated method setSetting() of class Util: Use Settings::set() instead. Will be removed in 2.2.0
phpstan (ubuntu-latest, 8.2): core/classes/Core/Util.php#L140
Call to deprecated method setSetting() of class Util: Use Settings::set() instead. Will be removed in 2.2.0
phpstan (ubuntu-latest, 8.2): core/classes/Events/EventHandler.php#L146
Right side of && is always true.
phpstan (ubuntu-latest, 8.2): core/classes/Minecraft/MCQuery.php#L51
Offset 1 on non-empty-array<int, string> in empty() always exists and is not falsy.
phpstan (ubuntu-latest, 8.2): core/classes/Minecraft/MCQuery.php#L51
Result of && is always false.
phpstan (ubuntu-latest, 8.2): core/classes/Templates/TemplateBase.php#L187
Right side of && is always true.
phpstan (ubuntu-latest, 8.2): core/init.php#L25
Right side of && is always true.
phpstan (ubuntu-latest, 8.2): core/init.php#L26
Right side of && is always true.
phpstan (ubuntu-latest, 8.1): core/classes/Core/URL.php#L113
Right side of && is always true.
phpstan (ubuntu-latest, 8.1): core/classes/Core/Util.php#L118
Call to deprecated method getSetting() of class Util: Use Settings::get() instead. Will be removed in 2.2.0
phpstan (ubuntu-latest, 8.1): core/classes/Core/Util.php#L137
Call to deprecated method setSetting() of class Util: Use Settings::set() instead. Will be removed in 2.2.0
phpstan (ubuntu-latest, 8.1): core/classes/Core/Util.php#L140
Call to deprecated method setSetting() of class Util: Use Settings::set() instead. Will be removed in 2.2.0
phpstan (ubuntu-latest, 8.1): core/classes/Events/EventHandler.php#L146
Right side of && is always true.
phpstan (ubuntu-latest, 8.1): core/classes/Minecraft/MCQuery.php#L51
Offset 1 on non-empty-array<int, string> in empty() always exists and is not falsy.
phpstan (ubuntu-latest, 8.1): core/classes/Minecraft/MCQuery.php#L51
Result of && is always false.
phpstan (ubuntu-latest, 8.1): core/classes/Templates/TemplateBase.php#L187
Right side of && is always true.
phpstan (ubuntu-latest, 8.1): core/init.php#L25
Right side of && is always true.
phpstan (ubuntu-latest, 8.1): core/init.php#L26
Right side of && is always true.
code-style
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 (ubuntu-latest, 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/
phpstan (ubuntu-latest, 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/
unused-language-term-check
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/