As kint-php/kint support is being removed from devel in an upcoming release I've taken over the abandoned kint module and rewritten it from scratch.
This adds some simple UI configuration, permissions based dump enabling, a devel dumper plugin, and general drupal integrations for performance and visibility.
Reviewers will then examine the project files and provide feedback over the coming days/weeks
Well if you're offering I'll go ahead and ask some questions then:
- drupal/kint is apparently reserved by a defunct submodule of a very old version of devel, forcing the package name to drupal/kint-kint. Is there a way to resolve this?
- Since I implement a plugin for another module phpstan needs a bit of help to find it.
mglaman/phpstan-drupal doesn't work locally since drupal core is in vendor. I can use scanDirectories to get phpstan working locally, but then it breaks in CI. How do I handle this so I can use it both locally and in CI without changes?
Project link
https://www.drupal.org/project/kint
Comments
Comment #2
vishal.kadamThank you for applying!
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
The important notes are the following.
phpcs --standard=Drupal,DrupalPracticeon the project, which alone fixes most of what reviewers would report.To the reviewers
Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.
The important notes are the following.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.
Comment #3
vishal.kadamComment #4
vishal.kadam1. FILE: src/Plugin/Devel/Dumper/DevelDumper.php
The documentation comment for constructors is not mandatory anymore, If it is given, the description must be Constructs a new [class name] object. where [class name] includes the class namespace.
2. FILE: kint.links.menu.yml
Remove commented code.
Comment #5
jnvsor commentedThe 2 mentioned issues are now fixed on the 2.x branch. I've also raised the phpstan level to max, so the refactors from that may have resulted in some new issues cropping up.
Notably phpstan ignored @inheritdoc but phpcs required all parameters to be present once you add a single @param so I had to copy paste a bunch of core docblocks.
Comment #6
vishal.kadamFILE: README.md
The README file is missing the required sections, including Requirements, and Installation.
Comment #7
jnvsor commentedReadme updated, hook_help implemented
Comment #8
vishal.kadamwip-testis a wrong name for a branch. Release branch names always end with the literal .x as described in Release branches. The only exception is for the main branch, which is actually not fully supported on drupal.org and should be avoided.Comment #9
jnvsor commentedThat's because it's not a release branch. It's there so I can do a CI check before pushing to 2.x without having to make a PR every time. Or is there a rule that only release branches are allowed in drupal repos?
Comment #10
vishal.kadamNo, there is no restriction that limits Drupal repositories to only having release branches.
Comment #11
vishal.kadamRest seems fine to me.
Let’s wait for other reviewers and Code Review Administrator to take a look and if everything goes fine, you will get the role.
Comment #12
avpadernoThank you for your contribution and for your patience with the review process!
I am going to update your account so you can opt into security advisory coverage any project you create, including the projects you already created.
These are some recommended readings to help you with maintainership:
You can find more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved!
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank the dedicated reviewers as well.
Comment #13
avpaderno