File tree Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,3 @@ parameters:
3
3
paths :
4
4
- src
5
5
- tests
6
- ignoreErrors :
7
- - ' #type has no value type specified in iterable type #'
8
- - ' #has parameter .* with no value type specified in iterable type #'
9
- - ' #has no value type specified in iterable type array #'
10
- - '#configureOptions\ (\ ) has no return type specified. #'
11
- - '#configure\ (\ ) has no return type specified #'
12
- - '#process\ (\ ) has no return type specified #'
13
- - ' #should return Iterator but returns Traversable #'
14
- - ' #Negated boolean expression is always false #'
15
- checkGenericClassInNonGenericObjectType : false
16
- reportUnmatchedIgnoredErrors : false
17
- inferPrivatePropertyTypeFromConstructor : true
18
- treatPhpDocTypesAsCertain : false
Original file line number Diff line number Diff line change 16
16
use CleverAge \ProcessBundle \Model \AbstractConfigurableTask ;
17
17
use CleverAge \ProcessBundle \Model \IterableTaskInterface ;
18
18
use CleverAge \ProcessBundle \Model \ProcessState ;
19
- use League \Flysystem \Filesystem ;
20
19
use League \Flysystem \FilesystemException ;
21
20
use League \Flysystem \FilesystemOperator ;
22
21
use Symfony \Component \DependencyInjection \ServiceLocator ;
@@ -32,6 +31,9 @@ class FileFetchTask extends AbstractConfigurableTask implements IterableTaskInte
32
31
33
32
protected FilesystemOperator $ destinationFS ;
34
33
34
+ /**
35
+ * @var array<int, string>
36
+ */
35
37
protected array $ matchingFiles = [];
36
38
37
39
/**
Original file line number Diff line number Diff line change 26
26
*/
27
27
class ListContentTask extends AbstractConfigurableTask implements IterableTaskInterface
28
28
{
29
+ /**
30
+ * @var list<\League\Flysystem\StorageAttributes>|null
31
+ */
29
32
protected ?array $ fsContent = null ;
30
33
31
34
/**
@@ -76,6 +79,8 @@ public function next(ProcessState $state): bool
76
79
}
77
80
78
81
/**
82
+ * @return list<\League\Flysystem\StorageAttributes>
83
+ *
79
84
* @throws FilesystemException
80
85
*/
81
86
protected function getFilteredFilesystemContents (FilesystemOperator $ filesystem , ?string $ pattern = null ): array
You can’t perform that action at this time.
0 commit comments