Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.1) edition

Rule php_unit_ordered_covers

Warning

This rule is deprecated and will be removed on next major version.

You should use phpdoc_order_by_value instead.

Order @covers annotation of PHPUnit tests.

Examples

Example #1

--- Original
+++ New
@@ -1,7 +1,7 @@
 <?php
 /**
+ * @covers Bar
  * @covers Foo
- * @covers Bar
  */
 final class MyTest extends \PHPUnit_Framework_TestCase
 {}
The logo is © 2010-2014 Sensio Labs