Closed (fixed)
Project:
Coder
Version:
8.x-2.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2017 at 16:35 UTC
Updated:
2 Apr 2017 at 18:19 UTC
Jump to comment: Most recent
Comments
Comment #2
Anonymous (not verified) commentedIn addition there are:
@expectedExceptionMessageRegExp- drupal core has 3 cases@expectedExceptionCode- drupal core hasn't cases, but contrib modules have it (eg. acquia_lift)Comment #3
claudiu.cristeaDocumentation needs update too, when this lands: https://www.drupal.org/docs/8/phpunit
Comment #5
klausiPushed a new sniff.
Comment #6
klausiAssigning credits.
Comment #7
Anonymous (not verified) commentedSuper news!! You saved our issue again!
Only one absolutely nit typo:
$warning = '%s tags should not be used, use $§this->setExpectedException() or $this->expectException() instead';$§→$Comment #9
klausiThanks, fixed that typo.