Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"durable-workflow/ai": "dev-main",
"durable-workflow/sdk": "^3.11.0",
"durable-workflow/waterline": "^2.0",
"durable-workflow/workflow": "^2.22.0",
"durable-workflow/workflow": "^2.28.1",
"laravel/ai": "^0.6.0",
"laravel/framework": "^13.30",
"laravel/framework": "^13.41.0",
"laravel/mcp": "^0.6.0",
"laravel/tinker": "^3.0"
},
Expand Down
62 changes: 31 additions & 31 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions microservice/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"require": {
"php": "^8.4",
"durable-workflow/sdk": "^3.11.0",
"durable-workflow/workflow": "^2.22.0",
"durable-workflow/workflow": "^2.28.1",
"durable-workflow/waterline": "^2.0",
"laravel/framework": "^12.69",
"laravel/framework": "^12.72.0",
"laravel/tinker": "^2.10.1"
},
"require-dev": {
Expand Down
36 changes: 18 additions & 18 deletions microservice/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion polyglot/qualified-artifact-tuple.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"sdk-rust": "4.12.0",
"server": "3.3.2",
"waterline": "2.13.2",
"workflow": "2.22.0"
"workflow": "2.28.1"
}
}
50 changes: 50 additions & 0 deletions tests/Unit/LaravelSecurityFloorContractTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?php

declare(strict_types=1);

namespace Tests\Unit;

use PHPUnit\Framework\TestCase;

final class LaravelSecurityFloorContractTest extends TestCase
{
// Covers the concurrency and signed-URL advisories published in November 2026.
private const APPLICATION_FLOORS = [
'.' => '13.41.0',
'microservice' => '12.72.0',
];

public function test_application_constraints_exclude_affected_framework_versions(): void
{
foreach (self::APPLICATION_FLOORS as $directory => $floor) {
$composer = $this->readJson($directory.'/composer.json');
$constraint = $composer['require']['laravel/framework'] ?? null;

$this->assertIsString($constraint, $directory);
$this->assertMatchesRegularExpression('/^\^\d+\.\d+\.\d+$/D', $constraint, $directory);
$this->assertTrue(version_compare(substr($constraint, 1), $floor, '>='), $directory);
}
}

public function test_application_locks_exclude_affected_framework_versions(): void
{
foreach (self::APPLICATION_FLOORS as $directory => $floor) {
$lock = $this->readJson($directory.'/composer.lock');
$packages = array_column($lock['packages'], null, 'name');
$version = $packages['laravel/framework']['version'] ?? null;

$this->assertIsString($version, $directory);
$this->assertTrue(version_compare(ltrim($version, 'v'), $floor, '>='), $directory);
}
}

/** @return array<string, mixed> */
private function readJson(string $path): array
{
return json_decode(
(string) file_get_contents(dirname(__DIR__, 2).'/'.$path),
true,
flags: JSON_THROW_ON_ERROR,
);
}
}
Loading