Skip to content

Commit 8cf274c

Browse files
committed
add PHP 8.5 to workflow; upgrade and soothe stan
1 parent 99e028c commit 8cf274c

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
- '8.2'
7979
- '8.3'
8080
- '8.4'
81+
- '8.5'
8182
steps:
8283
- uses: actions/checkout@v4
8384

@@ -97,4 +98,4 @@ jobs:
9798
- name: "Run Unit Tests"
9899
if: always()
99100
run: |
100-
composer test
101+
composer test && composer stan

.gitignore

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"require-dev": {
3737
"pds/skeleton": "~1.0",
3838
"phpunit/phpunit": "~9.0",
39-
"phpstan/phpstan": "^0.12.82"
39+
"phpstan/phpstan": "^1.0"
4040
},
4141
"autoload": {
4242
"psr-4": {

src/Clause/Limit.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function perPage(int $perPage) : static
4040

4141
public function resetLimit() : static
4242
{
43+
/** @var class-string<Component\Limit> $limit*/
4344
$limit = $this->driver->getLimitClass();
4445
$this->limit = new $limit();
4546
return $this;

src/Clause/ModifyColumns.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function hasColumns() : bool
4747
public function resetColumns() : static
4848
{
4949
$type = strrchr(static::CLASS, '\\') . 'Columns';
50+
/** @var class-string<Component\ModifyColumns> $class*/
5051
$class = __NAMESPACE__ . '\\Component' . $type;
5152
$this->columns = new $class($this->bind, $this->driver);
5253
return $this;

src/Insert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function getTable() : string
2727
{
2828
return $this->table;
2929
}
30-
30+
3131
public function getQueryString() : string
3232
{
3333
return $this->with->build()

0 commit comments

Comments
 (0)