Skip to content

Commit 1d21347

Browse files
committed
refactor: move CopyLicenseCommand to LicenseCommand
1 parent 7c034fc commit 1d21347

31 files changed

Lines changed: 381 additions & 1290 deletions

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"symfony/var-dumper": "^7.4 || ^8.0",
5858
"symfony/var-exporter": "^7.4 || ^8.0",
5959
"symplify/easy-coding-standard": "^13.0",
60-
"thecodingmachine/safe": "^3.4"
60+
"thecodingmachine/safe": "^3.4",
61+
"twig/twig": "^3.0"
6162
},
6263
"minimum-stability": "stable",
6364
"autoload": {

docs/api/commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ resolution, configuration fallback, PSR-4 lookup, and child-command dispatch.
5252
* - ``FastForward\DevTools\Console\Command\GitIgnoreCommand``
5353
- ``gitignore``
5454
- Merges and synchronizes .gitignore files.
55-
* - ``FastForward\DevTools\Console\Command\CopyLicenseCommand``
55+
* - ``FastForward\DevTools\Console\Command\LicenseCommand``
5656
- ``license``
5757
- Generates a LICENSE file from composer.json license information.

resources/licenses/apache-2.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
END OF TERMS AND CONDITIONS
2626

27-
Copyright {{ year }} {{ organization }}{{ author }}
27+
Copyright {{ year }} {{ copyright_holder }}
2828

2929
Licensed under the Apache License, Version 2.0 (the "License");
3030
you may not use this file except in compliance with the License.

resources/licenses/bsd-2-clause.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) {{ year }} {{ organization }}{{ author }}
3+
Copyright (c) {{ year }} {{ copyright_holder }}
44

55
Redistribution and use in source and binary forms, with or without modification,
66
are permitted provided that the following conditions are met:

resources/licenses/bsd-3-clause.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) {{ year }} {{ organization }}{{ author }}
3+
Copyright (c) {{ year }} {{ copyright_holder }}
44

55
Redistribution and use in source and binary forms, with or without modification,
66
are permitted provided that the following conditions are met:

resources/licenses/gpl-3.0-or-later.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) {{ year }} {{ organization }}{{ author }}
4+
Copyright (C) {{ year }} {{ copyright_holder }}
55

66
This program is free software: you can redistribute it and/or modify
77
it under the terms of the GNU General Public License as published by

resources/licenses/isc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ISC License
22

3-
Copyright (c) {{ year }} {{ organization }}{{ author }}
3+
Copyright (c) {{ year }} {{ copyright_holder }}
44

55
Permission to use, copy, modify, and/or distribute this software for any
66
purpose with or without fee is hereby granted, provided that the above

resources/licenses/lgpl-3.0-or-later.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU LESSER GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) {{ year }} {{ organization }}{{ author }}
4+
Copyright (C) {{ year }} {{ copyright_holder }}
55

66
This program is free software: you can redistribute it and/or modify
77
it under the terms of the GNU Lesser General Public License as published by

resources/licenses/mit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) {{ year }} {{ organization }}{{ author }}
3+
Copyright (c) {{ year }} {{ copyright_holder }}
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

resources/licenses/mpl-2.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,4 @@ this License in Source Code Form:
182182
This License applies to all files in the Source Code Form that contain
183183
modifications made by You.
184184

185-
Copyright {{ year }} {{ organization }}{{ author }}
185+
Copyright {{ year }} {{ copyright_holder }}

0 commit comments

Comments
 (0)