Skip to content

Expand String functions #271

Expand String functions

Expand String functions #271

Triggered via pull request May 29, 2026 11:27
@TheSyscallTheSyscall
synchronize #77
str-isempty
Status Success
Total duration 25s
Artifacts

php.yml

on: pull_request
Matrix: PHP / Lint
Matrix: PHP / Static analysis
Matrix: PHP / Test
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 12 warnings
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L272
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L247
Parameter #1 $callback of function array_map expects (callable(mixed): mixed)|null, 'strtolower' given.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L246
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L215
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L173
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L42
Method ipl\Stdlib\Filter::match() has parameter $row with no value type specified in iterable type array.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Filter.php#L0
Ignored error pattern #^Dead catch \- Throwable is never thrown in the try block\.$# in path /home/runner/work/ipl-stdlib/ipl-stdlib/src/Filter.php was not matched in reported errors.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Events.php#L11
Trait ipl\Stdlib\Events is used zero times and is not analysed.
PHP / Static analysis (8.2) / PHPStan 8.2: src/EventEmitter.php#L10
Trait ipl\Stdlib\EventEmitter is used zero times and is not analysed.
PHP / Static analysis (8.2) / PHPStan 8.2: src/BaseFilter.php#L10
Trait ipl\Stdlib\BaseFilter is used zero times and is not analysed.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L272
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L247
Parameter #1 $callback of function array_map expects (callable(mixed): mixed)|null, 'strtolower' given.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L246
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L215
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L173
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L42
Method ipl\Stdlib\Filter::match() has parameter $row with no value type specified in iterable type array.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Filter.php#L0
Ignored error pattern #^Dead catch \- Throwable is never thrown in the try block\.$# in path /home/runner/work/ipl-stdlib/ipl-stdlib/src/Filter.php was not matched in reported errors.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Events.php#L11
Trait ipl\Stdlib\Events is used zero times and is not analysed.
PHP / Static analysis (8.3) / PHPStan 8.3: src/EventEmitter.php#L10
Trait ipl\Stdlib\EventEmitter is used zero times and is not analysed.
PHP / Static analysis (8.3) / PHPStan 8.3: src/BaseFilter.php#L10
Trait ipl\Stdlib\BaseFilter is used zero times and is not analysed.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L272
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L247
Parameter #1 $callback of function array_map expects (callable(mixed): mixed)|null, 'strtolower' given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L246
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L215
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L173
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L42
Method ipl\Stdlib\Filter::match() has parameter $row with no value type specified in iterable type array.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Filter.php#L0
Ignored error pattern #^Dead catch \- Throwable is never thrown in the try block\.$# in path /home/runner/work/ipl-stdlib/ipl-stdlib/src/Filter.php was not matched in reported errors.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Events.php#L11
Trait ipl\Stdlib\Events is used zero times and is not analysed.
PHP / Static analysis (8.5) / PHPStan 8.5: src/EventEmitter.php#L10
Trait ipl\Stdlib\EventEmitter is used zero times and is not analysed.
PHP / Static analysis (8.5) / PHPStan 8.5: src/BaseFilter.php#L10
Trait ipl\Stdlib\BaseFilter is used zero times and is not analysed.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L272
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L247
Parameter #1 $callback of function array_map expects (callable(mixed): mixed)|null, 'strtolower' given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L246
PHPDoc tag `@var` with type array<string>|string is not subtype of native type array|lowercase-string|null.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L215
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L173
Parameter #1 $column of method ipl\Stdlib\Filter::extractValue() expects string, array<string>|string given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L42
Method ipl\Stdlib\Filter::match() has parameter $row with no value type specified in iterable type array.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Filter.php#L0
Ignored error pattern #^Dead catch \- Throwable is never thrown in the try block\.$# in path /home/runner/work/ipl-stdlib/ipl-stdlib/src/Filter.php was not matched in reported errors.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Events.php#L11
Trait ipl\Stdlib\Events is used zero times and is not analysed.
PHP / Static analysis (8.4) / PHPStan 8.4: src/EventEmitter.php#L10
Trait ipl\Stdlib\EventEmitter is used zero times and is not analysed.
PHP / Static analysis (8.4) / PHPStan 8.4: src/BaseFilter.php#L10
Trait ipl\Stdlib\BaseFilter is used zero times and is not analysed.
PHP / Test (8.4) / PHPUnit 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Static analysis (8.2) / PHPStan 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Test (8.5) / PHPUnit 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Test (8.3) / PHPUnit 8.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Lint (8.5) / Linters 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Lint (8.3) / Linters 8.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Lint (8.4) / Linters 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Lint (8.2) / Linters 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Test (8.2) / PHPUnit 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Static analysis (8.3) / PHPStan 8.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Static analysis (8.5) / PHPStan 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP / Static analysis (8.4) / PHPStan 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/