Restore Stringy fast paths and remove mutation-only regressions #77
Annotations
1 error and 18 warnings
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true)
Process completed with exit code 1.
|
|
tests (7.1, basic, ^7.5, phpunit.legacy.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (7.2, basic, ^8.5, phpunit.legacy.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (8.0, basic, ^9.6, phpunit.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (7.4, basic, ^9.6, phpunit.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (8.4, basic, ^9.6, phpunit.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (7.3, basic, ^9.6, phpunit.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (8.1, basic, ^9.6, phpunit.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (8.2, basic, ^9.6, phpunit.xml.dist)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. 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/
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. 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/
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L4625
Escaped Mutant for Mutator "FalseValue":
@@ @@
public function toUpperCase($tryToKeepStringLength = false, $lang = null): self
{
return static::create(
- $this->utf8::strtoupper($this->str, $this->encoding, false, $lang, $tryToKeepStringLength),
+ $this->utf8::strtoupper($this->str, $this->encoding, true, $lang, $tryToKeepStringLength),
$this->encoding
);
}
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L4549
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
if ($tabLength === 4) {
$tab = ' ';
- } elseif ($tabLength === 2) {
+ } elseif ($tabLength === 1) {
$tab = ' ';
} else {
$tab = \str_repeat(' ', $tabLength);
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L4500
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
if ($tabLength === 4) {
$tab = ' ';
- } elseif ($tabLength === 2) {
+ } elseif ($tabLength === 1) {
$tab = ' ';
} else {
$tab = \str_repeat(' ', $tabLength);
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L4352
Escaped Mutant for Mutator "FalseValue":
@@ @@
$this->encoding,
false,
$language,
- false,
+ true,
true,
$word_define_chars
),
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L4195
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
public function substring(int $start, ?int $length = null): self
{
if ($length === null) {
- return $this->substr($start);
+
}
return $this->substr($start, $length);
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L3952
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
return [];
}
- $array = $this->utf8::str_split_pattern($this->str, $pattern, $limit ?? -1);
+ $array = $this->utf8::str_split_pattern($this->str, $pattern, $limit ?? -2);
foreach ($array as &$value) {
$value = static::create($value, $this->encoding);
}
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L1884
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
* @return false|int
* <p>The last occurrence's <strong>index</strong> if found, otherwise <strong>false</strong>.</p>
*/
- public function indexOfLastIgnoreCase(string $needle, int $offset = 0)
+ public function indexOfLastIgnoreCase(string $needle, int $offset = -1)
{
return $this->utf8::strripos(
$this->str,
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L1856
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
* @return false|int
* <p>The last occurrence's <strong>index</strong> if found, otherwise <strong>false</strong>.</p>
*/
- public function indexOfLast(string $needle, int $offset = 0)
+ public function indexOfLast(string $needle, int $offset = -1)
{
return $this->utf8::strrpos(
$this->str,
|
|
tests (8.3, basic, ^9.6, phpunit.xml.dist, true):
src/Stringy.php#L1070
Escaped Mutant for Mutator "FalseValue":
@@ @@
*
* @return static
*/
- public function encode(string $new_encoding, bool $auto_detect_encoding = false): self
+ public function encode(string $new_encoding, bool $auto_detect_encoding = true): self
{
$str = $this->utf8::encode(
$new_encoding,
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
logs_composer-basic_php-8.3
|
7.41 KB |
sha256:5929305a01e6e0eea33ba58a5756a3ce3a0798461d6e1e3bd69aedc2b37a7799
|
|