Skip to content

Commit

Permalink
Bump dependencies and Pkl CLI version 🚀 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois authored Jun 13, 2024
1 parent 026b77d commit edf832a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"require": {
"php": ">=8.2",
"psr/simple-cache": "^3.0",
"symfony/console": "^6.3|^7.0",
"symfony/finder": "^6.3|^7.0",
"symfony/process": "^6.3|^7.0"
"symfony/console": "^6.4|^7.0",
"symfony/finder": "^6.4|^7.0",
"symfony/process": "^6.4|^7.0"
},
"config": {
"optimize-autoloader": true,
Expand All @@ -43,9 +43,8 @@
"stan": "vendor/bin/phpstan analyse src tests -l 8"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5.10",
"symfony/var-dumper": "^7.0"
"friendsofphp/php-cs-fixer": "^3.58.1",
"phpstan/phpstan": "^1.11.4",
"phpunit/phpunit": "^10.5.20"
}
}
2 changes: 1 addition & 1 deletion src/Cache/Adapter/ApcuCacheAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct()
/**
* @param non-empty-string $key
*/
public function get(string $key, mixed $default = null): Entry|null
public function get(string $key, mixed $default = null): ?Entry
{
if ($default !== null && !$default instanceof Entry) {
throw new \InvalidArgumentException('Default value must be null or an instance of Entry');
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/Adapter/MemcachedCacheAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(MemcachedServer|array $servers, string $persistentId
/**
* @param non-empty-string $key
*/
public function get(string $key, mixed $default = null): Entry|null
public function get(string $key, mixed $default = null): ?Entry
{
if ($default !== null && !$default instanceof Entry) {
throw new \InvalidArgumentException('Default value must be null or an instance of Entry');
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/PersistentCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(private ?string $cacheFile = null)
*
* @throws \InvalidArgumentException
*/
public function get(string $key, mixed $default = null): Entry|null
public function get(string $key, mixed $default = null): ?Entry
{
$entry = $this->entries[$key] ?? null;
$isHit = $entry !== null;
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/PklDownloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
final class PklDownloader
{
private const PKL_CLI_VERSION = '0.25.2';
private const PKL_CLI_VERSION = '0.25.3';

public function __construct()
{
Expand Down

0 comments on commit edf832a

Please sign in to comment.