@@ -166,6 +166,13 @@ class Configuration
166166 */
167167 protected $ hiddenHash = false ;
168168
169+ /**
170+ * Hidden author.
171+ *
172+ * @var bool
173+ */
174+ protected $ hiddenAuthor = true ;
175+
169176 /**
170177 * Tag suffix.
171178 *
@@ -315,6 +322,7 @@ public function fromArray(array $array)
315322 'skipVerify ' => $ this ->skipVerify (),
316323 'disableLinks ' => $ this ->isDisableLinks (),
317324 'hiddenHash ' => $ this ->isHiddenHash (),
325+ 'hiddenAuthor ' => $ this ->isHiddenAuthor (),
318326 'hiddenMentions ' => $ this ->isHiddenMentions (),
319327 'hiddenReferences ' => $ this ->isHiddenReferences (),
320328 'prettyScope ' => $ this ->isPrettyScope (),
@@ -382,6 +390,7 @@ public function fromArray(array $array)
382390 ->setDisableLinks ($ params ['disableLinks ' ])
383391 // Hidden
384392 ->setHiddenHash ($ params ['hiddenHash ' ])
393+ ->setHiddenAuthor ($ params ['hiddenAuthor ' ])
385394 ->setHiddenMentions ($ params ['hiddenMentions ' ])
386395 ->setHiddenReferences ($ params ['hiddenReferences ' ])
387396 ->setHiddenVersionSeparator ($ params ['hiddenVersionSeparator ' ])
@@ -767,6 +776,18 @@ public function setHiddenHash(bool $hiddenHash): self
767776 return $ this ;
768777 }
769778
779+ public function isHiddenAuthor (): bool
780+ {
781+ return $ this ->hiddenAuthor ;
782+ }
783+
784+ public function setHiddenAuthor (bool $ hiddenAuthor ): self
785+ {
786+ $ this ->hiddenAuthor = $ hiddenAuthor ;
787+
788+ return $ this ;
789+ }
790+
770791 public function isPrettyScope (): bool
771792 {
772793 return $ this ->prettyScope ;
0 commit comments