Commit Graph

30 Commits

Author SHA1 Message Date
Arkadiusz Kondas
16dc16b0d9
Add phpstan strict rules (#233)
* Add phpstan strict rules

* Fix travis coveralls

* Add phpstan-phpunit strict rules

* Fix eigen decomposition test name and phpstan ingored error
2018-02-16 07:25:24 +01:00
Arkadiusz Kondas
83b1d7c9ac Update coveralls phar 2018-02-14 20:34:53 +01:00
Andreas Möller
8daed2484d Enhancement: Cache dependencies installed with composer on Travis (#215) 2018-01-31 21:50:26 +01:00
Andreas Möller
695a62d75f Fix: Option --dev has been deprecated (#213) 2018-01-31 19:33:57 +01:00
Tomáš Votruba
6660645ecd Update dev dependencies (#187)
* composer: update dev dependencies

* phpstan fixes

* phpstan fixes

* phpstan fixes

* phpstan fixes

* drop probably forgotten humbug configs

* apply cs

* fix cs bug

* compsoer: add coding standard and phsptan dev friendly scripts

* ecs: add skipped errors

* cs: fix PHP 7.1

* fix cs

* ecs: exclude strict fixer that break code

* ecs: cleanup commented sets

* travis: use composer scripts for testing to prevent duplicated setup
2018-01-06 21:25:47 +01:00
Tomáš Votruba
a348111e97 Add PHPStan and level to max (#168)
* tests: update to PHPUnit 6.0 with rector

* fix namespaces on tests

* composer + tests: use standard test namespace naming

* update travis

* resolve conflict

* phpstan lvl 2

* phpstan lvl 3

* phpstan lvl 4

* phpstan lvl 5

* phpstan lvl 6

* phpstan lvl 7

* level max

* resolve conflict

* [cs] clean empty docs

* composer: bump to PHPUnit 6.4

* cleanup

* composer + travis: add phpstan

* phpstan lvl 1

* composer: update dev deps

* phpstan fixes

* update Contributing with new tools

* docs: link fixes, PHP version update

* composer: drop php-cs-fixer, cs already handled by ecs

* ecs: add old set rules

* [cs] apply rest of rules
2018-01-06 13:09:33 +01:00
Tomáš Votruba
726cf4cddf Added EasyCodingStandard + lots of code fixes (#156)
* travis: move coveralls here, decouple from package

* composer: use PSR4

* phpunit: simpler config

* travis: add ecs run

* composer: add ecs dev

* use standard vendor/bin directory for dependency bins, confuses with local bins and require gitignore handling

* ecs: add PSR2

* [cs] PSR2 spacing fixes

* [cs] PSR2 class name fix

* [cs] PHP7 fixes - return semicolon spaces, old rand functions, typehints

* [cs] fix less strict typehints

* fix typehints to make tests pass

* ecs: ignore typehint-less elements

* [cs] standardize arrays

* [cs] standardize docblock, remove unused comments

* [cs] use self where possible

* [cs] sort class elements, from public to private

* [cs] do not use yoda (found less yoda-cases, than non-yoda)

* space

* [cs] do not assign in condition

* [cs] use namespace imports if possible

* [cs] use ::class over strings

* [cs] fix defaults for arrays properties, properties and constants single spacing

* cleanup ecs comments

* [cs] use item per line in multi-items array

* missing line

* misc

* rebase
2017-11-22 22:16:10 +01:00
Arkadiusz Kondas
a11e3f69c3
Add support for coveralls.io (#153)
* Add support for coveralls.io

* Generate coverage report only on php 7.2 build

* Fix osx travis build and move tools to bin dir

* Update php version badge

* Fix travis conditional statement

* Fix travis conditional statement

* 🤦 fix bin path
2017-11-15 11:08:51 +01:00
Tomáš Votruba
653c7c772d Upgrade to PHP 7.1 (#150)
* upgrade to PHP 7.1

* bump travis and composer to PHP 7.1

* fix tests
2017-11-14 21:21:23 +01:00
Tomáš Votruba
331d4b133e travis: add PHP 7.2 (#147) 2017-11-13 16:54:04 +01:00
Arkadiusz Kondas
902d2ddcd9 Add php 7.1 to travis 2016-12-12 19:12:26 +01:00
Arkadiusz Kondas
0213208a96 remove hhvm from travis 2016-07-08 00:03:22 +02:00
Arkadiusz Kondas
6049d953e1 another try with hhvm and travis 2016-07-08 00:00:52 +02:00
Arkadiusz Kondas
3f9617b196 another try with hhvm and travis 2016-07-07 23:57:50 +02:00
Arkadiusz Kondas
baadfc365f comment hhvm in travis 2016-07-07 23:54:03 +02:00
Arkadiusz Kondas
2e417cb39a restart hhvm in travis 2016-07-07 23:50:10 +02:00
Arkadiusz Kondas
3171758418 add php7 to hhvm 2016-07-07 23:42:39 +02:00
Arkadiusz Kondas
adc2d1c81b change hhvm to 3.12 2016-07-07 23:38:11 +02:00
Arkadiusz Kondas
0a612a6031 add hhvm to travis 2016-07-07 22:50:46 +02:00
Arkadiusz Kondas
ddddd739f4 fix path for sh script in travis 2016-07-01 22:07:57 +02:00
Arkadiusz Kondas
43ba6e99fc test build php for osx in travis 2016-07-01 22:05:20 +02:00
Arkadiusz Kondas
2f152b4a34 clean up travis config 2016-06-30 23:49:43 +02:00
Arkadiusz Kondas
bfd97eb463 try with other os in travis 2016-06-30 23:42:45 +02:00
Arkadiusz Kondas
93a28aa762 update travis 2016-06-30 23:33:21 +02:00
Arkadiusz Kondas
be7693ff2e remove osx from travis - dont work with php 7.0 2016-06-30 23:27:17 +02:00
Arkadiusz Kondas
62fc7b9efd fix problem with platform req for travis 2016-06-30 23:16:19 +02:00
Arkadiusz Kondas
44f04498ba add hhvm for travis 2016-06-30 23:03:47 +02:00
Arkadiusz Kondas
dd9727e1ab add osx to travis config 2016-06-30 22:55:48 +02:00
Arkadiusz Kondas
9c83401e90 fix travis build 2016-04-10 11:56:11 +02:00
Arkadiusz Kondas
3453b229cf add travis config 2016-04-10 11:50:24 +02:00