Commit Graph

2080 Commits

Author SHA1 Message Date
Adrien Crivelli 0e8bcb63e7
Drop PHP 7.3 and older
This is according to our formal, published, policy to only support
eol PHP after 6 months within PHPOffice organisation.

See https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
2022-09-16 10:17:31 +02:00
Adrien Crivelli 2ee6df65bc
Merge pull request #2272 from seamuslee001/php81_locale
PHP8.1 Fix issue with passing NULL value for locale into string function
2022-09-16 00:16:31 +02:00
Adrien Crivelli 82769b9736
Merge pull request #2209 from RismaSystems/PHP8.1-fixes
PHP 8.1 compatability fix for PreserveText and XMLWriter
2022-09-16 00:14:09 +02:00
Adrien Crivelli 93e16d4001
Merge pull request #2292 from neopheus/php8.1-fix-2290
Php 8.1 fix #2290
2022-09-16 00:12:45 +02:00
Adrien Crivelli f853b9f125
Tolerate small imprecisions 2022-09-15 21:43:36 +02:00
Adrien Crivelli ecee8339c3
Don't use teamcity format in CI
It's much harder to read for human
2022-09-15 19:10:04 +02:00
Adrien Crivelli 301e481fbe
loadConfig returns config that was actually applied 2022-09-15 19:07:28 +02:00
Adrien Crivelli 54415c113b
Fix code style 2022-09-15 17:55:24 +02:00
Adrien Crivelli 26532b5f3f
Test PHP 8.1 2022-09-15 17:45:46 +02:00
Progi1984 7df75b2efe
Merge pull request #2294 from Progi1984/htmlTableBorder
HTML Reader : Use `border` attribute for tables
2022-09-14 18:16:34 +02:00
Progi1984 62584900b5
Merge pull request #2239 from cscrewsandcaptains/develop
PHP 8.1 Support for addPreserveText
2022-09-14 18:12:50 +02:00
Progi1984 a4cdcd6250 HTML Reader : Use `border` attribute for tables 2022-09-14 17:50:54 +02:00
neopheus fa84160f7f str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated" 2022-09-12 13:59:21 +02:00
neopheus 077175efbe Fix : htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
2022-09-12 13:48:13 +02:00
neopheus 83b0bef3a8 Fix #2290 2022-09-12 12:56:45 +02:00
Progi1984 a006aa8780
Merge pull request #2289 from Progi1984/htmlBlockPageBreak
HTML Reader : Style page-break-after in paragraph
2022-09-07 21:14:10 +02:00
Progi1984 2de551647b HTML Reader : Style page-break-after in paragraph 2022-09-06 22:05:33 +02:00
Seamus Lee 2f93873a7c PHP8.1 Fix issue with passing NULL value for locale into string function 2022-07-30 07:28:01 +00:00
Progi1984 4dc34d43d8
Merge pull request #2266 from Progi1984/htmlBlockHeadingInTextRun
HTML Reader : Heading in Text Run is not allowed
2022-07-25 22:07:06 +02:00
Progi1984 945cbd9b93 HTML Reader : Heading in Text Run is not allowed 2022-07-20 14:04:04 +02:00
Christian Stein 91416e48ac
XMLWriter ReturnTypeWillChange fix
add  #[\ReturnTypeWillChange] Attribute to the function writeAttribute (php 8.1 deprecate warning)
2022-06-08 14:22:51 +02:00
Christian Stein fc18246b20
PreserveText preg_split fix
third parameter must be -1 not null (php 8.1 deprecate warning)
2022-06-08 14:14:25 +02:00
Michael Als 6b331603e6 Added return type will change to XMLWriter.php 2022-03-30 12:42:45 +00:00
Michael Als 2bba013311 PHP 8.1 compatability fix for PreserveText 2022-03-29 13:13:45 +00:00
Adrien Crivelli be0190cd5d
0.18.3 2022-02-17 16:40:03 +01:00
Adrien Crivelli 3bcd4b5370
PHP 8.1 compatibility 2022-02-17 16:37:24 +01:00
Adrien Crivelli 01d87e17fb
Merge pull request #2193 from garethellis36/2187-php8.1-deprecation
#2187 Addresses deprecation on PHP 8.1 in ZipArchi
2022-02-17 16:35:57 +01:00
Gareth Ellis c57c292915 #2187 Addresses deprecation on PHP 8.1 in ZipArchi 2022-02-08 12:40:06 +00:00
troosan aca10785cf Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into develop 2021-06-04 22:58:45 +02:00
troosan e37b22bf2b prepare release 18.2.0 2021-06-04 22:58:27 +02:00
troosan 5a5562cd99 Merge branch 'master' of https://github.com/PHPOffice/PHPWord into develop 2021-06-04 22:50:17 +02:00
troosan bb106f9052
Merge pull request #2090 from DShkrabak/DShkrabak-patch-1
Add BorderStyle for Cell Style to documentation
2021-06-04 22:37:26 +02:00
Artem Kolotilkin eec9e975da Added support for Garamond font 2021-06-04 22:29:29 +02:00
DDim 7744ef2234
Add BorderStyle for Cell Style to documentation
Add BorderStyle for Cell Style  to documentation.
2021-06-02 13:52:49 +03:00
troosan d905e764e3
Merge pull request #2063 from tpv-ebben/develop
when adding image to relationship first check that the generated RID is actually unique
2021-05-29 17:58:25 +02:00
troosan 612fefd636
Merge pull request #2087 from MegaChriz/patch-1
Corrected namespace for Language class in docs.
2021-05-29 17:56:41 +02:00
Youri 1e0157f184
Corrected namespace for Language class in docs.
The docs referenced the wrong namespace for the Language class. It said ``PhpOffice\PhpWord\ComplexType\Language``, but there's no Language class in the namespace ``PhpOffice\PhpWord\ComplexType``. I searched in the tests to figure out where the Language class has moved to and found in ``PhpOffice\PhpWord\Writer\Word2007\Part\SettingsTest::testLanguage()`` this had to be ``PhpOffice\PhpWord\Style\Language``.
2021-05-25 15:48:13 +02:00
troosan d6e0a3ebdb
Merge pull request #2070 from PHPOffice/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-05-05 21:01:50 +02:00
dependabot-preview[bot] a9deeb8c25
Upgrade to GitHub-native Dependabot 2021-04-29 21:47:21 +00:00
troosan 7fd0489567 fix checkstyle issues 2021-04-16 23:38:14 +02:00
Ebben Feagan 524c08bafb running composer fix 2021-04-16 15:19:55 -05:00
Ebben Feagan 94b74c27a4 when adding image to relationship list check that the generated relationship id is actually unique 2021-04-16 15:06:37 -05:00
troosan ab7d82274e
Merge pull request #2052 from dfsd534/develop
Update chart, don't write 'c:overlap' if grouping is 'clustered'
2021-04-15 22:23:24 +02:00
troosan fa52c92561
Merge pull request #2041 from joelgo/patch-1
Update Html parser to accept line-height:normal
2021-04-15 22:23:08 +02:00
DE TROOSTEMBERGH Antoine 3a7301c700 try to fix the php-cs-fixer pr annotation 2021-04-15 21:44:37 +02:00
DE TROOSTEMBERGH Antoine 0692a55fa4 checkstyle fixes 2021-04-15 21:19:38 +02:00
DE TROOSTEMBERGH Antoine a4055fb7a0 'normal' line-height means default line height
Add unit test
2021-04-15 21:04:45 +02:00
DE TROOSTEMBERGH Antoine 8efd9ff9da Merge branch 'develop' into develop_tmp 2021-04-14 22:19:05 +02:00
DE TROOSTEMBERGH Antoine d731e9284f fix checkstyle issues 2021-04-14 22:15:58 +02:00
troosan 55defcc892 relax some phpmd rules 2021-04-14 00:16:28 +02:00