-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add Codesniffer to detect unused use-statements #1349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bantu, @DeepDiver1975 and @icewind1991 to be potential reviewers |
|
Should be ready for review, is not yet executed, because a lot of things need fixing atm 🙈 |
| * @license GNU General Public License, version 2 (GPL-2.0) | ||
| * | ||
| * For full copyright and license information, please see | ||
| * the docs/CREDITS.txt file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we adjust this license header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I just c+p the file. But we are thinking about putting it into another project, then we could composer it. Until then I think we should just keep the copright+license, if that is okay @schiessle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at least this line should be changed. Currently it's leading to a non-existing file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes we need the content of that file here then ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's delay until it is split by phpBB into a decent package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2e1a60a to
83e1c88
Compare
83e1c88 to
7714cb1
Compare
|
Awesome stuff @nickvergessen |
|
@nickvergessen Could you have a look at this? Shouldn't be that hard to get this into shape |
|
I will continue this, once it was split into a separate composer package by upstream. |
Any news here? |
|
Still on my todo, will close for now |
(more to come)
ToDo
usestatements:$a instanceof $b;function($u, IU $e, $d, IUser $i){};/* @var IQueryBuilder $qb */Steps