Skip to content

Commit 165144f

Browse files
committed
run tests on php 8.2 and 8.3
1 parent 94ac596 commit 165144f

File tree

4 files changed

+6
-34
lines changed

4 files changed

+6
-34
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A clear and concise description of what the bug is.
1212

1313
**To Reproduce**
1414
Steps to reproduce the behavior:
15+
1516
1. Go to '...'
1617
2. Click on '....'
1718
3. Scroll down to '....'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
operating-system: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
18-
php-versions: [ '7.4', '8.0', '8.1' ]
18+
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
1919
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
2020
steps:
2121
- name: Checkout

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"require": {
2020
"php": ">=7.4",
2121
"ext-mbstring": "*",
22-
"symfony/finder": "^4.4 || ^5.4"
22+
"symfony/finder": "^4.4 || ^5.4 || ^6.4"
2323
},
2424
"require-dev": {
2525
"ergebnis/composer-normalize": "^2.28",
26-
"friendsofphp/php-cs-fixer": "^3.11",
27-
"phpstan/phpstan": "^1.8",
28-
"phpunit/phpunit": "^9.5"
26+
"friendsofphp/php-cs-fixer": "^3.45",
27+
"phpstan/phpstan": "^1.10",
28+
"phpunit/phpunit": "^9.6"
2929
},
3030
"autoload": {
3131
"psr-4": {

src/Service/ScannerService.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public function __construct()
2828
}
2929

3030
/**
31-
* {@inheritDoc}
32-
*
3331
* @param string[] $excludedNames
3432
*/
3533
public function setExcludeNames(array $excludedNames): self
@@ -40,18 +38,13 @@ public function setExcludeNames(array $excludedNames): self
4038
}
4139

4240
/**
43-
* {@inheritDoc}
44-
*
4541
* @return string[]
4642
*/
4743
public function dryRun(): array
4844
{
4945
return $this->scanner->getPaths();
5046
}
5147

52-
/**
53-
* {@inheritDoc}
54-
*/
5548
public function fix(): void
5649
{
5750
$paths = $this->scanner->getPaths();
@@ -68,19 +61,13 @@ public function fix(): void
6861
}
6962
}
7063

71-
/**
72-
* {@inheritDoc}
73-
*/
7464
public function setDefaultDirectoryMode(int $defaultDirectoryMode): self
7565
{
7666
$this->scanner->setDefaultDirectoryMode($defaultDirectoryMode);
7767

7868
return $this;
7969
}
8070

81-
/**
82-
* {@inheritDoc}
83-
*/
8471
public function setDefaultFileMode(int $defaultFileMode): self
8572
{
8673
$this->scanner->setDefaultFileMode($defaultFileMode);
@@ -89,8 +76,6 @@ public function setDefaultFileMode(int $defaultFileMode): self
8976
}
9077

9178
/**
92-
* {@inheritDoc}
93-
*
9479
* @param int[] $excludedFileModes
9580
*/
9681
public function setExcludedFileModes(array $excludedFileModes): self
@@ -111,8 +96,6 @@ public function setExcludedDirectoryModes(array $excludedDirectoryModes): self
11196
}
11297

11398
/**
114-
* {@inheritDoc}
115-
*
11699
* @param string[] $excludedPaths
117100
*/
118101
public function setExcludedPaths(array $excludedPaths): self
@@ -122,19 +105,13 @@ public function setExcludedPaths(array $excludedPaths): self
122105
return $this;
123106
}
124107

125-
/**
126-
* {@inheritDoc}
127-
*/
128108
public function doIgnoreDirectories(bool $ignoredDirectories = true): self
129109
{
130110
$this->scanner->doExcludeDirectories($ignoredDirectories);
131111

132112
return $this;
133113
}
134114

135-
/**
136-
* {@inheritDoc}
137-
*/
138115
public function doIgnoreFiles(bool $ignoredFiles = true): self
139116
{
140117
$this->scanner->doExcludeFiles($ignoredFiles);
@@ -143,8 +120,6 @@ public function doIgnoreFiles(bool $ignoredFiles = true): self
143120
}
144121

145122
/**
146-
* {@inheritDoc}
147-
*
148123
* @param string[] $directories
149124
*/
150125
public function scan(array $directories): self
@@ -215,8 +190,6 @@ private function setFilteredPaths(Finder $paths): void
215190
}
216191

217192
/**
218-
* {@inheritDoc}
219-
*
220193
* @param string[] $paths
221194
*/
222195
public function setPaths(array $paths): self
@@ -227,8 +200,6 @@ public function setPaths(array $paths): self
227200
}
228201

229202
/**
230-
* {@inheritDoc}
231-
*
232203
* @param string[] $names
233204
*/
234205
public function setNames(array $names): self

0 commit comments

Comments
 (0)