Skip to content

Commit af1f71a

Browse files
committed
[CI] Run PHPStan with highest dependencies
1 parent b3470ca commit af1f71a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ jobs:
3737

3838
- name: Install dependencies
3939
uses: ramsey/composer-install@v3
40+
with:
41+
dependency-versions: highest
4042
env:
41-
SYMFONY_REQUIRE: ^7
43+
SYMFONY_REQUIRE: ^8
4244

4345
- name: Install PHPUnit dependencies
4446
run: vendor/bin/simple-phpunit --version

phpstan.neon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ parameters:
2525
- '#Call to an undefined method DOMNode::getTagName\(\)\.#'
2626
- '#Return type \(void\) of method Symfony\\Component\\Panther\\DomCrawler\\Crawler::clear\(\) should be compatible with return type \(Facebook\\WebDriver\\WebDriverElement\) of method Facebook\\WebDriver\\WebDriverElement::clear\(\)#'
2727
- '#Return type \(ArrayIterator<int, Facebook\\WebDriver\\WebDriverElement>\) of method Symfony\\Component\\Panther\\DomCrawler\\Crawler::getIterator\(\) should be compatible with return type \(ArrayIterator<int, DOMNode>\) of method Symfony\\Component\\DomCrawler\\Crawler::getIterator\(\)#'
28-
# PHPStan runs with lowest dependencies
29-
- '#Attribute class PHPUnit\\Framework\\Attributes\\DataProvider does not exist\.#'

0 commit comments

Comments
 (0)