Skip to content

Commit 1f37d77

Browse files
authored
Support nesbot/carbon 3
1 parent d15272d commit 1f37d77

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- run: composer normalize
2727

28-
- uses: stefanzweifel/git-auto-commit-action@v4
28+
- uses: stefanzweifel/git-auto-commit-action@v5
2929
with:
3030
commit_message: Normalize composer.json
3131

@@ -47,6 +47,6 @@ jobs:
4747

4848
- run: vendor/bin/php-cs-fixer fix --using-cache=no
4949

50-
- uses: stefanzweifel/git-auto-commit-action@v4
50+
- uses: stefanzweifel/git-auto-commit-action@v5
5151
with:
5252
commit_message: Apply php-cs-fixer changes

.github/workflows/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,5 @@ jobs:
111111

112112
- run: vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml
113113

114+
# Not using v4 due to the breaking changes described in https://github.com/codecov/codecov-action/releases/tag/v4.0.0
114115
- uses: codecov/codecov-action@v3

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/.idea
33
/vendor
44
/composer.lock
5+
/.phpunit.result.cache

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"ext-calendar": "*",
2020
"illuminate/support": "^8.73 || ^9 || ^10 || ^11",
2121
"mll-lab/str_putcsv": "^1",
22-
"nesbot/carbon": "^2.62.1",
22+
"nesbot/carbon": "^2.62.1 || ^3",
2323
"ramsey/uuid": "^3 || ^4",
2424
"thecodingmachine/safe": "^1 || ^2"
2525
},

src/Microplate/FullColumnSection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function __construct(SectionedMicroplate $sectionedMicroplate)
3030
*/
3131
public function addWell($content): void
3232
{
33+
// @phpstan-ignore-next-line Only recognized to be correct with larastan
3334
if ($this->sectionedMicroplate->freeWells()->isEmpty()) {
3435
throw new MicroplateIsFullException();
3536
}

src/Microplate/Section.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class Section extends AbstractSection
1818
*/
1919
public function addWell($content): void
2020
{
21+
// @phpstan-ignore-next-line Only recognized to be correct with larastan
2122
if ($this->sectionedMicroplate->freeWells()->isEmpty()) {
2223
throw new MicroplateIsFullException();
2324
}

0 commit comments

Comments
 (0)