Commit Graph

30 Commits

Author SHA1 Message Date
Bruce Weirdan
854918db89
Ignore support files in Psalm 2019-02-09 09:32:17 +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
e303d00a3f
added travis config 2019-02-09 09:05:05 +02:00
Matthew Brown
65b5b19c95
Remove @template-typeof annotations 2019-01-14 12:17:35 -05:00
Matthew Brown
3e99b8775a
Widen inputs 2019-01-08 14:09:49 -05:00
Bruce Weirdan
0fd0b47765
added missing use 2018-12-10 13:02:12 +02:00
Matthew Brown
059684417f
Merge pull request #4 from weirdan/prophecy-support
Prophecy support
2018-12-08 17:55:26 -05:00
Bruce Weirdan
ef91c747fe
Added Prophecy support 2018-12-09 00:26:47 +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
9db3b253bb
Merge pull request #3 from weirdan/method-signature
Method() signature
2018-12-01 10:02:38 -05:00
Bruce Weirdan
4605575b4d
method() returns InvocationMocker and dropped methods that are not actually present on MockObject 2018-12-01 05:10:20 +02:00
Bruce Weirdan
dfa9f71542
tabs to spaces (as declared by phpcs rules) 2018-12-01 05:09:47 +02:00
Matthew Brown
f24b5d529c
Add a short readme 2018-11-28 00:35:52 -05:00
Matthew Brown
5fd3db0c48 Add support for better mocking 2018-11-25 01:40:30 -05:00
Matthew Brown
0c8386711c Improve mocking support 2018-11-24 18:27:52 -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
b920963c88
Remove assertEquals - too simple for PHPUnit's assertions 2018-11-16 12:56:32 -05:00
Matthew Brown
6a387da8e2
Add message arg 2018-11-16 11:11:43 -05:00
Matthew Brown
340eedabfe
Add assertNotSame and assertNotEquals 2018-11-16 11:05:51 -05:00
Matthew Brown
5c7b479ada
Add assertSame and assertEquals 2018-11-16 10:15:09 -05:00
Matthew Brown
88051affb7
Fix assertTrue/assertFalse 2018-11-14 13:08:56 -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