Skip to content

chore(deps): update dependency scalafmt to v3.8.4 #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.3
version = 3.8.4

preset=default

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object Implicits {
* `.asMaps[K,V](classOf[K], classOf[V])` but returned as Scala collection
* types without `null` values.
*
* See also `asScalaRawMaps[T]` if you don't need `Option`s (for instance
* See also `asScalaRawMaps[T]` if you don't need `Option` s (for instance
* if you are using a DataTableType).
*
* @tparam K
Expand Down Expand Up @@ -104,7 +104,7 @@ object Implicits {
* `.asLists[T](classOf[T])` but returned as Scala collection types without
* `null` values.
*
* See also `asScalaRawLists[T]` if you don't need `Option`s (for instance
* See also `asScalaRawLists[T]` if you don't need `Option` s (for instance
* if you are using a DataTableType).
*
* @tparam T
Expand Down Expand Up @@ -150,7 +150,7 @@ object Implicits {
* of `.asList[T](classOf[T])` but returned as Scala collection types
* without `null` values.
*
* See also `asScalaRawList[T]` if you don't need `Option`s (for instance
* See also `asScalaRawList[T]` if you don't need `Option` s (for instance
* if you are using a DataTableType).
*
* @tparam T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.scala.DefaultScalaModule

/** <p>This trait register a `DefaultDataTableEntryTransformer` using Jackson
* `ObjectMapper`.</p>
* `ObjectMapper`. </p>
*
* <p>The `[empty]` string is used as default empty string replacement. You can
* override it if you need to.</p>
Expand Down
122 changes: 80 additions & 42 deletions cucumber-scala/src/main/scala/io/cucumber/scala/Stepable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,29 @@ trait Stepable[T] {

object Stepable {

implicit def stepable9[T[
_,
_,
_,
_,
_,
_,
_,
_,
_
], X1: Stepable, X2: Stepable, X3: Stepable, X4: Stepable, X5: Stepable, X6: Stepable, X7: Stepable, X8: Stepable, X9: Stepable](
implicit ct: ClassTag[T[X1, X2, X3, X4, X5, X6, X7, X8, X9]]
implicit def stepable9[
T[
_,
_,
_,
_,
_,
_,
_,
_,
_
],
X1: Stepable,
X2: Stepable,
X3: Stepable,
X4: Stepable,
X5: Stepable,
X6: Stepable,
X7: Stepable,
X8: Stepable,
X9: Stepable
](implicit
ct: ClassTag[T[X1, X2, X3, X4, X5, X6, X7, X8, X9]]
): Stepable[T[X1, X2, X3, X4, X5, X6, X7, X8, X9]] =
new Stepable[T[X1, X2, X3, X4, X5, X6, X7, X8, X9]] {
def asJavaType: JavaType =
Expand All @@ -45,17 +56,27 @@ object Stepable {
)
}

implicit def stepable8[T[
_,
_,
_,
_,
_,
_,
_,
_
], X1: Stepable, X2: Stepable, X3: Stepable, X4: Stepable, X5: Stepable, X6: Stepable, X7: Stepable, X8: Stepable](
implicit ct: ClassTag[T[X1, X2, X3, X4, X5, X6, X7, X8]]
implicit def stepable8[
T[
_,
_,
_,
_,
_,
_,
_,
_
],
X1: Stepable,
X2: Stepable,
X3: Stepable,
X4: Stepable,
X5: Stepable,
X6: Stepable,
X7: Stepable,
X8: Stepable
](implicit
ct: ClassTag[T[X1, X2, X3, X4, X5, X6, X7, X8]]
): Stepable[T[X1, X2, X3, X4, X5, X6, X7, X8]] =
new Stepable[T[X1, X2, X3, X4, X5, X6, X7, X8]] {
def asJavaType: JavaType =
Expand All @@ -74,16 +95,25 @@ object Stepable {
)
}

implicit def stepable7[T[
_,
_,
_,
_,
_,
_,
_
], X1: Stepable, X2: Stepable, X3: Stepable, X4: Stepable, X5: Stepable, X6: Stepable, X7: Stepable](
implicit ct: ClassTag[T[X1, X2, X3, X4, X5, X6, X7]]
implicit def stepable7[
T[
_,
_,
_,
_,
_,
_,
_
],
X1: Stepable,
X2: Stepable,
X3: Stepable,
X4: Stepable,
X5: Stepable,
X6: Stepable,
X7: Stepable
](implicit
ct: ClassTag[T[X1, X2, X3, X4, X5, X6, X7]]
): Stepable[T[X1, X2, X3, X4, X5, X6, X7]] =
new Stepable[T[X1, X2, X3, X4, X5, X6, X7]] {
def asJavaType: JavaType =
Expand All @@ -101,15 +131,23 @@ object Stepable {
)
}

implicit def stepable6[T[
_,
_,
_,
_,
_,
_
], X1: Stepable, X2: Stepable, X3: Stepable, X4: Stepable, X5: Stepable, X6: Stepable](
implicit ct: ClassTag[T[X1, X2, X3, X4, X5, X6]]
implicit def stepable6[
T[
_,
_,
_,
_,
_,
_
],
X1: Stepable,
X2: Stepable,
X3: Stepable,
X4: Stepable,
X5: Stepable,
X6: Stepable
](implicit
ct: ClassTag[T[X1, X2, X3, X4, X5, X6]]
): Stepable[T[X1, X2, X3, X4, X5, X6]] =
new Stepable[T[X1, X2, X3, X4, X5, X6]] {
def asJavaType: JavaType =
Expand Down
Loading