Skip to content

Commit 244bcb5

Browse files
committed
Update PHPSpreadsheet to 1.29.0
1 parent 676f87e commit 244bcb5

File tree

534 files changed

+19989
-19454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

534 files changed

+19989
-19454
lines changed

README.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
=== CBX PhpSpreadSheet Library ===
2-
Contributors: codeboxr,manchumahara
2+
Contributors: codeboxr,manchumahara, moojomoore
33
Requires at least: 3.5
4-
Tested up to: 6.0.2
5-
Stable tag: 1.0.3
4+
Tested up to: 6.3.1
5+
Stable tag: 1.0.4
66
License: GPLv2 or later
77
License URI: http://www.gnu.org/licenses/gpl-2.0.html
88

@@ -20,7 +20,7 @@ Software requirements
2020

2121
The following software is required to develop using PhpSpreadsheet:
2222

23-
* PHP version 5.6 or newer
23+
* PHP version 7.4 or newer
2424
* PHP extension php_zip enabled
2525
* PHP extension php_xml enabled
2626
* PHP extension php_gd2 enabled (if not compiled in)
@@ -59,6 +59,9 @@ if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_
5959

6060
== Changelog ==
6161

62+
= 1.0.4 =
63+
* Updated the phpspreadsheet package to latest V1.29.0
64+
6265
= 1.0.3 =
6366
* Updated the phpspreadsheet package to latest V1.21.0
6467

cbxphpspreadsheet.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Plugin Name: CBX PhpSpreadSheet Library
1717
* Plugin URI: https://codeboxr.com/php-spreadsheet-library-wordpress-plugin/
1818
* Description: A pure PHP library for reading and writing spreadsheet files https://phpspreadsheet.readthedocs.io/
19-
* Version: 1.0.3
19+
* Version: 1.0.4
2020
* Author: Codeboxr
2121
* Author URI: https://github.com/PHPOffice/PhpSpreadsheet
2222
* License: GPL-2.0+
@@ -31,7 +31,7 @@
3131
}
3232

3333
defined( 'CBXPHPSPREADSHEET_PLUGIN_NAME' ) or define( 'CBXPHPSPREADSHEET_PLUGIN_NAME', 'cbxphpspreadsheet' );
34-
defined( 'CBXPHPSPREADSHEET_PLUGIN_VERSION' ) or define( 'CBXPHPSPREADSHEET_PLUGIN_VERSION', '1.0.3' );
34+
defined( 'CBXPHPSPREADSHEET_PLUGIN_VERSION' ) or define( 'CBXPHPSPREADSHEET_PLUGIN_VERSION', '1.0.4' );
3535
defined( 'CBXPHPSPREADSHEET_BASE_NAME' ) or define( 'CBXPHPSPREADSHEET_BASE_NAME', plugin_basename( __FILE__ ) );
3636
defined( 'CBXPHPSPREADSHEET_ROOT_PATH' ) or define( 'CBXPHPSPREADSHEET_ROOT_PATH', plugin_dir_path( __FILE__ ) );
3737
defined( 'CBXPHPSPREADSHEET_ROOT_URL' ) or define( 'CBXPHPSPREADSHEET_ROOT_URL', plugin_dir_url( __FILE__ ) );
@@ -55,7 +55,7 @@ function __construct() {
5555
*/
5656
public static function activation() {
5757
/*$requirements = array(
58-
'PHP 5.6.0' => version_compare(PHP_VERSION, '5.6.0', '>='),
58+
'PHP 7.4.0' => version_compare(PHP_VERSION, '7.4.0', '>='),
5959
'PHP extension XML' => extension_loaded('xml'),
6060
'PHP extension xmlwriter' => extension_loaded('xmlwriter'),
6161
'PHP extension mbstring' => extension_loaded('mbstring'),
@@ -71,7 +71,7 @@ public static function activation() {
7171
deactivate_plugins(__FILE__);
7272

7373
// Throw an error in the wordpress admin console
74-
$error_message = __('This plugin requires PHP version 5.6 or newer', 'cbxphpspreadsheet');
74+
$error_message = __('This plugin requires PHP version 7.4 or newer', 'cbxphpspreadsheet');
7575
die($error_message);
7676
}
7777

@@ -114,7 +114,7 @@ public static function activation() {
114114
* @return bool
115115
*/
116116
public static function php_version_check(){
117-
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
117+
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
118118
return false;
119119
}
120120

languages/cbxphpspreadsheet.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgstr ""
1616
"X-Loco-Version: 2.2.2; wp-5.2"
1717

1818
#: cbxphpspreadsheet.php:74
19-
msgid "This plugin requires PHP version 5.6 or newer"
19+
msgid "This plugin requires PHP version 7.4 or newer"
2020
msgstr ""
2121

2222
#: cbxphpspreadsheet.php:85

lib/composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"require": {
3-
"phpoffice/phpspreadsheet": "^1.21"
3+
"phpoffice/phpspreadsheet": "^1.29",
4+
"myclabs/php-enum": "^1.8",
5+
"symfony/polyfill-mbstring": "^1.28"
46
}
57
}

0 commit comments

Comments
 (0)