Open Alkarex opened 3 months ago
Hey @Alkarex, what do you need/suggest is that we make a PR with changes to increase the level of phpstan-third-party.neon and decrease/eliminate the errors after this change is pointed out after increasing the level? If so, I can take this issue to help you.
@yanbrasiliano Help much appreciated 👍🏻 Yes, that sounds correct. The PRs need to be made to the various third-party repositories. For instance, the first one is to be sent to https://github.com/cn-tools/cntools_FreshRssExtensions/tree/master/xExtension-Copy2Clipboard The list of third-party repositories can be found in https://github.com/FreshRSS/Extensions/blob/master/repositories.json
Send pull-requests to the third-party extensions to increase the quality of their code. Start with PHPStan Level 1 by running the command below. Check in this repository for code references.
For instance, fixing the many
Variable $this might not be defined
is as easy as adding a line such as:https://github.com/FreshRSS/Extensions/blob/54fc9718669e4ee8e82338faf6e1f604b7895964/xExtension-YouTube/configure.phtml#L3