// Skip the verbose output if the group is quiet and not failing according to its threshold:
if('legacy' !== $group && !$configuration->verboseOutput($group) && $configuration->toleratesForGroup($group, $this->deprecationGroups)){ continue; } $notices = $this->deprecationGroups[$group]->notices(); uasort($notices, $cmp);
publicfunctiontestItAllowsAddingANoticeWithoutClutteringTheMemory() { // this is useful for notices in the legacy group
$group = newDeprecationGroup(); $group->addNotice(); $this->assertSame(1, $group->count()); } }