Graudusk/callurl

View on GitHub
view/anax/v2/ip/index.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 262 characters
Open

        För att validera en ip-adress med mitt API görs ett GET- eller POST-anrop till ip/json. Görs ett GET-anrop måste query string ?ip=[ip-adress] finnas med. T. ex: <a href="<?php echo $url->createRelative("ip/json") ?>?ip=1.1.1.1">ip/json?ip=1.1.1.1</a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 269 characters
Open

        För att hämta geografisk info med mitt API görs ett GET- eller POST-anrop till ip/json. Görs ett GET-anrop måste query string ?ip=[ip-adress] finnas med. T. ex: <a href="<?php echo $url->createRelative("ip/geojson") ?>?ip=1.1.1.1">ip/geojson?ip=1.1.1.1</a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 171 characters
Open

            <a href="<?php echo $url->createRelative("ip/validate") ?>?ip=<?= $request->getServer("REMOTE_ADDR") ?>">Validera <?= $request->getServer("REMOTE_ADDR") ?></a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 185 characters
Open

            <a href="<?php echo $url->createRelative("ip/geojson") ?>?ip=2001:0db8:85a3:08d3:1319:8a2e:0370:7334">Hämta från 2001:0db8:85a3:08d3:1319:8a2e:0370:7334, få JSON-svar</a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 174 characters
Open

            <a href="<?php echo $url->createRelative("ip/geoinfo") ?>?ip=<?= $request->getServer("REMOTE_ADDR") ?>">Hämta från <?= $request->getServer("REMOTE_ADDR") ?></a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 178 characters
Open

            <a href="<?php echo $url->createRelative("ip/json") ?>?ip=2001:0db8:85a3:08d3:1319:8a2e:0370:7334">Validera 2001:0db8:85a3:08d3:1319:8a2e:0370:7334, få JSON-svar</a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 167 characters
Open

            <a href="<?php echo $url->createRelative("ip/validate") ?>?ip=2001:0db8:85a3:08d3:1319:8a2e:0370:7334">Validera 2001:0db8:85a3:08d3:1319:8a2e:0370:7334</a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

Line exceeds 120 characters; contains 170 characters
Open

            <a href="<?php echo $url->createRelative("ip/geoinfo") ?>?ip=2001:0db8:85a3:08d3:1319:8a2e:0370:7334">Hämta från 2001:0db8:85a3:08d3:1319:8a2e:0370:7334</a>
Severity: Minor
Found in view/anax/v2/ip/index.php by phpcodesniffer

There are no issues that match your filters.

Category
Status