Skip to content

Commit 57b08e8

Browse files
committed
Support maintained PHP versions
- set 8.2 as the minimal version - test on 8.2 - 8.5 range
1 parent 56713f3 commit 57b08e8

5 files changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
php-version:
22-
- '8.1'
22+
- '8.2'
2323

2424
steps:
2525
-
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
php-version:
55-
- '8.1'
55+
- '8.2'
5656

5757
steps:
5858
-
@@ -85,8 +85,10 @@ jobs:
8585
strategy:
8686
matrix:
8787
php-version:
88-
- '8.0'
89-
- '8.1'
88+
- '8.2'
89+
- '8.3'
90+
- '8.4'
91+
- '8.5'
9092

9193
steps:
9294
-

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Amp FS Watch
44
![CI](https://github.com/phpactor/amp-fswatch/workflows/CI/badge.svg)
55

66
This is an [Amp](https://amphp.org/) library for asynchronously monitor paths
7-
on your file system changes using various stategues.
7+
on your file system changes using various stategies.
88

99
It's been created to trigger code indexing in
1010
[Phpactor](https://github.com/phpactor/phpactor).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.0",
13+
"php": "^8.2",
1414
"amphp/amp": "^2.4",
1515
"amphp/process": "^1.1",
1616
"psr/log": "^1.1",

tests/Watcher/Fallback/FallbackWatcherTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ class FallbackWatcherTest extends AsyncTestCase
1616
{
1717
use \Prophecy\PhpUnit\ProphecyTrait;
1818

19-
/**
20-
* @var ObjectProphecy|LoggerInterface
21-
*/
22-
private $logger;
19+
private ObjectProphecy|LoggerInterface $logger;
2320

2421
private ObjectProphecy $watcher1;
2522

tests/Watcher/Watchman/WatchmanWatcherTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ class WatchmanWatcherTest extends WatcherTestCase
1515
use \Prophecy\PhpUnit\ProphecyTrait;
1616
private const PLAN_DELAY = 100;
1717

18-
/**
19-
* @var ObjectProphecy|CommandDetector
20-
*/
21-
private $commandDetector;
18+
private ObjectProphecy|CommandDetector $commandDetector;
2219

2320
public function testIsSupported(): Generator
2421
{

0 commit comments

Comments
 (0)