Commit Graph

30 Commits

Author SHA1 Message Date
SignpostMarv
1b4b4c0f16
phpunit 9 was released
https://mobile.twitter.com/s_bergmann/status/1225698301208432642
2020-02-07 10:19:25 +00:00
Bruce Weirdan
e0f6ed03ff
Bumped weirdan/codeception-psalm-module
This is needed to prevent installation of muglug/package-versions-56
2019-11-17 04:51:11 +02:00
Bruce Weirdan
17dfe19487
Dropped support for Psalm <3.6.2
It's not feasible to support variable order of union types in acceptance
tests.
2019-11-17 04:35:50 +02:00
Bruce Weirdan
4f64be0b64
Bumped Psalm version
This fixes the problem with provider usage data being cached
See vimeo/psalm#1879
2019-06-30 19:02:03 +03:00
Matthew Brown
d2e2c43aa1
Allow installation with Psalm ^3.3 2019-06-12 08:33:50 -04:00
Brown
93b6617829 Split checks out into separate functions 2019-05-20 13:53:52 -04:00
Matthew Brown
82ef477f17
Use Ocramius' package versions 2019-05-16 18:01:19 -04:00
Matthew Brown
f3138fbbc6
Bump min Psalm version to support registering method usage 2019-04-27 16:17:56 -04:00
Bruce Weirdan
62d7bcffa4
Bump psalm version due to missing functionality
Breaking change: plugin now requires psalm 3.0.13+ (TIterable was made
generic in that version)
2019-02-20 00:03:06 +02:00
Bruce Weirdan
8732175020
Implemented provider type checks
- Invalid providers (should be iterable with array elements)
- Providers returning fewer arguments then test requires
- Providers returning datasets that are incompatible with test
signatures

refs psalm/phpunit-psalm-plugin#13
2019-02-19 22:58:56 +02:00
Bruce Weirdan
d9277bb993
Bumped Psalm version to 3.0.10
Breaking change: minimum psalm version is now 3.0.10 (due to the hook
interface added in that version)

Also fixed test to be compatible with legacy PHPUnit
2019-02-18 18:16:13 +02:00
Bruce Weirdan
91ab7883bf
Update to weirdan/codeception-psalm-module 0.2.1 2019-02-18 16:19:30 +02:00
Bruce Weirdan
f5ddd1dffb
Suppress missing constructor for TestCase descendants
When there are any initializers (`setUp` or `@before`) it's quite likely
properties were initialized there. As a followup development, we may
later implement more fine-grained checks to see what actually been
initialized in those methods.
2019-02-17 08:28:22 +02:00
Bruce Weirdan
8b77d0c231
Bump Psalm version (because of false positives) 2019-02-14 14:03:11 +02:00
Bruce Weirdan
6a2552a210
Bump PHPunit version
The stubs we're providing are for namespace version of PHPUnit classes,
and those are only available since PHPUnit 6.0
2019-02-14 13:45:18 +02:00
Bruce Weirdan
6fedf0633c
depend on stable version of codeception module 2019-02-14 07:01:11 +02:00
Bruce Weirdan
2f2ff0374f
Added PHPUnit 7.5 assertions 2019-02-11 05:31:13 +02:00
Bruce Weirdan
2d8f6443d5
install, then update
This appears to be a problem with composer update (solver)
2019-02-09 09:57:59 +02:00
Bruce Weirdan
6e0f0643d6
Added test infrastructure
- Added Codeception scaffolding
- Added travis config
- Added example test
2019-02-09 09:20:40 +02:00
Bruce Weirdan
1284e51d3c
bumped squizlabs/php_codesniffer to prevent continue 2 errors 2019-02-09 09:15:24 +02:00
Bruce Weirdan
18ffce8944
fixed composer check
- Dropped `tests` folder references (tests are not there)
- Dropped `@test` reference from `composer check` (phpunit is not
depended on, tests are absent)
- Ignored `stubs` folder (cannot really be checked by psalm) in
`psalm.xml`
2018-12-09 00:24:35 +02:00
Matthew Brown
41be62b689
Allow Psalm plugin to be run with dev-master 2018-12-08 11:53:51 -05:00
Matthew Brown
ff427489f0
Add back Psalm requirement 2018-11-18 22:18:42 -05:00
Matthew Brown
1128beac05
Remove Psalm dev-master requirement for now 2018-11-18 17:38:10 -05:00
Matthew Brown
2f45e217e5
Allow dev-master Psalm 2018-11-18 17:36:14 -05:00
Matthew Brown
a00e2cc33a
Add 3.x requirement for Psalm 2018-11-18 17:33:06 -05:00
Matthew Brown
a6b3d75319
Change composer name 2018-11-14 11:01:45 -05:00
Matthew Brown
6b646d042b Improve PHPUnit reqs 2018-11-14 09:33:39 -05:00
Matthew Brown
b49f07b34b Put asserts in proper place 2018-11-14 09:23:26 -05:00
Matthew Brown
fa76f65209 Add starter files for PHPUnit Plugin 2018-11-14 00:36:33 -05:00