Commit Graph

36 Commits

Author SHA1 Message Date
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