-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #755 from syrusakbary/support-mpl2-license
Added support for MPL-2.0 SPDX license. Fixes #719
- Loading branch information
Showing
6 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
tests/phpunit/testdata/plugins/test-plugin-plugin-readme-mpl1-license-with-errors/load.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Plugin Name: Test Plugin MPL-1.0 (license) with errors | ||
* Plugin URI: https://github.com/WordPress/plugin-check | ||
* Description: Test plugin for the Readme check. | ||
* Requires at least: 6.0 | ||
* Requires PHP: 5.6 | ||
* Version: 1.0.0 | ||
* Author: WordPress Performance Team | ||
* Author URI: https://make.wordpress.org/performance/ | ||
* License: MPL-1.0 | ||
* License URI: https://www.mozilla.org/en-US/MPL/2.0/FAQ/ | ||
* Text Domain: test-plugin-plugin-readme-mpl1-license-with-errors | ||
* | ||
* @package test-plugin-plugin-readme-mpl1-license-with-errors | ||
*/ |
13 changes: 13 additions & 0 deletions
13
tests/phpunit/testdata/plugins/test-plugin-plugin-readme-mpl1-license-with-errors/readme.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
=== Test Plugin with readme and MPL 1.0 license === | ||
|
||
Contributors: plugin-check | ||
Requires at least: 6.0 | ||
Tested up to: 6.7 | ||
Requires PHP: 5.6 | ||
Stable tag: 1.0.0 | ||
License: MPL-1.0 | ||
License URI: https://www.mozilla.org/en-US/MPL/1.0/FAQ/ | ||
Tags: testing, security | ||
|
||
Plugin description. |
16 changes: 16 additions & 0 deletions
16
...s/phpunit/testdata/plugins/test-plugin-plugin-readme-mpl2-license-without-errors/load.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Plugin Name: Test Plugin MPL-2.0 (license) without errors | ||
* Plugin URI: https://github.com/WordPress/plugin-check | ||
* Description: Test plugin for the Readme check. | ||
* Requires at least: 6.0 | ||
* Requires PHP: 5.6 | ||
* Version: 1.0.0 | ||
* Author: WordPress Performance Team | ||
* Author URI: https://make.wordpress.org/performance/ | ||
* License: MPL-2.0 | ||
* License URI: https://www.mozilla.org/en-US/MPL/2.0/FAQ/ | ||
* Text Domain: test-plugin-plugin-readme-mpl2-license-without-errors | ||
* | ||
* @package test-plugin-plugin-readme-mpl2-license-without-errors | ||
*/ |
13 changes: 13 additions & 0 deletions
13
...phpunit/testdata/plugins/test-plugin-plugin-readme-mpl2-license-without-errors/readme.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
=== Test Plugin with readme and MPL 2.0 license === | ||
|
||
Contributors: plugin-check | ||
Requires at least: 6.0 | ||
Tested up to: 6.7 | ||
Requires PHP: 5.6 | ||
Stable tag: 1.0.0 | ||
License: MPL-2.0 | ||
License URI: https://www.mozilla.org/en-US/MPL/2.0/FAQ/ | ||
Tags: testing, security | ||
|
||
Plugin description. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters