Another pest tip: Create a using() helper to get perfect IDE support on $this calls inside your tests

Another pest tip: Create a using() helper to get perfect IDE support on $this calls inside your tests

Out of the box, @pestphp has amazing IDE support for the expect()->toBe() syntax, but sometimes you need to use $this — usually for things like HTTP calls.