Tomáš Votruba
bab88701ea
Add PHPStan and bump to max level ( #139 )
...
* composer: put require- together
* add phpstan
* add phpstan to travis
* phpstan fixes
* phpstan fixes
* phpstan fixes
* drop null defaults since every property is null by default
* DescriptionFactory: fix parse nullable type
* travis: add phpstan max
* travis: fix phpstan config
2017-12-02 19:12:29 +01:00
TomasVotruba
c19b4d170c
[cs] remove value-less docblocks
2017-11-30 10:27:01 +01:00
TomasVotruba
c664d2866d
fix cs
2017-11-30 10:27:01 +01:00
TomasVotruba
7d2174e8f6
use ::class over string
2017-11-30 10:27:01 +01:00
TomasVotruba
f8d4fda4f3
fix cs
2017-11-30 10:27:01 +01:00
TomasVotruba
e9e35284d9
use PHPUnit 6.0 syntax for tests
2017-11-30 10:27:01 +01:00
TomasVotruba
5282c2e9a8
return test code back
2017-11-30 10:27:01 +01:00
TomasVotruba
51122cfa1d
improve comment
2017-11-30 10:27:01 +01:00
TomasVotruba
082c811880
remove unused docblocks
2017-11-30 10:27:01 +01:00
TomasVotruba
4a9675841b
add PHP 7.1 typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
f9d1a0c177
travis + composer: bump to PHP 7.1
2017-11-30 10:27:01 +01:00
TomasVotruba
0bac84ee68
remove unused docblocks
2017-11-30 10:27:01 +01:00
TomasVotruba
154c85b680
remove unused namespaces
2017-11-30 10:27:01 +01:00
TomasVotruba
b2e816c8ad
fix tests
2017-11-30 10:27:01 +01:00
TomasVotruba
5e1bad3628
drop asserts where not needed
2017-11-30 10:27:01 +01:00
TomasVotruba
193731a153
remove tests and validation that are now covered by typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
76b771c23e
examples: apply typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
91c067abe5
update composer.lock
2017-11-30 10:27:01 +01:00
TomasVotruba
a1d8751ad6
tests: add strict_types and typehints, remove tests that are now covered by typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
d874c4d14a
add strict_types and typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
94fd000123
fix cs
2017-11-30 08:14:17 +01:00
TomasVotruba
763f26e8db
fix extra space after tag removal
2017-11-30 08:14:17 +01:00
TomasVotruba
bdcc0cff11
Serializer - add test for tag removal extra spaces
2017-11-30 08:14:17 +01:00
Tomáš Votruba
66465776cf
Example: add missing typehtins
...
This package actually fails on checking itself here
2017-11-27 18:38:31 +01:00
TomasVotruba
1119a97659
drop unused phpmd.xml
2017-11-15 20:01:54 +01:00
TomasVotruba
03f8b85625
use coveralls over scrutinizer
2017-11-15 20:01:54 +01:00
Gabriel Caruso
7524aba21f
Fix tests
2017-11-15 08:29:42 +01:00
Gabriel Caruso
fd1a734d29
Remove composer.lock, and update to PHPUnit 6 and Mockery 1
2017-11-15 08:29:42 +01:00
Gabriel Caruso
c006d4a2d5
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2017-11-15 08:29:42 +01:00
TomasVotruba
03b7048a61
README: improve install and examples
2017-11-12 21:24:40 +01:00
TomasVotruba
8959be6da0
gitignore: add temp
2017-11-12 21:23:54 +01:00
TomasVotruba
0ded2070d1
travis: run cs just once
2017-11-12 21:23:54 +01:00
TomasVotruba
5ff9ca38c5
[cs] finalize, spaces, concat and strict comparison
2017-11-12 21:23:54 +01:00
TomasVotruba
833126e6a3
[cs] ignore irelevant errors
2017-11-12 21:23:54 +01:00
TomasVotruba
a872e515bb
[cs] add and apply psr2
2017-11-12 21:23:54 +01:00
TomasVotruba
0294ce9b70
travis: add tests to cs check
2017-11-12 21:23:54 +01:00
TomasVotruba
44c0ac7d5f
[cs] remove unused imports, short array and order imports on tests
2017-11-12 21:23:54 +01:00
TomasVotruba
6e5fc0c312
[cs] ignore temp code
2017-11-12 21:23:54 +01:00
TomasVotruba
771a21db91
[cs] use short arrays, order imports
2017-11-12 21:23:54 +01:00
TomasVotruba
87c6ecc5f4
init coding style check
2017-11-12 21:23:54 +01:00
TomasVotruba
e223aa704a
travis: add PHP 7.2
2017-11-12 21:23:54 +01:00
TomasVotruba
dad79320b3
fix cs
2017-11-10 23:53:51 +01:00
TomasVotruba
a69e7c5103
travis: drop unused commands
2017-11-10 23:53:51 +01:00
TomasVotruba
c9c580e482
DocBlock: move public method up
2017-11-10 23:53:51 +01:00
TomasVotruba
0cb4b04fa6
add test for removeTag()
2017-11-10 23:53:51 +01:00
TomasVotruba
474fd9e29a
add test for removeTag()
2017-11-10 23:53:51 +01:00
Tomáš Votruba
c62f4592a0
DocBlock: add removeTag() method
2017-11-10 23:53:51 +01:00
Jaapio
14f9edf1ae
Switch to phpdocumentor/reflection-common stable
2017-09-11 20:06:11 +02:00
Jaapio
c5545d1519
Adds sort to order expected keys
...
Without this sort the order of argument name and type matter. But
we accually don't care about the order. Only name and type are allowed
but the order doesn't matter.
2017-09-11 19:56:35 +02:00
Bozhidar Hristov
899b409199
Add tests for phpDocumentor\Reflection\DocBlock::getTags
2017-09-11 19:53:47 +02:00