Skip to content

Commit 130618b

Browse files
committed
Test with only largest arity
1 parent 43222b5 commit 130618b

4 files changed

+9
-23
lines changed

Zend/zend_builtin_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function method_exists($object_or_class, string $method): bool {}
7272
function property_exists($object_or_class, string $property): bool {}
7373

7474
/**
75-
* @frameless-function {"arity": 1}
75+
* frameless-function {"arity": 1}
7676
* @frameless-function {"arity": 2}
7777
*/
7878
function class_exists(string $class, bool $autoload = true): bool {}

Zend/zend_builtin_functions_arginfo.h

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/standard/basic_functions.stub.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ function array_walk_recursive(array|object &$array, callable $callback, mixed $a
16241624

16251625
/**
16261626
* @compile-time-eval
1627-
* @frameless-function {"arity": 2}
1627+
* frameless-function {"arity": 2}
16281628
* @frameless-function {"arity": 3}
16291629
*/
16301630
function in_array(mixed $needle, array $haystack, bool $strict = false): bool {}
@@ -2359,7 +2359,7 @@ function basename(string $path, string $suffix = ""): string {}
23592359

23602360
/**
23612361
* @refcount 1
2362-
* @frameless-function {"arity": 1}
2362+
* frameless-function {"arity": 1}
23632363
* @frameless-function {"arity": 2}
23642364
*/
23652365
function dirname(string $path, int $levels = 1): string {}
@@ -2379,7 +2379,7 @@ function stristr(string $haystack, string $needle, bool $before_needle = false):
23792379
/**
23802380
* @compile-time-eval
23812381
* @refcount 1
2382-
* @frameless-function {"arity": 2}
2382+
* frameless-function {"arity": 2}
23832383
* @frameless-function {"arity": 3}
23842384
*/
23852385
function strstr(string $haystack, string $needle, bool $before_needle = false): string|false {}
@@ -2389,7 +2389,7 @@ function strchr(string $haystack, string $needle, bool $before_needle = false):
23892389

23902390
/**
23912391
* @compile-time-eval
2392-
* @frameless-function {"arity": 2}
2392+
* frameless-function {"arity": 2}
23932393
* @frameless-function {"arity": 3}
23942394
*/
23952395
function strpos(string $haystack, string $needle, int $offset = 0): int|false {}
@@ -2432,7 +2432,7 @@ function chunk_split(string $string, int $length = 76, string $separator = "\r\n
24322432

24332433
/**
24342434
* @compile-time-eval
2435-
* @frameless-function {"arity": 2}
2435+
* frameless-function {"arity": 2}
24362436
* @frameless-function {"arity": 3}
24372437
*/
24382438
function substr(string $string, int $offset, ?int $length = null): string {}
@@ -2472,7 +2472,7 @@ function ucwords(string $string, string $separators = " \t\r\n\f\v"): string {}
24722472

24732473
/**
24742474
* @compile-time-eval
2475-
* @frameless-function {"arity": 2}
2475+
* frameless-function {"arity": 2}
24762476
* @frameless-function {"arity": 3}
24772477
*/
24782478
function strtr(string $string, string|array $from, ?string $to = null): string {}

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)