Commit 6261fd9b authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Remove useless lines

- Update sonarqube properties to exclude directories
parent bf86323b
Pipeline #260 passed with stage
in 48 seconds
......@@ -199,7 +199,6 @@ class Paginator {
// Gets the top range
$top = $this->getTotalPages() - $this->getCurrent();
if($top <= $this->prev_next) {
$top = $top;
$top_range = $this->getCurrent() + $top;
} else {
$top = $this->prev_next;
......@@ -209,7 +208,6 @@ class Paginator {
// Gets the bottom range
$bottom = $this->getCurrent() - 1;
if($bottom <= $this->prev_next) {
$bottom = $bottom;
$bottom_range = $this->getCurrent() - $bottom;
} else {
$bottom = $this->prev_next;
......
......@@ -8,7 +8,7 @@ sonar.projectName=phptodo
# Path to source directories (required)
sonar.sources=.
#sonar.exclusions=src/old_tests/*,src/sandbox/*,setup.py,data/*,requires/*
sonar.exclusions=doc/selenium/*,css/smoothness/*
# Sonar CPD
sonar.leak.period=previous_version
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment