owncloud / QA

:collision: public test plans for owncloud components and apps
GNU Affero General Public License v3.0
14 stars 17 forks source link

phpstan 0.12 in all repos #642

Closed phil-davis closed 4 years ago

phil-davis commented 4 years ago

phpstan is at various versions in different core and app repos.

The new phpstan gives this tip: https://drone.owncloud.com/owncloud/files_lifecycle/1104/2/5

One or more properties in your code do not have a phpDoc with a type
but it could be inferred from the constructor to find more bugs.
Use inferPrivatePropertyTypeFromConstructor: true in your ./phpstan.neon to try it out!
phil-davis commented 4 years ago

This is the list of apps to check: (some do not have any phpstan set up, so ignore those and delete from the list)

phil-davis commented 4 years ago

Note: the version of phpstan has been updated to 0.12 in all vendor-bin/phpstan/composer.json

phpstan is only running in some repos, where it was already running or was easy to get passing. It was not the purpose of this issue to actually get it running and passing in every repo.