updated libs, fixed warnings

This commit is contained in:
Sergey Penkovsky
2021-04-28 09:30:32 +03:00
parent 8f86662c9b
commit 8a9fb1d55c
9 changed files with 79 additions and 74 deletions

1
analysis_options.yaml Normal file
View File

@@ -0,0 +1 @@
include: package:effective_dart/analysis_options.yaml

View File

@@ -2,6 +2,7 @@ name: example
version: 1.0.0 version: 1.0.0
author: "Sergey Penkovsky <sergey.penkovsky@gmail.com>" author: "Sergey Penkovsky <sergey.penkovsky@gmail.com>"
homepage: localhost homepage: localhost
publish_to: none
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@@ -1,15 +1,15 @@
/** ///
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com> /// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License"); /// Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. /// you may not use this file except in compliance with the License.
* You may obtain a copy of the License at /// You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 /// http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software /// Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, /// distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and /// See the License for the specific language governing permissions and
* limitations under the License. /// limitations under the License.
*/ ///
enum Mode { SIMPLE, INSTANCE, PROVIDER_INSTANCE } enum Mode { SIMPLE, INSTANCE, PROVIDER_INSTANCE }

View File

@@ -1,15 +1,15 @@
/** ///
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com> /// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License"); /// Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. /// you may not use this file except in compliance with the License.
* You may obtain a copy of the License at /// You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 /// http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software /// Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, /// distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and /// See the License for the specific language governing permissions and
* limitations under the License. /// limitations under the License.
*/ ///
library dart_di; library dart_di;

View File

@@ -1,15 +1,16 @@
/** ///
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com> /// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License"); /// Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. /// you may not use this file except in compliance with the License.
* You may obtain a copy of the License at /// You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 /// http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software /// Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, /// distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and /// See the License for the specific language governing permissions and
* limitations under the License. /// limitations under the License.
*/ ///
import 'package:cherrypick/scope.dart'; import 'package:cherrypick/scope.dart';
Scope? _rootScope = null; Scope? _rootScope = null;

View File

@@ -1,15 +1,15 @@
/** ///
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com> /// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License"); /// Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. /// you may not use this file except in compliance with the License.
* You may obtain a copy of the License at /// You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 /// http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software /// Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, /// distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and /// See the License for the specific language governing permissions and
* limitations under the License. /// limitations under the License.
*/ ///
import 'package:cherrypick/scope.dart'; import 'package:cherrypick/scope.dart';

View File

@@ -1,15 +1,15 @@
/** ///
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com> /// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License"); /// Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. /// you may not use this file except in compliance with the License.
* You may obtain a copy of the License at /// You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 /// http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software /// Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, /// distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and /// See the License for the specific language governing permissions and
* limitations under the License. /// limitations under the License.
*/ ///
import 'dart:collection'; import 'dart:collection';

View File

@@ -1,15 +1,15 @@
/** ///
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com> /// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License"); /// Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. /// you may not use this file except in compliance with the License.
* You may obtain a copy of the License at /// You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 /// http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software /// Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, /// distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and /// See the License for the specific language governing permissions and
* limitations under the License. /// limitations under the License.
*/ ///
import 'dart:collection'; import 'dart:collection';

View File

@@ -13,6 +13,8 @@ dependencies:
meta: ^1.3.0 meta: ^1.3.0
dev_dependencies: dev_dependencies:
test: ^1.16.8 effective_dart: ^1.3.1
mockito: ^5.0.3 test: ^1.17.2
mockito: ^5.0.6