Skip to content

Commit f56ce4a

Browse files
committed
Switch to stable version of pixelmatch-php
1 parent 659fd5c commit f56ce4a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"phpstan/phpstan-phpunit": "^1.0",
3939
"phpunit/phpunit": "^10 | ^11.0",
4040
"spatie/image": "^3.3",
41-
"spatie/pixelmatch-php": "dev-main"
41+
"spatie/pixelmatch-php": "^1.0"
4242
},
4343
"autoload": {
4444
"psr-4": {

src/Functions/BrowsershotFunction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Hammerstone\Sidecar\Architecture;
66
use Hammerstone\Sidecar\LambdaFunction;
77
use Hammerstone\Sidecar\Package;
8+
use Hammerstone\Sidecar\Runtime;
89
use Hammerstone\Sidecar\WarmingConfig;
910
use Illuminate\Support\Str;
1011

@@ -86,7 +87,7 @@ protected function modifiedBrowserJs()
8687
*/
8788
public function runtime()
8889
{
89-
return 'nodejs20.x';
90+
return Runtime::NODEJS_20;
9091
}
9192

9293
/**

0 commit comments

Comments
 (0)