Skip to content

Commit 9498741

Browse files
committed
MQE-431: Automatically check for copyright at the top of every framework file
- Add copyright to copyright-check
1 parent 34f3319 commit 9498741

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

bin/blacklist.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Specify directories or files for the copyright-check to ignore.
2-
#
3-
# e.g.
4-
# path/to/directory
5-
# path/to/file.php
6-
#
7-
# THIS FILE CANNOT CONTAIN BLANK LINES
8-
#
9-
dev/tests/static/Magento/Sniffs/Annotations
1+
###################################################################
2+
# Specify directories or files for the copyright-check to ignore. #
3+
# #
4+
# THIS FILE CANNOT CONTAIN BLANK LINES #
5+
###################################################################
6+
bin/blacklist.txt
7+
dev/tests/static/Magento/Sniffs/Annotations/Helper.php
8+
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedAttributesSniff.php
9+
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedMethodsSniff.php

bin/copyright-check

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
# Copyright © Magento, Inc. All rights reserved.
4+
# See COPYING.txt for license details.
5+
6+
37
FILE_EXTENSIONS='.php\|.xml\|.xsd'
48
BLACKLIST='bin/blacklist.txt'
59
RESULT=''

0 commit comments

Comments
 (0)