Skip to content

lint fixes (commentary)

a8c63d5
Select commit
Loading
Failed to load commit list.
Merged

Feature/dry #173

lint fixes (commentary)
a8c63d5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 21, 2026 in 30s

Annotations

Check warning on line 19 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "highlighted_html" to match the regular expression ^[a-z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MJsci0uDsrj-XBLMQ&open=AZ5MJsci0uDsrj-XBLMQ&pullRequest=173

Check failure on line 141 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MLEmsML5srzvAdef0&open=AZ5MLEmsML5srzvAdef0&pullRequest=173

Check warning on line 265 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$URL" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NLE&open=AZ5MImXue7WO-Amo6NLE&pullRequest=173

Check warning on line 50 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "find_constituency" to match the regular expression ^[a-z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MLEmsML5srzvAdefw&open=AZ5MLEmsML5srzvAdefw&pullRequest=173

Check warning on line 259 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "$searchterm" local variable.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NLH&open=AZ5MImXue7WO-Amo6NLH&pullRequest=173

Check warning on line 36 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "find_comments" to match the regular expression ^[a-z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NK6&open=AZ5MImXue7WO-Amo6NK6&pullRequest=173

Check warning on line 233 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$MOREURL" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NLC&open=AZ5MImXue7WO-Amo6NLC&pullRequest=173

Check warning on line 205 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$URL1" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NLA&open=AZ5MImXue7WO-Amo6NLA&pullRequest=173

Check warning on line 206 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$URL2" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NLB&open=AZ5MImXue7WO-Amo6NLB&pullRequest=173

Check warning on line 104 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$MEMBER" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NK-&open=AZ5MImXue7WO-Amo6NK-&pullRequest=173

Check warning on line 257 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "find_glossary_items" to match the regular expression ^[a-z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MLEmsML5srzvAdefy&open=AZ5MLEmsML5srzvAdefy&pullRequest=173

Check warning on line 141 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "find_members" to match the regular expression ^[a-z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MLEmsML5srzvAdefx&open=AZ5MLEmsML5srzvAdefx&pullRequest=173

Check failure on line 50 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MLEmsML5srzvAdefz&open=AZ5MLEmsML5srzvAdefz&pullRequest=173

Check warning on line 105 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$URL" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NK_&open=AZ5MImXue7WO-Amo6NK_&pullRequest=173

Check warning on line 260 in www/includes/easyparliament/search.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "$GLOSSARY" to match the regular expression ^[a-z_][a-zA-Z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=openaustralia_twfy&issues=AZ5MImXue7WO-Amo6NLD&open=AZ5MImXue7WO-Amo6NLD&pullRequest=173