Slide 1
Slide 1 text
> como_o_open_source_pode_mudar_sua_vida_pra_melhor();
/**
* @author Junior Grossi
* @where PHP Community Summit 2018
* @when September 15, 2018 9:30 GMT‑3
*/
public function test_how_open_source_can_change_your_life_for_the_better()
{
$lifeBefore = new Life(new Person(''));
$lifeAfter = clone $lifeBefore;
$lifeAfter‑>add(new OpenSource('PHP'));
$this‑>assertTrue($lifeAfter‑>betterThan($lifeBefore));
$this‑>assertGreaterThan(
$lifeAfter‑>numberOfOpportunities(),
$lifeBefore‑>numberOfOpportunities()
);
}