Commit Graph

50 Commits

Author SHA1 Message Date
Adrien Crivelli 969c00a1f4
Remove unnecessary suggestions
Fixes #367
2018-02-09 22:24:26 +09:00
Adrien Crivelli 13a10e40a7
Update license name to satisfy composer 2018-02-01 22:02:32 +09:00
Adrien Crivelli c96e2dae02
Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
Adrien Crivelli 782b4e4fae
Upgrade chart rendering support to be composer based
This allow to get rid of manual class loading and have simpler
usage of the library.
2017-10-29 01:58:42 +09:00
Adrien Crivelli dc9f4327b6
Declare all dependencies with the help of composer-require-checker 2017-10-28 23:22:50 +09:00
KacerCZ 069c665e56 Use stable release of mPDF 7.0 (#256) 2017-10-20 17:44:44 +09:00
Adrien Crivelli 79ab852bf5
Expose PDF writer to be used directly
We used to have some kind of wrapper that didn't do much except
forward methods to the real instance. That unnecessary complexity
made it harder to work with the real writer instance.
2017-10-14 14:57:44 +09:00
Adrien Crivelli 13265581a9
PHP-CS-Fixer should stay as a dev dependency
Closes #236
Closes #237
2017-10-02 20:25:08 +09:00
Adrien Crivelli d3e769202a
Dependencies compatible with PHP 5.6 2017-10-01 21:01:56 +09:00
Adrien Crivelli 50a0ec58af
Merge all examples together
Closes #17
2017-10-01 17:48:59 +09:00
Adrien Crivelli 360db8dbcd
Upgrade to mPDF 7.0+
Closes #144
2017-09-29 11:17:08 +09:00
Adrien Crivelli 66adc4697d
Introduce `composer check` to check the entire project before pushing 2017-09-11 13:55:25 +09:00
Adrien Crivelli fd9c925a7b
Refactor CachedObjectStorage to PSR-16
This drop a lot of non-core features code and delegate their maintainance
to third parties. Also it open the door to any missing implementation
out of the box, such as Redis for the moment.

Finally this consistently enforce a constraint where there can be one and
only one active cell at any point in time in code. This used to be true for
non-default implementation of cache, but it was not true for default
implementation where all cells were kept in-memory and thus were never
detached from their worksheet and thus were all kept functionnal at any
point in time.

This inconsistency of behavior between in-memory and off-memory could
lead to bugs when changing cache system if the end-user code was badly
written. Now end-user will never be able to write buggy code in the first
place, avoiding future headache when introducing caching.

Closes #3
2017-04-14 16:56:27 +09:00
Adrien Crivelli ea5663bc00
Drop support for PclZip
Over the years PclZip became a maintenance problem. It's code base
is old and the official project seems to have died out. ZipArchive
is now more commonly available and offer an easier and more complete
API. So PclZip was dropped in order to focus our efforts on what matters.

Closes #18
2017-03-11 11:48:46 +09:00
ankitm123 5df662e1a3
PHP 7.1 compatibility
Closes #96
Closes #101
Closes #102
2017-02-25 16:35:37 +09:00
Adrien Crivelli 9e835676a6
Update dev dependencies 2017-01-23 16:02:59 +09:00
Adrien Crivelli 682b1b8cb2
Drop PHP 5.5 support
According to our policy to support PHP version 6 months after their
end of life, it is time to drop PHP 5.5.
2017-01-23 11:44:16 +09:00
Adrien Crivelli 035281f04c
Basic test covering of all PDF writers
Third party PDF libraries must now be installed via composer and naturally
via composer autoloading mechanism. Because of that it is not necessary
to specify their path on disk. The usage is simplified and it allows us
to include them in our unit tests.

This also means that from now on PhpSpreadsheet must use composer autoloader
mechanism. The internal autoloading implementation was dropped.
2017-01-22 00:49:44 +09:00
Adrien Crivelli 8c66afe39a
Upgrade to PHP-CS-Fixer 2.0 2016-12-22 23:46:26 +09:00
Elan Ruusamäe 9ceedaf528 Update composer.json
fill description for recommend tags. the value is not dependency, but informational text:
https://getcomposer.org/doc/04-schema.md#suggest
2016-10-24 19:58:00 +09:00
MarkBaker fb2edfdacf Merge branch 'develop' of https://github.com/PHPOffice/PhpSpreadsheet into develop
# Conflicts:
#	src/Autoloader.php
2016-08-31 21:58:08 +01:00
MarkBaker fae27a6d63 As iconv is now enabled by default in PHP, make it a requirement, and modify strig functions to use it where appropriate 2016-08-31 21:52:42 +01:00
Adrien Crivelli 47cde0dadc
Introduce vendor prefix `PhpOffice` to namespace 2016-09-01 02:20:47 +09:00
Adrien Crivelli 29bdbd4e0b
Respect PSR-0 with matching folder name and namespace `PhpSpreadsheetTests` 2016-08-25 13:53:15 +09:00
Adrien Crivelli ba70544846
Fix crash when reading HTML files 2016-08-25 11:14:03 +09:00
Adrien Crivelli 09d456e477
Introduce PHP-CS-Fixer for stricter code style rules
PHP-CS-Fixer allow to check different things than phpcs and it allows
code to be more consistent. Configuration can be changed in `.php_cs`
2016-08-17 00:33:57 +09:00
Adrien Crivelli 539a89a918
Rename namespace `PHPExcel` to `PhpSpreadsheet`
This also fix a few bugs that were introduced when migrating to
namespace. Some non-namespaces classes were leftover

FIX #15
2016-08-16 23:24:47 +09:00
Adrien Crivelli 00657c906e
Reorganize unit tests
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace
which is autoloaded via composer mechanism. So there is no need for
`require()` anymore.

Also, tests were moved in `tests/` folder and phpunit should be executed from
the project root folder. This is to conform to the de facto standard, notably
in use in phpunit itself.
2016-08-14 02:29:33 +09:00
MarkBaker 0ffd678c65 Composer reference changes 2016-08-13 11:43:52 +01:00
Gabriel Machado a2ac7e626d Update composer.json
Missing comma :)

This package will replace PHPExcel ?
2016-07-14 18:02:23 -03:00
MarkBaker 32250cd974 Updated composer for minimum PHP version 5.5 2016-06-19 18:26:38 +01:00
MarkBaker f8bc12740d Fix reference for gd in composer 2016-02-09 15:27:42 +00:00
MarkBaker 0025318d7e Minor tweaks 2015-12-06 16:08:37 +00:00
MarkBaker f7e772dee4 Fix suggest in composer 2015-09-14 23:33:37 +01:00
MarkBaker f6c99e0a25 Fix composer 2015-09-14 23:17:41 +01:00
MarkBaker 6a70df474d Composer update 2015-09-14 22:52:57 +01:00
MarkBaker d9cbaa3090 Add pclzip to composer 2015-07-08 22:21:29 +01:00
MarkBaker 99ac714a56 Additional suggestions for composer file 2015-05-26 23:49:37 +01:00
MarkBaker d88bcab34c Fix namespace for composer psr-4 autoloader 2015-05-26 23:30:36 +01:00
MarkBaker 4ac2d1930e Updates to travis and composer files for new folder structure 2015-05-26 21:24:14 +01:00
MarkBaker 665a1c1edb Update composer dependency on PHP 5.4 minimum, and include unit testing dependencies for dev 2015-05-24 14:41:25 +01:00
Progi1984 61b5fa0beb Validation PSR-2 : Tabs to spaces 2015-05-12 11:22:06 +02:00
Progi1984 986b20bbb1 Travis CI : Support for PSR-2 test 2015-05-12 08:02:56 +02:00
Navarr Barnier dde17c4e1d Add ext-xmlwriter as a Composer requirement
XMLWriter is surprisingly a different extension from xml; and so is not installed on some systems (such as Gentoo).  This commit enforces it to be installed, since it's necessary for the functionality of PHPExcel.
2014-01-03 16:59:32 -05:00
Progi1984 f3b0d4284c IMPROVED : Composer 2012-12-18 14:57:13 +01:00
Progi1984 75b9dfd100 IMPROVED : Composer 2012-12-18 00:46:03 +01:00
Mark Baker 6bc4199675 Various tweaks and fixes 2012-11-24 22:48:44 +00:00
Mark Baker 058b254902 composer name must be all lowercase 2012-11-23 19:39:23 +00:00
Mark Baker f7be6c7c31 Set composer name 2012-11-23 19:34:54 +00:00
Mark Baker 153240759a Initial composer file - let's hope I've got this thing right 2012-11-23 19:28:44 +00:00