tests/restclientTest.php
Showing 10 of 10 total issues
Missing class import via use statement (line '16', column '18'). Open
Open
$s = new restclient();
- Read upRead up
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class restclientTest extends PHPUnit_Framework_TestCase
- Exclude checks
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 12 and the first side effect is on line 11. Open
Open
<?php
- Exclude checks
The class restclientTest is not named in CamelCase. Open
Open
class restclientTest extends PHPUnit_Framework_TestCase{ public function testTrueIsTrue() { $s = new restclient();
- Read upRead up
- Exclude checks
Avoid variables with short names like $s. Configured minimum length is 3. Open
Open
$s = new restclient();
- Read upRead up
- Exclude checks
Function closing brace must go on the next line following the body; found 1 blank lines before brace Open
Open
}
- Exclude checks
No space found after comma in function call Open
Open
$ans = $s->restconnect("127.0.0.1","5000","ansible","default");
- Exclude checks
No space found after comma in function call Open
Open
$ans = $s->restconnect("127.0.0.1","5000","ansible","default");
- Exclude checks
No space found after comma in function call Open
Open
$ans = $s->restconnect("127.0.0.1","5000","ansible","default");
- Exclude checks
Class name "restclientTest" is not in camel caps format Open
Open
class restclientTest extends PHPUnit_Framework_TestCase
- Exclude checks