Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit df98c2b

Browse files
committed
Add license headers
1 parent 3d88fc8 commit df98c2b

File tree

4 files changed

+78
-5
lines changed

4 files changed

+78
-5
lines changed

.docheader

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* Copyright %regexp:\d{4}% SURF %regexp:(B.V.|bv)%
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"php": "^7.2.5",
88
"ext-ctype": "*",
99
"ext-iconv": "*",
10+
"ext-json": "*",
11+
"malukenho/docheader": "^0.1.8",
1012
"ramsey/uuid": "^4.0",
1113
"sensio/framework-extra-bundle": "^5.1",
1214
"surfnet/stepup-gssp-bundle": "^3.0",
@@ -26,8 +28,7 @@
2628
"symfony/translation": "4.4.*",
2729
"symfony/twig-pack": "*",
2830
"symfony/webpack-encore-bundle": "^1.7",
29-
"symfony/yaml": "4.4.*",
30-
"ext-json": "*"
31+
"symfony/yaml": "4.4.*"
3132
},
3233
"require-dev": {
3334
"ext-json": "*",
@@ -81,7 +82,8 @@
8182
"@deptrac",
8283
"@test",
8384
"@security",
84-
"@jest"
85+
"@jest",
86+
"@license-headers"
8587
],
8688
"security": "./support/qa/security",
8789
"phplint": "./support/qa/phplint",
@@ -92,7 +94,8 @@
9294
"deptrac": "./support/qa/deptrac",
9395
"test": "./support/qa/phpunit",
9496
"jest": "yarn jest",
95-
"eslint": "yarn lint"
97+
"eslint": "yarn lint",
98+
"license-headers": "vendor/bin/docheader check src/"
9699
},
97100
"conflict": {
98101
"symfony/symfony": "*"

composer.lock

Lines changed: 53 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

symfony.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
"ibuildings/qa-pack": {
3636
"version": "v1.8"
3737
},
38+
"malukenho/docheader": {
39+
"version": "0.1.8"
40+
},
3841
"monolog/monolog": {
3942
"version": "2.0.2"
4043
},

0 commit comments

Comments
 (0)