@@ -38,7 +38,6 @@ final class Configuration
3838 * @param array<string, array{string, string}> $excludedFilesWithContents Array of tuple
3939 * with the first argument being the file path and
4040 * the second its contents
41- * @param bool $tagDeclarationsAsInternal Whether a @internal tag should be added to the symbols declarations.
4241 */
4342 public function __construct (
4443 private ?string $ path ,
@@ -47,8 +46,7 @@ public function __construct(
4746 private array $ filesWithContents ,
4847 private array $ excludedFilesWithContents ,
4948 private Patcher $ patcher ,
50- private SymbolsConfiguration $ symbolsConfiguration ,
51- private bool $ tagDeclarationsAsInternal ,
49+ private SymbolsConfiguration $ symbolsConfiguration
5250 ) {
5351 self ::validatePrefix ($ prefix );
5452
@@ -84,7 +82,6 @@ public function withPrefix(string $prefix): self
8482 $ this ->excludedFilesWithContents ,
8583 $ this ->patcher ,
8684 $ this ->symbolsConfiguration ,
87- $ this ->tagDeclarationsAsInternal ,
8885 );
8986 }
9087
@@ -109,7 +106,6 @@ public function withFilesWithContents(array $filesWithContents): self
109106 $ this ->excludedFilesWithContents ,
110107 $ this ->patcher ,
111108 $ this ->symbolsConfiguration ,
112- $ this ->tagDeclarationsAsInternal ,
113109 );
114110 }
115111
@@ -139,7 +135,6 @@ public function withPatcher(Patcher $patcher): self
139135 $ this ->excludedFilesWithContents ,
140136 $ patcher ,
141137 $ this ->symbolsConfiguration ,
142- $ this ->tagDeclarationsAsInternal ,
143138 );
144139 }
145140
@@ -153,11 +148,6 @@ public function getSymbolsConfiguration(): SymbolsConfiguration
153148 return $ this ->symbolsConfiguration ;
154149 }
155150
156- public function shouldTagDeclarationsAsInternal (): bool
157- {
158- return $ this ->tagDeclarationsAsInternal ;
159- }
160-
161151 private static function validatePrefix (string $ prefix ): void
162152 {
163153 if (1 !== preg_match (self ::PREFIX_PATTERN , $ prefix )) {
0 commit comments