Skip to content

Conversation

@slawomir-pryczek
Copy link

* PHP7 warnings in DA code
* Additional attributes support
$stats[$key] = $value - $array[$key];
}

if (!isset($array[$key]))
Copy link
Contributor

Choose a reason for hiding this comment

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

extra spaces


# Make sure we're dealing with a real number
$v = $array[$key];
if (!is_float($v) && !is_int($v))
Copy link
Contributor

@fgm fgm Oct 10, 2017

Choose a reason for hiding this comment

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

Better add braces here (PSR-2 § 5)

<span class="left setting help" title="Internal name : evicted_unfetched&#013;Items evicted from LRU that were never touched by get/incr/append/etc">Evicted unfetched</span>
<?php echo (isset($stats['evicted_unfetched'])) ? Library_Data_Analysis::hitResize($stats['evicted_unfetched']) : 'N/A on ' . $stats['version']; ?>
</div>

Copy link
Contributor

Choose a reason for hiding this comment

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

While useful, this block seems unrelated with the security issue. Removing it would make the PR smaller, hence easier to review and merge.

@slawomir-pryczek
Copy link
Author

I have created new pull request, using separated branch... let's use this one pls.

#40

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