summaryrefslogtreecommitdiffstats
path: root/modules/validation
diff options
context:
space:
mode:
Diffstat (limited to 'modules/validation')
-rw-r--r--modules/validation/binding.go3
-rw-r--r--modules/validation/binding_test.go3
-rw-r--r--modules/validation/glob_pattern_test.go3
-rw-r--r--modules/validation/helpers.go3
-rw-r--r--modules/validation/helpers_test.go3
-rw-r--r--modules/validation/refname_test.go3
-rw-r--r--modules/validation/regex_pattern_test.go3
-rw-r--r--modules/validation/validurl_test.go3
8 files changed, 8 insertions, 16 deletions
diff --git a/modules/validation/binding.go b/modules/validation/binding.go
index c054fbe7b6..ef0d01e80f 100644
--- a/modules/validation/binding.go
+++ b/modules/validation/binding.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/binding_test.go b/modules/validation/binding_test.go
index aa8a765524..9ca93784a8 100644
--- a/modules/validation/binding_test.go
+++ b/modules/validation/binding_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/glob_pattern_test.go b/modules/validation/glob_pattern_test.go
index cbaed7e66a..1bf622e61d 100644
--- a/modules/validation/glob_pattern_test.go
+++ b/modules/validation/glob_pattern_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/helpers.go b/modules/validation/helpers.go
index 8e49c7855e..3381846b86 100644
--- a/modules/validation/helpers.go
+++ b/modules/validation/helpers.go
@@ -1,6 +1,5 @@
// Copyright 2018 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/helpers_test.go b/modules/validation/helpers_test.go
index 9bdbdb4a77..52f383f698 100644
--- a/modules/validation/helpers_test.go
+++ b/modules/validation/helpers_test.go
@@ -1,6 +1,5 @@
// Copyright 2018 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/refname_test.go b/modules/validation/refname_test.go
index 2d6458b9b5..3af7387c47 100644
--- a/modules/validation/refname_test.go
+++ b/modules/validation/refname_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/regex_pattern_test.go b/modules/validation/regex_pattern_test.go
index afe1bcf425..efcb276734 100644
--- a/modules/validation/regex_pattern_test.go
+++ b/modules/validation/regex_pattern_test.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation
diff --git a/modules/validation/validurl_test.go b/modules/validation/validurl_test.go
index 3cb6206602..39f7fa5d65 100644
--- a/modules/validation/validurl_test.go
+++ b/modules/validation/validurl_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package validation