public function expectNoDeprecationWithIdentifier(string $identifier) : void { $this->doctrineNoDeprecationsExpectations[$identifier] = Deprecation::getTriggeredDeprecations()[$identifier] ?? 0; }