Skip to content

Instantly share code, notes, and snippets.

View TomasVotruba's full-sized avatar
🎯
Deprecating Legacy

Tomas Votruba TomasVotruba

🎯
Deprecating Legacy
View GitHub Profile
{
"require-dev": {
"rector/rector": "2.0.0-rc2"
}
}
-$this->assertEquals(1500, $product->getPrice());
+$this->assertSame(1500, $product->getPrice());
// Failed asserting that '1500.0' is identical to 1500