From 38348d3423087b2c9f1c37d3a4cd30c5621b8561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andr=C3=A9n?= Date: Wed, 16 Oct 2024 16:31:27 +0200 Subject: [PATCH] chore: Deprecate Scalafix module --- akka-http-scalafix/README.md | 2 ++ .../src/main/scala/akka/http/fix/MigrateToServerBuilder.scala | 1 + 2 files changed, 3 insertions(+) diff --git a/akka-http-scalafix/README.md b/akka-http-scalafix/README.md index 3bfdde89065..baba35a1792 100644 --- a/akka-http-scalafix/README.md +++ b/akka-http-scalafix/README.md @@ -1,3 +1,5 @@ +Deprecated since 10.7.0 + The setup of the scalafix module roughly follows the example in https://github.com/scalacenter/scalafix.g8. ## Adding new rules diff --git a/akka-http-scalafix/scalafix-rules/src/main/scala/akka/http/fix/MigrateToServerBuilder.scala b/akka-http-scalafix/scalafix-rules/src/main/scala/akka/http/fix/MigrateToServerBuilder.scala index b6584e907c3..d43bcfdb042 100644 --- a/akka-http-scalafix/scalafix-rules/src/main/scala/akka/http/fix/MigrateToServerBuilder.scala +++ b/akka-http-scalafix/scalafix-rules/src/main/scala/akka/http/fix/MigrateToServerBuilder.scala @@ -10,6 +10,7 @@ import scalafix.v1._ import scala.meta._ import scala.util.Try +@deprecated(since = "10.7.0") class MigrateToServerBuilder extends SemanticRule("MigrateToServerBuilder") { override def fix(implicit doc: SemanticDocument): Patch = {