Skip to content

Commit 0fcfaf5

Browse files
committed
Fix to test based on constant name change
1 parent 8dabbfc commit 0fcfaf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/InternalFunctionAliasTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use ReflectionFunction;
88
use ReflectionParameter;
99
use Throwable;
10-
use const DivineOmega\CamelCaser\EXCLUDE_DISABLED;
10+
use const DivineOmega\CamelCaser\EXCLUDE_DISABLED_FUNCTIONS;
1111

1212
/**
1313
* Assert that internal functions get a camel cased alias, when applicable.
@@ -58,7 +58,7 @@ function_exists($expected),
5858
public function functionProvider(): array
5959
{
6060
return array_reduce(
61-
get_defined_functions(EXCLUDE_DISABLED)['internal'] ?? [],
61+
get_defined_functions(EXCLUDE_DISABLED_FUNCTIONS)['internal'] ?? [],
6262
function (array $carry, string $function): array {
6363
$alias = self::camelCase($function);
6464

0 commit comments

Comments
 (0)