Magento-lts: Code reviews welcome

Created on 14 May 2020  路  9Comments  路  Source: OpenMage/magento-lts

Hey

i'm contributing here since years, now i ask for your help. Please do some reviews,

I spent weeks to add doc blocks and annotions to make work easier. These PRs are nearly one year old and still lack of reviews. They are not perfect and can/will be improved ....

I'd like to help with "serious" problems, but I also want to have the code style issues been fixed ....

Thanks!

Code style DOC blocks fixed

All 9 comments

Just one review(s) left, thanks @tmotyl.

Review size ... (progress here #725, moved to #416)

nothing left ... (so far)

Woooha :))

Thanks @colinmollenhour for latest reviews .... with Mage_Eav there is only one "bigger" PR left. Nice progress :+1:

I'm doing what I can, those things are brutal. :) Nice work though, and thanks also to @tmotyl for being first to review them!

Only 17 small one left ... nice :+1:

Thanks @colinmollenhour for merging last ones, thanks for reviews .... I already work on Adminhtml` and it su* .... it is painful.

@sreichel would it be possible to add some static analysis with whitelist for the modules which are fixed now, or is it too early?

@tmotyl yes i can do, but ...

  • even for level 0 or 1 you have to exclude sniffs.(e.g missing parent constructor or properbly undefined vars in set in try/catch-blocks)
  • exclude some files completly where it is not possible to resolve return values (maybe /ignoreMethod option is added in later phpstan release)
  • still use far outdated phpstan 0.8.x ... magento1-extension has to be updated for phpstan 0.12.x. Someone? (there is already _closed_ a PR for v0.12.x)

Can we use fork https://github.com/vianetz/phpstan-magento1/ (which sounds to be compatible) directly or does it require additional changes (then I would go for a fork in openmage)

I'll try it out over the weekend.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Flyingmana picture Flyingmana  路  7Comments

ioweb-gr picture ioweb-gr  路  7Comments

waynetheisinger picture waynetheisinger  路  4Comments

sreichel picture sreichel  路  7Comments

Adel-Magebinary picture Adel-Magebinary  路  3Comments