7 Commits

Author SHA1 Message Date
Anton Medvedev
387b4c1d51
Update composer dependencies (#2453)
As well rename test dir to tests, as Pest does not support dir without s on the end.
Also, remove PHP requirement from composer.json as we already have check-in bin/dep and it's better to have the check only in one place (now they already out of sync).
2021-03-12 13:56:16 +03:00
Markus Staab
f0aeb8c83a
fix phpstan level 4 warnings (#2252)
* its invalid to combine `void` with another type

see https://github.com/phpstan/phpstan/issues/4014

* added explicit `return null`, to make phpstan happy and the code more obvious.

* increased phpstan level to 5

* fix: '$subject of function preg_match expects string, int given'
2020-11-02 09:19:08 +01:00
Martijn Gastkemper
dc3c024706
Let PHPStan analyze recipe and contrib folder (#2258)
* Let PHPStan analyze recipe and contrib folder

* Update docs
2020-10-31 20:39:55 +01:00
Markus Staab
1de4dbcab0
fix phpstan level 3 warnings (#2236) 2020-10-27 17:09:18 +01:00
Markus Staab
c3bd2968cd
fix phpstan level 2 warnings (#2232)
* fix phpstan level 2 warnings

* Update CHANGELOG.md

* fix warnings

* fix types

* fix return type
2020-10-27 00:28:38 +03:00
Markus Staab
de0813a5f9
fix phpstan level 1 warnings (#2230)
* fix phpstan level 1 warnings

* Update CHANGELOG.md

* composer update
2020-10-26 17:36:53 +01:00
Anton Medvedev
90ae26b5d8 Clean up configs 2020-10-25 09:46:47 +01:00