Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Godshell
phpTodo
Commits
6261fd9b
Commit
6261fd9b
authored
Sep 09, 2018
by
Jason Frisvold
Browse files
- Remove useless lines
- Update sonarqube properties to exclude directories
parent
bf86323b
Pipeline
#260
passed with stage
in 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libs/paginator.php
View file @
6261fd9b
...
...
@@ -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
;
...
...
sonar-project.properties
View file @
6261fd9b
...
...
@@ -8,7 +8,7 @@ sonar.projectName=phptodo
# Path to source directories (required)
sonar.sources
=
.
#
sonar.exclusions=
src/old_tests/*,src/sandbox/*,setup.py,data/*,require
s/*
sonar.exclusions
=
doc/selenium/*,css/smoothnes
s/*
# Sonar CPD
sonar.leak.period
=
previous_version
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment