Commit Graph

251 Commits

Author SHA1 Message Date
orklah
e61073617d
Merge pull request #123 from Nicelocal/master
Immutable refactoring
2022-11-01 19:44:31 +01:00
9044b30475 Fix 2022-11-01 13:40:16 +01:00
1421076bc8 Improve 2022-10-31 21:44:32 +01:00
e5889774b0 BC fixes 2022-10-31 21:42:45 +01:00
803eb8585f Immutable refactoring 2022-10-22 22:17:19 +02:00
orklah
5a66a0a7c2
Merge pull request #122 from someniatko/allow-psalm-5
[composer.json] allow Psalm 5 beta
2022-07-29 18:27:06 +02:00
someniatko
486c4dd837 [composer.json] allow Psalm 5 beta 2022-07-29 15:25:01 +03:00
orklah
45951541be
Merge pull request #120 from VincentLanglet/patch-2
Add getMockForAbstractClass stub
2022-06-14 19:05:57 +02:00
Vincent Langlet
86a1ecf514
Add getMockForAbstractClass stub 2022-06-12 19:10:12 +02:00
orklah
89841a6fb1
Merge pull request #119 from mougrim/master
Fix tests for new version psalm
2022-05-22 16:28:02 +02:00
Mougrim
e1a4e2e287
Fix tests for new version psalm
Signed-off-by: Mougrim <rinat@mougrim.ru>
2022-05-22 17:01:43 +03:00
Bruce Weirdan
b1cad15b33
Merge pull request #118 from AndrolGenhald/patch-1 2022-02-11 20:56:33 +02:00
AndrolGenhald
02a9ac7cd5
Improve provider non-optional argument phrasing
I just ran across a case where I added an argument to a test method and forgot to give it a default value, and this made all previous arguments with defaults non-optional. The phrasing here confused me because I could clearly see that the argument it was complaining about had a default value, and it took me a while to find the actual issue that I forgot to add a default value to the new argument.
2022-02-11 12:50:26 -06:00
Bruce Weirdan
5dd3be04f3
Merge pull request #112 from weirdan/clean-up-deprecations
Remove dead code
2021-06-19 02:56:46 +03:00
Bruce Weirdan
6ba908dab6
Remove dead code
The code being removed is no longer used as composer constraints have
been tightened to not include those older versions that required
workarounds.
2021-06-19 02:50:24 +03:00
Bruce Weirdan
1ce1ef2c3f
Merge pull request #111 from weirdan/upgrade-psalm-interfaces
Upgrade Psalm interfaces
2021-06-06 10:53:56 +03:00
Bruce Weirdan
8d7446eb48
Upgrade Psalm interfaces
Switch from legacy plugin hook interfaces to event handler interfaces
2021-06-06 10:46:01 +03:00
Bruce Weirdan
31d15bbc01
Merge pull request #109 from weph/master
Fix exception class in InvocationMocker und MockBuilder strub
2021-05-29 22:11:38 +03:00
Philip Weinke
7c48505f03 Fix exception class in InvocationMocker und MockBuilder strub 2021-05-29 20:10:50 +02:00
Bruce Weirdan
a95b6b8f05
Merge pull request #110 from weirdan/fix-tests-with-new-psalm-versions
Fix tests to account for issues newer Psalm detects
2021-05-29 20:49:01 +03:00
Bruce Weirdan
fd669c692c
Fix tests to account for issues newer Psalm detects 2021-05-29 20:38:58 +03:00
Bruce Weirdan
30ca25ce06
Merge pull request #106 from weirdan/handle-nullable-providers
Handle nullable providers
2021-01-23 02:19:07 +02:00
Bruce Weirdan
d86d2790ba
Handle nullable providers
Refs psalm/psalm-plugin-phpunit#105
2021-01-23 01:23:15 +02:00
Bruce Weirdan
a7c00148dd
Merge pull request #104 from weirdan/fix-102 2020-12-11 00:51:05 +02:00
Bruce Weirdan
ccd317fd46
Assume mixed params when no type is provided 2020-12-11 00:45:38 +02:00
Bruce Weirdan
2480911fb3
Added failing test for psalm/psalm-plugin-phpunit#102 2020-12-11 00:37:26 +02:00
Matthew Brown
34e58ff3fe
Merge pull request #103 from VincentLanglet/fixPhpunit
Allow to use this without phpunit in composer.json
2020-12-09 19:47:03 -05:00
Vincent Langlet
413d79348e Allow to use this without phpunit in composer.json 2020-12-09 15:15:27 +01:00
Matthew Brown
f5147be764
Merge pull request #99 from weirdan/suppress-redundant-casts
Suppressed redundant casts emitted by newest Psalm
2020-12-08 17:25:25 -05:00
Matthew Brown
3029751dd4
Merge branch 'master' into suppress-redundant-casts 2020-12-08 17:25:18 -05:00
Matthew Brown
217ee851bb
Merge pull request #100 from VincentLanglet/patch-1
Move phpunit to devRequirement
2020-12-08 17:23:51 -05:00
Vincent Langlet
9ac6bdbe34 Move phpunit to devRequirement 2020-12-06 18:57:24 +01:00
Bruce Weirdan
53139773fe
Merge pull request #101 from weirdan/suppress-more-redundant-casts
Suppressed more redundant casts
2020-12-05 07:55:51 +02:00
Bruce Weirdan
66ee3852cd
Suppressed more redundant casts
The issue name keeps changing
2020-12-05 07:49:50 +02:00
Bruce Weirdan
c702d88da0
Suppressed redundant casts emitted by newest Psalm 2020-11-28 20:12:44 +02:00
Bruce Weirdan
aa35347b26
Dropped travis.yml from .gitattributes
And added .github
2020-11-25 05:34:33 +02:00
Bruce Weirdan
2df3070193
Merge pull request #98 from weirdan/disable-travis
Disable Travis
2020-11-25 05:33:14 +02:00
Bruce Weirdan
c336c33fa9
Disable Travis
Travis CI seems to be continuosly lowering it's OSS jobs cap, so the
feedback loop is getting slower and slower. Github CI appears to be
working just fine, so I propose to complete the switch.
2020-11-24 05:53:07 +02:00
Bruce Weirdan
a386816f6d
Merge pull request #97 from weirdan/bump-codeception-psalm-module
Bumped codeception-psalm-module to allow testing on PHP 8
2020-11-03 03:41:53 +02:00
Bruce Weirdan
16260a87d3
Bumped codeception-psalm-module to allow testing on PHP 8 2020-11-03 03:36:03 +02:00
Bruce Weirdan
921aaaa45a
Merge pull request #96 from weirdan/github-actions
Added Github actions workflow
2020-11-03 02:46:03 +02:00
Bruce Weirdan
4ff4f2231e
Added Github actions workflow 2020-11-03 02:40:34 +02:00
Bruce Weirdan
9948b21d1b
Merge pull request #95 from weirdan/fix-tests
Fixed tests by adjusting the expectations to what Psalm now produces
2020-11-03 00:30:14 +02:00
Bruce Weirdan
62e82e7c1e
Fixed tests by adjusting the expectations to what Psalm now produces 2020-11-03 00:13:31 +02:00
Bruce Weirdan
4fe005857f
Merge pull request #94 from enumag/patch-1
Update README.md
2020-11-03 00:06:58 +02:00
Jáchym Toušek
1cf8c1bc5b
Update README.md 2020-11-02 09:30:17 +01:00
Matthew Brown
ea17d71532
Allow PHP 7.1 again 2020-10-26 15:18:31 -04:00
Matthew Brown
fee78b308a
Remove PHP 7.1 and 7.2 from build 2020-10-19 09:12:59 -04:00
Matthew Brown
e006914489
Allow 4.0 2020-10-19 08:43:17 -04:00
Matthew Brown
6406bc272b
Allow beta 2020-10-19 08:42:20 -04:00