Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 6a912d4

Browse files
committed
Make TestAsset naming convention clearer
1 parent a28a075 commit 6a912d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/HydratorDeprecationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testPassingHydratorExtendingStdlibAbstractHydratorToTypehintedMe
2626

2727
public function testDeprecatedHydratorInterfaceIsAcceptedByMethodsTypehintedWithNewInterface()
2828
{
29-
$hydratorInjected = new TestAsset\HydratorInjectedObjectUsingDeprecatedInterfaceHydrator();
29+
$hydratorInjected = new TestAsset\HydratorInjectedObjectUsingDeprecatedInterfaceTypehint();
3030
$hydrator = new TestAsset\DeprecatedInterfaceHydrator();
3131
set_error_handler(function ($errno, $errstr) {
3232
$this->fail('Catchable fatal error was triggered: ' . $errstr);

test/TestAsset/HydratorInjectedObjectUsingDeprecatedInterfaceHydrator.php renamed to test/TestAsset/HydratorInjectedObjectUsingDeprecatedInterfaceTypehint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* This test asset exists to see how deprecation works; it is associated with
1414
* the test ZendTest\Stdlib\HydratorDeprecationTest.
1515
*/
16-
class HydratorInjectedObjectUsingDeprecatedInterfaceHydrator
16+
class HydratorInjectedObjectUsingDeprecatedInterfaceTypehint
1717
{
1818
public $hydrator;
1919

0 commit comments

Comments
 (0)