Skip to content

Parse the fbp and fbc cookies the way Meta writes them today #115

Parse the fbp and fbc cookies the way Meta writes them today

Parse the fbp and fbc cookies the way Meta writes them today #115

Triggered via pull request September 7, 2026 12:15
Status Success
Total duration 55s
Artifacts

build.yaml

on: pull_request
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation tests
Matrix: Static Code Analysis
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

37 warnings
Unit tests (8.4, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.2, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.3, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.4, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.1, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.2, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.4, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.2, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.1, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.1, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.4, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.1, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.1, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Coding Standards (8.1, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.3, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.3, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Code Coverage (8.3, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit tests (8.1, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.3, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.4, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.2, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.4, lowest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.3, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Code Analysis (8.2, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.2, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Dependency Analysis (8.3, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Mutation tests (8.3, highest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Mutation tests (8.3, highest): src/ValueObject/Fb.php#L103
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ public function getCreationTimeAsDateTime(): \DateTimeImmutable { $dateTime = \DateTimeImmutable::createFromFormat('U.v', (string) ($this->creationTime / 1000)); - Assert::notFalse($dateTime); + return $dateTime; } public function getAppendix(): ?string
Mutation tests (8.3, highest): src/ValueObject/Fb.php#L92
Escaped Mutant for Mutator "IncrementInteger": @@ @@ Assert::integer($creationTime); Assert::greaterThanEq($creationTime, 1075590000000); // Facebooks founding date xD - Assert::lessThanEq($creationTime, (time() + 1) * 1000); + Assert::lessThanEq($creationTime, (time() + 2) * 1000); $obj = clone $this; $obj->creationTime = $creationTime; return $obj;
Mutation tests (8.3, highest): src/ValueObject/Fb.php#L42
Escaped Mutant for Mutator "RoundingFamily": @@ @@ private ?string $appendix = null; public function __construct() { - $this->creationTime = (int) ceil(microtime(true) * 1000); + $this->creationTime = (int) round(microtime(true) * 1000); } /** * @throws \InvalidArgumentException if the $value is not the correct format
Mutation tests (8.3, highest): src/ValueObject/Fb.php#L42
Escaped Mutant for Mutator "RoundingFamily": @@ @@ private ?string $appendix = null; public function __construct() { - $this->creationTime = (int) ceil(microtime(true) * 1000); + $this->creationTime = (int) floor(microtime(true) * 1000); } /** * @throws \InvalidArgumentException if the $value is not the correct format
Mutation tests (8.3, highest): src/Event/Parameters.php#L96
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ if (is_int($data) || is_float($data) || is_bool($data)) { return $data; } - Assert::isArray($data); + /** @var mixed $datum */ foreach ($data as $key => &$datum) { if ($datum instanceof self) {
Mutation tests (8.3, highest): src/Event/Parameters.php#L80
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $data = (string) $data; } if (is_string($data)) { - Assert::notNull($field); + if (in_array($field, static::getNormalizedFields(), true)) { $data = Normalizer::normalize($field, $data); }
Mutation tests (8.3, highest): src/Event/Parameters.php#L55
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ * * @return list<string> */ - protected static function getHashedFields(): array + private static function getHashedFields(): array { return []; }
Mutation tests (8.3, highest): src/Client/ErrorResponse.php#L74
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ Assert::isArray($data); Assert::keyExists($data, 'error'); $error = $data['error']; - Assert::isArray($error); + if (!isset($error['message'], $error['type'], $error['code'], $error['fbtrace_id'])) { throw ClientException::invalidResponseFormat($json); }
Mutation tests (8.3, highest): src/Client/ErrorResponse.php#L64
Escaped Mutant for Mutator "IncrementInteger": @@ @@ public static function fromJson(string $json): self { try { - $data = json_decode($json, true, 512, \JSON_THROW_ON_ERROR); + $data = json_decode($json, true, 513, \JSON_THROW_ON_ERROR); } catch (\JsonException $e) { throw ClientException::invalidJson($e, $json); }
Mutation tests (8.3, highest): src/Client/ErrorResponse.php#L64
Escaped Mutant for Mutator "DecrementInteger": @@ @@ public static function fromJson(string $json): self { try { - $data = json_decode($json, true, 512, \JSON_THROW_ON_ERROR); + $data = json_decode($json, true, 511, \JSON_THROW_ON_ERROR); } catch (\JsonException $e) { throw ClientException::invalidJson($e, $json); }