File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
tests/phpunit/tests/Traits Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ protected function is_license_valid_identifier( $license ) {
8383 * @return bool true if the license is GPL compatible, otherwise false.
8484 */
8585 protected function is_license_gpl_compatible ( $ license ) {
86- $ match = preg_match ( '/GPL|GNU|MIT|FreeBSD|New BSD|BSD-3-Clause|BSD 3 Clause|OpenLDAP|Expat|Apache2|MPL20|ISC/im ' , $ license );
86+ $ match = preg_match ( '/GPL|GNU|MIT|FreeBSD|New BSD|BSD-3-Clause|BSD 3 Clause|OpenLDAP|Expat|Apache2|MPL20|ISC|CC0 /im ' , $ license );
8787
8888 return ( false === $ match || 0 === $ match ) ? false : true ;
8989 }
Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ public function data_license_gpl_compatibility() {
112112 array ( 'OpenLDAP ' , true ),
113113 array ( 'Expat ' , true ),
114114 array ( 'ISC ' , true ),
115+ array ( 'CC0 ' , true ),
116+ array ( 'CC0-1.0 ' , true ),
117+ array ( 'CC0 1.0 Universal ' , true ),
115118
116119 array ( 'EPL ' , false ),
117120 array ( 'EUPL ' , false ),
You can’t perform that action at this time.
0 commit comments