@@ -74,52 +74,26 @@ final class CodeceptionAdapter implements MemoryUsageAware, TestFrameworkAdapter
74
74
'--fail-fast ' ,
75
75
];
76
76
77
- private string $ testFrameworkExecutable ;
78
- private CommandLineBuilder $ commandLineBuilder ;
79
- private VersionParser $ versionParser ;
80
- private JUnitTestCaseSorter $ jUnitTestCaseSorter ;
81
- private Filesystem $ filesystem ;
82
- private string $ jUnitFilePath ;
83
- private string $ tmpDir ;
84
- private string $ projectDir ;
85
-
86
- /**
87
- * @var array<string, mixed>
88
- */
89
- private array $ originalConfigContentParsed ;
90
-
91
- /**
92
- * @var string[]
93
- */
94
- private array $ srcDirs ;
95
77
private ?string $ cachedVersion = null ;
96
78
97
- /**
98
- * @param array<string, mixed> $originalConfigContentParsed
99
- * @param array<string> $srcDirs
100
- */
101
79
public function __construct (
102
- string $ testFrameworkExecutable ,
103
- CommandLineBuilder $ commandLineBuilder ,
104
- VersionParser $ versionParser ,
105
- JUnitTestCaseSorter $ jUnitTestCaseSorter ,
106
- Filesystem $ filesystem ,
107
- string $ jUnitFilePath ,
108
- string $ tmpDir ,
109
- string $ projectDir ,
110
- array $ originalConfigContentParsed ,
111
- array $ srcDirs
80
+ private string $ testFrameworkExecutable ,
81
+ private CommandLineBuilder $ commandLineBuilder ,
82
+ private VersionParser $ versionParser ,
83
+ private JUnitTestCaseSorter $ jUnitTestCaseSorter ,
84
+ private Filesystem $ filesystem ,
85
+ private string $ jUnitFilePath ,
86
+ private string $ tmpDir ,
87
+ private string $ projectDir ,
88
+ /**
89
+ * @var array<string, mixed>
90
+ */
91
+ private array $ originalConfigContentParsed ,
92
+ /**
93
+ * @var array<string>
94
+ */
95
+ private array $ srcDirs
112
96
) {
113
- $ this ->commandLineBuilder = $ commandLineBuilder ;
114
- $ this ->testFrameworkExecutable = $ testFrameworkExecutable ;
115
- $ this ->versionParser = $ versionParser ;
116
- $ this ->jUnitFilePath = $ jUnitFilePath ;
117
- $ this ->tmpDir = $ tmpDir ;
118
- $ this ->jUnitTestCaseSorter = $ jUnitTestCaseSorter ;
119
- $ this ->filesystem = $ filesystem ;
120
- $ this ->projectDir = $ projectDir ;
121
- $ this ->originalConfigContentParsed = $ originalConfigContentParsed ;
122
- $ this ->srcDirs = $ srcDirs ;
123
97
}
124
98
125
99
public function hasJUnitReport (): bool
0 commit comments