Skip to content

Assignment in Condition#576

Merged
geekwright merged 2 commits into
XOOPS:masterfrom
mambax7:feature/assignment_in_condition
Mar 19, 2018
Merged

Assignment in Condition#576
geekwright merged 2 commits into
XOOPS:masterfrom
mambax7:feature/assignment_in_condition

Conversation

@mambax7

@mambax7 mambax7 commented Mar 16, 2018

Copy link
Copy Markdown
Contributor

No description provided.

$oldToNew = array();
while ($arrCat = $xoopsDB->fetchArray($resultCat)) {
while (false !== ($arrCat = $xoopsDB->fetchArray($resultCat))) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All new or changed lines in each commit are now being checked for compliance to PSR-2 during the travis-ci run. This empty line after the changed while statement is being flagged, and needs to be removed to pass:

FILE: htdocs/modules/publisher/admin/import/news.php
 122 | ERROR | [x] Blank line found at start of control structure

@geekwright geekwright merged commit 213960f into XOOPS:master Mar 19, 2018
@geekwright

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants