@@ -16,7 +16,7 @@ abstract class DispatchableDeserializerTest extends PHPUnit_Framework_TestCase {
1616 /**
1717 * @return DispatchableDeserializer
1818 */
19- protected abstract function buildDeserializer ();
19+ abstract protected function buildDeserializer ();
2020
2121 public function testImplementsDispatchableDeserializerInterface () {
2222 $ this ->assertInstanceOf ( DispatchableDeserializer::class, $ this ->buildDeserializer () );
@@ -32,7 +32,7 @@ public function testIsDeserializerForReturnsTrue( $deserializable ) {
3232 /**
3333 * @return array[] things that are deserialized by the deserializer
3434 */
35- public abstract function deserializableProvider ();
35+ abstract public function deserializableProvider ();
3636
3737 /**
3838 * @dataProvider nonDeserializableProvider
@@ -54,7 +54,7 @@ public function testDeserializeThrowsDeserializationException( $nonDeserializabl
5454 /**
5555 * @return array[] things that aren't deserialized by the deserializer
5656 */
57- public abstract function nonDeserializableProvider ();
57+ abstract public function nonDeserializableProvider ();
5858
5959 /**
6060 * @dataProvider deserializationProvider
@@ -66,6 +66,6 @@ public function testDeserialization( $object, $serialization ) {
6666 /**
6767 * @return array[] an array of array( object deserialized, serialization )
6868 */
69- public abstract function deserializationProvider ();
69+ abstract public function deserializationProvider ();
7070
7171}
0 commit comments