- Issue created by @ptmkenny
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch type_parameters to hidden.
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch type_all_the_things to hidden.
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch type_parameters to active.
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch type_parameters to hidden.
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch type_parameters to active.
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch type_parameters to hidden.
- π―π΅Japan ptmkenny
ptmkenny β changed the visibility of the branch parameter_types to hidden.
- π―π΅Japan ptmkenny
Wow, what a mess. For some reason, GitLab didn't show my latest commit in the original branch. Then subsequent branches created on that branch said "branch does not exist" when trying to make an MR. So I created a new branch through the UI and cherry-picked my commits onto that.
- π―π΅Japan ptmkenny
It seems GitLab is not running tests on new MRs at the moment. I'll come back to this later when things are up and running again.
- π¬π§United Kingdom alexpott πͺπΊπ
Let's bump the PHPStan level to 6 in the 3.2.x branch and add generic ignores for any array shape stuff to the phpstan.neon file.
- π―π΅Japan ptmkenny
@alexpott Ok, I'll go ahead and type the params, returns, and then update phpstan to level 6.
- π¬π§United Kingdom alexpott πͺπΊπ
@ptmkenny if you bump it to 6 then gitlab ci will give you a nice list of things to fix :)
- π¬π§United Kingdom alexpott πͺπΊπ
If you have field_encrypt installed in modules/field_encrypt then you can edit the phpstan.neon file and then run
../../vendor/bin/phpstan analyse --debug --autoload-file=../../vendor/autoload.php ./
to run PHPStan locally. - π―π΅Japan ptmkenny
@alexpott Thanks! I have a local setup for phpstan; I want to get the unit tests green again and then I'll start working on phpstan.
- π―π΅Japan ptmkenny
All tests are passing, so I'm moving this to "Needs review."
- π¬π§United Kingdom alexpott πͺπΊπ
Changed some small things:
- Moved to an assert instead of an instanceof check as we'd want it to break if $event->getConfig() did not return what we expect.
- Changed the hook return type back to undefined as this is a super tricky hook that is only interested if you return a FALSE.
-
alexpott β
committed 6a4a2686 on 3.2.x authored by
ptmkenny β
Issue #3476890 by ptmkenny, alexpott: Add types to all parameters and...
-
alexpott β
committed 6a4a2686 on 3.2.x authored by
ptmkenny β
Automatically closed - issue fixed for 2 weeks with no activity.