for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
require_once 'BaseTester.php';
/** @group Item */
class ItemTest extends BaseTester
{
/** @test */
public function it_gets_items_for_an_by_user_id()
$items = $this->steamClient->item()->GetPlayerItems($this->itemid, $this->id64);
item()
$appId
This check looks for function calls that miss required arguments.
$this->assertCount(1, $items);
$item = $items->first();
first
$items
null|array
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.
$this->checkItemProperties($item);
checkItemProperties()
BaseTester
This check looks for access to methods that are not accessible from the current context.
If you need to make a method accessible to another context you can raise its visibility level in the defining class.
}
This check looks for function calls that miss required arguments.