From eebe66ca1c7145b336afe05c15473dae20515b33 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Tue, 27 Sep 2022 14:04:00 -0400 Subject: [PATCH] Update deprecated analysis options Replaces deprecated analysis options with their modern equivalents. Part of https://github.com/flutter/flutter/issues/76229 --- analysis_options.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 5f10583a5c1a..34f50180906d 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -23,8 +23,8 @@ analyzer: strong-mode: - implicit-casts: false - implicit-dynamic: false + strict-casts: true + strict-raw-types: true errors: # treat missing required parameters as a warning (not a hint) missing_required_param: warning