Skip to content

Commit d475a3c

Browse files
committed
Add Flysystem V1 and V2 for static analysis symbol discovery
1 parent 866afe6 commit d475a3c

File tree

5 files changed

+24
-1
lines changed

5 files changed

+24
-1
lines changed

.github/workflows/code-quality.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ jobs:
4242

4343
- uses: ramsey/composer-install@v2
4444

45+
- uses: ramsey/composer-install@v2
46+
with:
47+
working-directory: tests/tools/flysystemv1
48+
49+
- uses: ramsey/composer-install@v2
50+
with:
51+
working-directory: tests/tools/flysystemv2
52+
4553
- run: ./vendor/bin/phpstan
4654

4755
psalm:

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/.php-cs-fixer.cache
44
/.phpunit.result.cache
55
/build
6-
/tests/tools/vendor
6+
/tests/tools/**/vendor
7+
/tests/tools/**/composer.lock

phpstan.neon

+4
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ parameters:
1717
tmpDir: build/phpstan/
1818

1919
checkMissingIterableValueType: false
20+
21+
bootstrapFiles:
22+
- tests/tools/flysystemv1/vendor/autoload.php
23+
- tests/tools/flysystemv2/vendor/autoload.php

tests/tools/flysystemv1/composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"league/flysystem": "^1.0"
4+
}
5+
}

tests/tools/flysystemv2/composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"league/flysystem": "^2.0"
4+
}
5+
}

0 commit comments

Comments
 (0)