Skip to content

Commit c8ecf84

Browse files
authored
Support Laravel 11
1 parent b6b46e4 commit c8ecf84

File tree

5 files changed

+13
-43
lines changed

5 files changed

+13
-43
lines changed

.github/workflows/validate.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,20 @@ jobs:
5858
- ^8.73
5959
- ^9
6060
- ^10
61+
- ^11
6162
exclude:
6263
- php-version: "7.4"
6364
illuminate: ^9
6465
- php-version: "7.4"
6566
illuminate: ^10
67+
- php-version: "7.4"
68+
illuminate: ^11
6669
- php-version: "8.0"
6770
illuminate: ^10
71+
- php-version: "8.0"
72+
illuminate: ^11
73+
- php-version: "8.1"
74+
illuminate: ^11
6875

6976
steps:
7077
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See [GitHub releases](https://github.com/mll-lab/php-utils/releases).
1414
### Added
1515

1616
- Integrate `mll-lab/microplate` and `mll-lab/liquid-handling-robotics`
17+
- Support Laravel 11
1718

1819
## v1.12.0
1920

composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,24 @@
1717
"require": {
1818
"php": "^7.4 || ^8",
1919
"ext-calendar": "*",
20-
"illuminate/support": "^8.73 || ^9 || ^10",
20+
"illuminate/support": "^8.73 || ^9 || ^10 || ^11",
2121
"mll-lab/str_putcsv": "^1",
2222
"nesbot/carbon": "^2.62.1",
23+
"ramsey/uuid": "^3 || ^4",
2324
"thecodingmachine/safe": "^1 || ^2"
2425
},
2526
"require-dev": {
2627
"ergebnis/composer-normalize": "^2",
27-
"illuminate/database": "^8.73 || ^9 || ^10",
2828
"infection/infection": "^0.26 || ^0.27",
2929
"jangregor/phpstan-prophecy": "^1",
3030
"mll-lab/graphql-php-scalars": "^6",
3131
"mll-lab/php-cs-fixer-config": "^5",
32-
"nunomaduro/larastan": "^1 || ^2",
33-
"orchestra/testbench": "^5 || ^6 || ^7 || ^8",
3432
"phpstan/extension-installer": "^1",
3533
"phpstan/phpstan": "^1",
3634
"phpstan/phpstan-deprecation-rules": "^1",
3735
"phpstan/phpstan-phpunit": "^1",
3836
"phpstan/phpstan-strict-rules": "^1",
39-
"phpunit/phpunit": "^9 || ^10",
37+
"phpunit/phpunit": "^9 || ^10 || ^11",
4038
"rector/rector": "^0.17",
4139
"thecodingmachine/phpstan-safe-rule": "^1.2"
4240
},

src/Microplate/AbstractMicroplate.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function ($content, string $key) use ($flowDirection): string {
7070
/** @return Collection<string, null> */
7171
public function freeWells(): Collection
7272
{
73+
// @phpstan-ignore-next-line Only recognized to be correct with larastan
7374
return $this->wells()->filter(
7475
/** @param TWell $content */
7576
static fn ($content): bool => $content === self::EMPTY_WELL
@@ -79,6 +80,7 @@ public function freeWells(): Collection
7980
/** @return Collection<string, TWell> */
8081
public function filledWells(): Collection
8182
{
83+
// @phpstan-ignore-next-line Only recognized to be correct with larastan
8284
return $this->wells()->filter(
8385
/** @param TWell $content */
8486
static fn ($content): bool => $content !== self::EMPTY_WELL

src/Microplate/Casts/Coordinates96Well.php

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)