Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Sep 9, 2016

(more to come)

ToDo

  • Unused use statements:
    • Fix instanceof $a instanceof $b;
    • Fix closures function($u, IU $e, $d, IUser $i){};
    • Fix type-comments /* @var IQueryBuilder $qb */

Steps

cd build/codesniffer
composer install
./vendor/bin/phpcs -s -p --extensions=php --standard=nextcloud-unused.xml ../../apps/twofactor_backupcodes/

@nickvergessen nickvergessen added enhancement 1. to develop Accepted and waiting to be taken care of labels Sep 9, 2016
@nickvergessen nickvergessen added this to the Nextcloud 11.0 milestone Sep 9, 2016
@nickvergessen nickvergessen self-assigned this Sep 9, 2016
@mention-bot
Copy link

@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bantu, @DeepDiver1975 and @icewind1991 to be potential reviewers

@nickvergessen
Copy link
Member Author

Should be ready for review, is not yet executed, because a lot of things need fixing atm 🙈

@nickvergessen nickvergessen added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Sep 12, 2016
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member

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

Copy link
Member

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 ;)

Copy link
Member Author

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.

Copy link
Contributor

@bantu bantu Sep 13, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rullzer
Copy link
Member

rullzer commented Sep 13, 2016

Awesome stuff @nickvergessen
Besides the licence thingy 👍

@nickvergessen nickvergessen added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Sep 13, 2016
@MorrisJobke
Copy link
Member

@nickvergessen Could you have a look at this? Shouldn't be that hard to get this into shape

@nickvergessen
Copy link
Member Author

I will continue this, once it was split into a separate composer package by upstream.

@MorrisJobke
Copy link
Member

I will continue this, once it was split into a separate composer package by upstream.

Any news here?

@nickvergessen
Copy link
Member Author

Still on my todo, will close for now

@nickvergessen nickvergessen deleted the codesniffer branch January 5, 2017 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants