From 99d34afcf17b0a1962bddcebb203db5770733e4c Mon Sep 17 00:00:00 2001 From: "v.razuvaev" Date: Sat, 5 Sep 2026 20:55:18 +0300 Subject: [PATCH] Refresh API docs from released satellites --- docs/.api-workspace/composer.lock | 22 +- docs/scripts/api-snapshot.json | 290 +++++++++--------- docs/scripts/check-integrity.mjs | 2 +- docs/scripts/rules-snapshot.json | 6 +- docs/src/api/classes/Arg.md | 2 +- docs/src/api/classes/Captor.md | 2 +- .../Exception/AmbiguousDefaultFactory.md | 2 +- .../classes/Exception/BypassUnavailable.md | 2 +- docs/src/api/classes/Exception/CannotWire.md | 2 +- .../Exception/ConflictingExpectation.md | 2 +- .../Exception/ContextOwnershipViolation.md | 2 +- .../api/classes/Exception/ForgottenDouble.md | 2 +- .../Exception/ForwardingTargetMismatch.md | 2 +- .../Exception/InvalidCallSpecification.md | 2 +- .../classes/Exception/InvalidDefaultValue.md | 2 +- .../Exception/InvalidSpecificationArgument.md | 2 +- .../api/classes/Exception/MatcherLeaked.md | 2 +- .../classes/Exception/NeverMethodCalled.md | 2 +- .../api/classes/Exception/NoDefaultValue.md | 2 +- .../api/classes/Exception/NothingCaptured.md | 2 +- .../Exception/OriginalCallUnavailable.md | 2 +- .../Exception/OriginalReturnTypeViolation.md | 2 +- .../classes/Exception/OutcomeUnavailable.md | 2 +- .../classes/Exception/StrictModeViolation.md | 2 +- .../api/classes/Exception/UnderstudyError.md | 2 +- .../classes/Exception/UnsupportedTarget.md | 2 +- .../classes/Exception/VerificationFailed.md | 2 +- docs/src/api/classes/ExpectBuilder.md | 2 +- docs/src/api/classes/FailureKind.md | 2 +- docs/src/api/classes/Invocation.md | 2 +- .../classes/Psalm/Issue/UnderstudyMisuse.md | 2 +- docs/src/api/classes/Psalm/Plugin.md | 4 +- .../classes/Testo/UnderstudyInterceptor.md | 4 +- .../src/api/classes/Testo/UnderstudyPlugin.md | 4 +- docs/src/api/classes/Understudy.md | 2 +- docs/src/api/classes/VerificationFailure.md | 2 +- docs/src/api/classes/WhenBuilder.md | 2 +- docs/src/api/rules.md | 4 +- 38 files changed, 201 insertions(+), 195 deletions(-) diff --git a/docs/.api-workspace/composer.lock b/docs/.api-workspace/composer.lock index 0bb03d7..7c454d0 100644 --- a/docs/.api-workspace/composer.lock +++ b/docs/.api-workspace/composer.lock @@ -3018,7 +3018,7 @@ "dist": { "type": "path", "url": "../..", - "reference": "9ac32c63fb78082a2abc8a1483f66b2d745655ec" + "reference": "eda3337bbd0b101108dd66d237ea12f8aef85df3" }, "require": { "ext-tokenizer": "*", @@ -3288,16 +3288,16 @@ }, { "name": "rasuvaeff/understudy-psalm", - "version": "v0.8.1", + "version": "v0.8.2", "source": { "type": "git", "url": "https://github.com/rasuvaeff/understudy-psalm.git", - "reference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d" + "reference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rasuvaeff/understudy-psalm/zipball/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", - "reference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "url": "https://api.github.com/repos/rasuvaeff/understudy-psalm/zipball/f4c7afef1f2a8da96ff051008fb1131a0d7739f8", + "reference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "shasum": "" }, "require": { @@ -3352,20 +3352,20 @@ "issues": "https://github.com/rasuvaeff/understudy-psalm/issues", "source": "https://github.com/rasuvaeff/understudy-psalm" }, - "time": "2026-09-05T13:16:38+00:00" + "time": "2026-09-05T17:51:27+00:00" }, { "name": "rasuvaeff/understudy-testo", - "version": "v0.3.1", + "version": "v0.3.2", "source": { "type": "git", "url": "https://github.com/rasuvaeff/understudy-testo.git", - "reference": "cb5eae3591ccf730503566f237679fb63a07a677" + "reference": "cfadaafe636854ab66c55cf27d5acb122a707e2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rasuvaeff/understudy-testo/zipball/cb5eae3591ccf730503566f237679fb63a07a677", - "reference": "cb5eae3591ccf730503566f237679fb63a07a677", + "url": "https://api.github.com/repos/rasuvaeff/understudy-testo/zipball/cfadaafe636854ab66c55cf27d5acb122a707e2f", + "reference": "cfadaafe636854ab66c55cf27d5acb122a707e2f", "shasum": "" }, "require": { @@ -3416,7 +3416,7 @@ "issues": "https://github.com/rasuvaeff/understudy-testo/issues", "source": "https://github.com/rasuvaeff/understudy-testo" }, - "time": "2026-09-05T13:16:25+00:00" + "time": "2026-09-05T17:48:37+00:00" }, { "name": "revolt/event-loop", diff --git a/docs/scripts/api-snapshot.json b/docs/scripts/api-snapshot.json index 51c7fa7..ba6f0b7 100644 --- a/docs/scripts/api-snapshot.json +++ b/docs/scripts/api-snapshot.json @@ -2,7 +2,7 @@ "classes": [ { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Arg", "kind": "class", @@ -437,7 +437,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Bypass\\FileWrapper", "kind": "class", @@ -1099,7 +1099,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Bypass\\FinalStripper", "kind": "class", @@ -1159,7 +1159,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Captor", "kind": "class", @@ -1287,7 +1287,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Cardinality", "kind": "class", @@ -1480,7 +1480,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\Blueprint", "kind": "class", @@ -1617,7 +1617,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\DoubleFactory", "kind": "class", @@ -1746,7 +1746,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\MethodSignature", "kind": "class", @@ -1875,7 +1875,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\PropertyDefaults", "kind": "class", @@ -1928,7 +1928,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\PropertySignature", "kind": "class", @@ -2018,7 +2018,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\TargetUnifier", "kind": "class", @@ -2071,7 +2071,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Codegen\\TypeRenderer", "kind": "class", @@ -2191,7 +2191,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Defaults\\DefaultFactories", "kind": "class", @@ -2296,7 +2296,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Defaults\\TypeDefaultResolver", "kind": "class", @@ -2435,7 +2435,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\AmbiguousDefaultFactory", "kind": "class", @@ -2495,7 +2495,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\BypassUnavailable", "kind": "class", @@ -2601,7 +2601,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\CannotWire", "kind": "class", @@ -2846,7 +2846,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\ConflictingExpectation", "kind": "class", @@ -2966,7 +2966,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\ContextOwnershipViolation", "kind": "class", @@ -3011,7 +3011,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\ForgottenDouble", "kind": "class", @@ -3148,7 +3148,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\ForwardingTargetMismatch", "kind": "class", @@ -3238,7 +3238,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\InvalidCallSpecification", "kind": "class", @@ -3629,7 +3629,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\InvalidDefaultValue", "kind": "class", @@ -3689,7 +3689,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\InvalidSpecificationArgument", "kind": "class", @@ -3877,7 +3877,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\MatcherLeaked", "kind": "class", @@ -3944,7 +3944,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\NeverMethodCalled", "kind": "class", @@ -4064,7 +4064,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\NoDefaultValue", "kind": "class", @@ -4131,7 +4131,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\NothingCaptured", "kind": "class", @@ -4184,7 +4184,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\OriginalCallUnavailable", "kind": "class", @@ -4267,7 +4267,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\OriginalReturnTypeViolation", "kind": "class", @@ -4334,7 +4334,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\OutcomeUnavailable", "kind": "class", @@ -4417,7 +4417,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\StrictModeViolation", "kind": "class", @@ -4484,7 +4484,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\UnderstudyError", "kind": "interface", @@ -4533,7 +4533,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\UnsupportedTarget", "kind": "class", @@ -4653,7 +4653,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Exception\\VerificationFailed", "kind": "class", @@ -4740,7 +4740,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\ExpectBuilder", "kind": "class", @@ -4788,7 +4788,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Expectation\\Action", "kind": "interface", @@ -4845,7 +4845,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Expectation\\ArgumentFormatter", "kind": "class", @@ -4928,7 +4928,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Expectation\\ComputeAnswer", "kind": "class", @@ -4995,7 +4995,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Expectation\\Expectation", "kind": "class", @@ -5453,7 +5453,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Expectation\\ReturnValue", "kind": "class", @@ -5520,7 +5520,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Expectation\\ThrowError", "kind": "class", @@ -5587,7 +5587,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\FailureKind", "kind": "enum", @@ -5676,7 +5676,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\FailureReport", "kind": "class", @@ -5861,7 +5861,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Invocation", "kind": "class", @@ -6217,7 +6217,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\AllOf", "kind": "class", @@ -6301,7 +6301,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\AnyArgument", "kind": "class", @@ -6375,7 +6375,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\AnyOf", "kind": "class", @@ -6459,7 +6459,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\AnyRest", "kind": "class", @@ -6559,7 +6559,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\AnyTail", "kind": "class", @@ -6659,7 +6659,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\ArgumentMatcher", "kind": "interface", @@ -6747,7 +6747,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\ArrayContaining", "kind": "class", @@ -6831,7 +6831,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\BooleanValue", "kind": "class", @@ -6905,7 +6905,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\Bounds", "kind": "class", @@ -6965,7 +6965,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\Capturing", "kind": "class", @@ -7058,7 +7058,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\CountBetween", "kind": "class", @@ -7151,7 +7151,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\EmptyTail", "kind": "class", @@ -7251,7 +7251,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\FloatInRange", "kind": "class", @@ -7344,7 +7344,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\IdenticalTo", "kind": "class", @@ -7428,7 +7428,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\InstanceOfType", "kind": "class", @@ -7512,7 +7512,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\IntInRange", "kind": "class", @@ -7605,7 +7605,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\Negated", "kind": "class", @@ -7689,7 +7689,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\Operand", "kind": "class", @@ -7772,7 +7772,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\QueryEquals", "kind": "class", @@ -7865,7 +7865,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\Satisfying", "kind": "class", @@ -7958,7 +7958,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\StringMatching", "kind": "class", @@ -8042,7 +8042,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Matcher\\TailMatcher", "kind": "interface", @@ -8101,7 +8101,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Outcome", "kind": "class", @@ -10440,8 +10440,8 @@ }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\BuilderReturnType", "kind": "class", "isApi": false, @@ -10509,13 +10509,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/BuilderReturnType.php#L19", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/BuilderReturnType.php#L19", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\CaptorRecorder", "kind": "class", "isApi": false, @@ -10583,13 +10583,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/CaptorRecorder.php#L39", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/CaptorRecorder.php#L39", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\BuilderType", "kind": "class", "isApi": false, @@ -10657,13 +10657,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/BuilderType.php#L37", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/BuilderType.php#L37", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\Cardinality", "kind": "class", "isApi": false, @@ -10740,13 +10740,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/Cardinality.php#L16", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/Cardinality.php#L16", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\ClosureShape", "kind": "class", "isApi": false, @@ -10836,13 +10836,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/ClosureShape.php#L30", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/ClosureShape.php#L30", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\MatcherClass", "kind": "class", "isApi": false, @@ -10889,13 +10889,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/MatcherClass.php#L20", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/MatcherClass.php#L20", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\MatcherKind", "kind": "class", "isApi": false, @@ -10949,13 +10949,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/MatcherKind.php#L41", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/MatcherKind.php#L41", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\ScopeIndex", "kind": "class", "isApi": false, @@ -11061,13 +11061,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/ScopeIndex.php#L16", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/ScopeIndex.php#L16", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\VerbNames", "kind": "class", "isApi": false, @@ -11151,13 +11151,13 @@ } ], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/VerbNames.php#L17", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/VerbNames.php#L17", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Internal\\WireShape", "kind": "class", "isApi": false, @@ -11211,13 +11211,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Internal/WireShape.php#L32", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Internal/WireShape.php#L32", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Issue\\UnderstudyMisuse", "kind": "class", "isApi": true, @@ -11236,13 +11236,13 @@ "publicMethods": [], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Issue/UnderstudyMisuse.php#L20", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Issue/UnderstudyMisuse.php#L20", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\MatcherArgument", "kind": "class", "isApi": false, @@ -11293,13 +11293,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/MatcherArgument.php#L34", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/MatcherArgument.php#L34", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\Plugin", "kind": "class", "isApi": true, @@ -11339,7 +11339,7 @@ } ], "returnType": "void", - "summary": "", + "summary": "Loads the plugin hooks and registers them with Psalm.", "description": "", "throws": [], "throwsInBody": false, @@ -11349,18 +11349,18 @@ "attributes": [ "Override" ], - "startLine": 21 + "startLine": 24 } ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Plugin.php#L18", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Plugin.php#L18", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\SpecificationRules", "kind": "class", "isApi": false, @@ -11411,13 +11411,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/SpecificationRules.php#L50", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/SpecificationRules.php#L50", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\SpecificationScope", "kind": "class", "isApi": false, @@ -11528,13 +11528,13 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/SpecificationScope.php#L31", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/SpecificationScope.php#L31", "implementedBy": [] }, { "root": "psalm", - "rootVersion": "v0.8.1", - "rootReference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", + "rootVersion": "v0.8.2", + "rootReference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", "class": "Rasuvaeff\\Understudy\\Psalm\\StaticBuilderReturnType", "kind": "class", "isApi": false, @@ -11602,12 +11602,12 @@ ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/StaticBuilderReturnType.php#L23", + "sourceUrl": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/StaticBuilderReturnType.php#L23", "implementedBy": [] }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\Absent", "kind": "enum", @@ -11650,7 +11650,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\ArmedSequence", "kind": "class", @@ -11818,7 +11818,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\DoubleState", "kind": "class", @@ -12299,7 +12299,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\InvocationSignal", "kind": "class", @@ -12375,7 +12375,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\Mode", "kind": "enum", @@ -12438,7 +12438,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\ReferenceSlot", "kind": "class", @@ -12474,7 +12474,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\Runtime", "kind": "class", @@ -13023,7 +13023,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\RuntimeContext", "kind": "class", @@ -13370,7 +13370,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Runtime\\SequenceVerdict", "kind": "enum", @@ -13443,8 +13443,8 @@ }, { "root": "testo", - "rootVersion": "v0.3.1", - "rootReference": "cb5eae3591ccf730503566f237679fb63a07a677", + "rootVersion": "v0.3.2", + "rootReference": "cfadaafe636854ab66c55cf27d5acb122a707e2f", "class": "Rasuvaeff\\Understudy\\Testo\\UnderstudyInterceptor", "kind": "class", "isApi": true, @@ -13496,7 +13496,7 @@ } ], "returnType": "Testo\\Core\\Context\\TestResult", - "summary": "", + "summary": "Runs a Testo test and verifies any understudy expectations it created.", "description": "", "throws": [], "throwsInBody": false, @@ -13506,18 +13506,18 @@ "attributes": [ "Override" ], - "startLine": 73 + "startLine": 75 } ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-testo/blob/cb5eae3591ccf730503566f237679fb63a07a677/src/Testo/UnderstudyInterceptor.php#L51", + "sourceUrl": "https://github.com/rasuvaeff/understudy-testo/blob/cfadaafe636854ab66c55cf27d5acb122a707e2f/src/Testo/UnderstudyInterceptor.php#L51", "implementedBy": [] }, { "root": "testo", - "rootVersion": "v0.3.1", - "rootReference": "cb5eae3591ccf730503566f237679fb63a07a677", + "rootVersion": "v0.3.2", + "rootReference": "cfadaafe636854ab66c55cf27d5acb122a707e2f", "class": "Rasuvaeff\\Understudy\\Testo\\UnderstudyPlugin", "kind": "class", "isApi": true, @@ -13559,7 +13559,7 @@ } ], "returnType": "void", - "summary": "", + "summary": "Registers the Understudy interceptor with Testo's interceptor collector.", "description": "", "throws": [], "throwsInBody": false, @@ -13569,17 +13569,17 @@ "attributes": [ "Override" ], - "startLine": 36 + "startLine": 39 } ], "constants": [], "enumCases": [], - "sourceUrl": "https://github.com/rasuvaeff/understudy-testo/blob/cb5eae3591ccf730503566f237679fb63a07a677/src/Testo/UnderstudyPlugin.php#L29", + "sourceUrl": "https://github.com/rasuvaeff/understudy-testo/blob/cfadaafe636854ab66c55cf27d5acb122a707e2f/src/Testo/UnderstudyPlugin.php#L29", "implementedBy": [] }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Understudy", "kind": "class", @@ -14276,7 +14276,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\VerificationFailure", "kind": "class", @@ -14383,7 +14383,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\WhenBuilder", "kind": "class", @@ -14537,7 +14537,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "class": "Rasuvaeff\\Understudy\\Wiring\\Wire", "kind": "class", @@ -14602,7 +14602,7 @@ "functions": [ { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "kind": "function", "function": "Rasuvaeff\\Understudy\\expect", @@ -14626,7 +14626,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "kind": "function", "function": "Rasuvaeff\\Understudy\\expectSequence", @@ -14650,7 +14650,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "kind": "function", "function": "Rasuvaeff\\Understudy\\verify", @@ -14702,7 +14702,7 @@ }, { "root": "core", - "rootVersion": "v0.9.0-2-g2ad61e3", + "rootVersion": "v0.9.0-5-geda3337", "rootReference": null, "kind": "function", "function": "Rasuvaeff\\Understudy\\when", diff --git a/docs/scripts/check-integrity.mjs b/docs/scripts/check-integrity.mjs index 298764c..924e341 100644 --- a/docs/scripts/check-integrity.mjs +++ b/docs/scripts/check-integrity.mjs @@ -39,7 +39,7 @@ const pkgDir = join(docsDir, '..') // arrives documented or reddens the build. const COMPLETENESS_BUDGET = { 'type without a summary': 0, - 'method without a summary': 49, + 'method without a summary': 0, 'parameter without a description': 154, 'constructor parameter without a description': 10, 'throwing method without @throws': 8, diff --git a/docs/scripts/rules-snapshot.json b/docs/scripts/rules-snapshot.json index 02f5dd6..c943bd3 100644 --- a/docs/scripts/rules-snapshot.json +++ b/docs/scripts/rules-snapshot.json @@ -49,9 +49,9 @@ ] }, "psalm": { - "version": "v0.8.1", - "reference": "a5371cb3f323de133bb20d89ac0cdb2ab2cb572d", - "repoBlob": "https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/", + "version": "v0.8.2", + "reference": "f4c7afef1f2a8da96ff051008fb1131a0d7739f8", + "repoBlob": "https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/", "issues": [ { "issue": "UnderstudyMisuse", diff --git a/docs/src/api/classes/Arg.md b/docs/src/api/classes/Arg.md index b6948a9..f9f8a7a 100644 --- a/docs/src/api/classes/Arg.md +++ b/docs/src/api/classes/Arg.md @@ -9,7 +9,7 @@ description: "Argument matchers, usable only inside a specification closure:" `Rasuvaeff\Understudy\Arg` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Arg.php#L49) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Arg.php#L49) — **Version:** v0.9.0-5-geda3337 Argument matchers, usable only inside a specification closure: diff --git a/docs/src/api/classes/Captor.md b/docs/src/api/classes/Captor.md index 2c7bcec..fbc4290 100644 --- a/docs/src/api/classes/Captor.md +++ b/docs/src/api/classes/Captor.md @@ -9,7 +9,7 @@ description: "A typed argument captor, built by Arg::captor()." `Rasuvaeff\Understudy\Captor` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Captor.php#L38) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Captor.php#L38) — **Version:** v0.9.0-5-geda3337 **Type parameters:** diff --git a/docs/src/api/classes/Exception/AmbiguousDefaultFactory.md b/docs/src/api/classes/Exception/AmbiguousDefaultFactory.md index 1567f26..4840453 100644 --- a/docs/src/api/classes/Exception/AmbiguousDefaultFactory.md +++ b/docs/src/api/classes/Exception/AmbiguousDefaultFactory.md @@ -9,7 +9,7 @@ description: "Two registered default factories are equally close to the requeste `Rasuvaeff\Understudy\Exception\AmbiguousDefaultFactory` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/AmbiguousDefaultFactory.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/AmbiguousDefaultFactory.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/BypassUnavailable.md b/docs/src/api/classes/Exception/BypassUnavailable.md index 44a9bec..b261e21 100644 --- a/docs/src/api/classes/Exception/BypassUnavailable.md +++ b/docs/src/api/classes/Exception/BypassUnavailable.md @@ -9,7 +9,7 @@ description: "`bypassFinals()` cannot do what was asked of it." `Rasuvaeff\Understudy\Exception\BypassUnavailable` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/BypassUnavailable.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/BypassUnavailable.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/CannotWire.md b/docs/src/api/classes/Exception/CannotWire.md index 5057c0f..331d679 100644 --- a/docs/src/api/classes/Exception/CannotWire.md +++ b/docs/src/api/classes/Exception/CannotWire.md @@ -9,7 +9,7 @@ description: "`wire()` cannot build the subject, or cannot decide what to pass i `Rasuvaeff\Understudy\Exception\CannotWire` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/CannotWire.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/CannotWire.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `InvalidArgumentException` diff --git a/docs/src/api/classes/Exception/ConflictingExpectation.md b/docs/src/api/classes/Exception/ConflictingExpectation.md index 491df25..1acdd91 100644 --- a/docs/src/api/classes/Exception/ConflictingExpectation.md +++ b/docs/src/api/classes/Exception/ConflictingExpectation.md @@ -9,7 +9,7 @@ description: "A `when()` or `expect()` names a call another registration already `Rasuvaeff\Understudy\Exception\ConflictingExpectation` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ConflictingExpectation.php#L21) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ConflictingExpectation.php#L21) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/ContextOwnershipViolation.md b/docs/src/api/classes/Exception/ContextOwnershipViolation.md index 1027a2e..2c10f3d 100644 --- a/docs/src/api/classes/Exception/ContextOwnershipViolation.md +++ b/docs/src/api/classes/Exception/ContextOwnershipViolation.md @@ -9,7 +9,7 @@ description: "Configuration and verification belong to the context that created `Rasuvaeff\Understudy\Exception\ContextOwnershipViolation` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ContextOwnershipViolation.php#L14) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ContextOwnershipViolation.php#L14) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/ForgottenDouble.md b/docs/src/api/classes/Exception/ForgottenDouble.md index a6bd07a..a5c9616 100644 --- a/docs/src/api/classes/Exception/ForgottenDouble.md +++ b/docs/src/api/classes/Exception/ForgottenDouble.md @@ -9,7 +9,7 @@ description: "A double outlived the context that created it — almost always a `Rasuvaeff\Understudy\Exception\ForgottenDouble` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ForgottenDouble.php#L16) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ForgottenDouble.php#L16) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/ForwardingTargetMismatch.md b/docs/src/api/classes/Exception/ForwardingTargetMismatch.md index 1292923..82762cf 100644 --- a/docs/src/api/classes/Exception/ForwardingTargetMismatch.md +++ b/docs/src/api/classes/Exception/ForwardingTargetMismatch.md @@ -9,7 +9,7 @@ description: "The instance offered as a forwarding target does not satisfy what `Rasuvaeff\Understudy\Exception\ForwardingTargetMismatch` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ForwardingTargetMismatch.php#L13) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/ForwardingTargetMismatch.php#L13) — **Version:** v0.9.0-5-geda3337 **Extends:** `InvalidArgumentException` diff --git a/docs/src/api/classes/Exception/InvalidCallSpecification.md b/docs/src/api/classes/Exception/InvalidCallSpecification.md index 3a412e5..c6b154b 100644 --- a/docs/src/api/classes/Exception/InvalidCallSpecification.md +++ b/docs/src/api/classes/Exception/InvalidCallSpecification.md @@ -9,7 +9,7 @@ description: "A specification of the wrong SHAPE: the closure handed to when()/v `Rasuvaeff\Understudy\Exception\InvalidCallSpecification` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/InvalidCallSpecification.php#L25) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/InvalidCallSpecification.php#L25) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/InvalidDefaultValue.md b/docs/src/api/classes/Exception/InvalidDefaultValue.md index 9024564..5c0e696 100644 --- a/docs/src/api/classes/Exception/InvalidDefaultValue.md +++ b/docs/src/api/classes/Exception/InvalidDefaultValue.md @@ -9,7 +9,7 @@ description: "A registered default factory produced a value the contract cannot `Rasuvaeff\Understudy\Exception\InvalidDefaultValue` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/InvalidDefaultValue.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/InvalidDefaultValue.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `RuntimeException` diff --git a/docs/src/api/classes/Exception/InvalidSpecificationArgument.md b/docs/src/api/classes/Exception/InvalidSpecificationArgument.md index 82b8635..741d18f 100644 --- a/docs/src/api/classes/Exception/InvalidSpecificationArgument.md +++ b/docs/src/api/classes/Exception/InvalidSpecificationArgument.md @@ -9,7 +9,7 @@ description: "A VALUE inside a specification that no run could act on: a maximum `Rasuvaeff\Understudy\Exception\InvalidSpecificationArgument` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/InvalidSpecificationArgument.php#L24) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/InvalidSpecificationArgument.php#L24) — **Version:** v0.9.0-5-geda3337 **Extends:** `InvalidArgumentException` diff --git a/docs/src/api/classes/Exception/MatcherLeaked.md b/docs/src/api/classes/Exception/MatcherLeaked.md index 9538812..41702c4 100644 --- a/docs/src/api/classes/Exception/MatcherLeaked.md +++ b/docs/src/api/classes/Exception/MatcherLeaked.md @@ -9,7 +9,7 @@ description: "A matcher reached a real call instead of a specification closure." `Rasuvaeff\Understudy\Exception\MatcherLeaked` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/MatcherLeaked.php#L14) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/MatcherLeaked.php#L14) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/NeverMethodCalled.md b/docs/src/api/classes/Exception/NeverMethodCalled.md index 8b17b90..1edf122 100644 --- a/docs/src/api/classes/Exception/NeverMethodCalled.md +++ b/docs/src/api/classes/Exception/NeverMethodCalled.md @@ -9,7 +9,7 @@ description: "A method declared `: never` was called without an expectation that `Rasuvaeff\Understudy\Exception\NeverMethodCalled` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/NeverMethodCalled.php#L14) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/NeverMethodCalled.php#L14) — **Version:** v0.9.0-5-geda3337 **Extends:** `RuntimeException` diff --git a/docs/src/api/classes/Exception/NoDefaultValue.md b/docs/src/api/classes/Exception/NoDefaultValue.md index 8f60f20..9d9db57 100644 --- a/docs/src/api/classes/Exception/NoDefaultValue.md +++ b/docs/src/api/classes/Exception/NoDefaultValue.md @@ -9,7 +9,7 @@ description: "A loose understudy had to answer a call, but the declared return t `Rasuvaeff\Understudy\Exception\NoDefaultValue` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/NoDefaultValue.php#L14) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/NoDefaultValue.php#L14) — **Version:** v0.9.0-5-geda3337 **Extends:** `RuntimeException` diff --git a/docs/src/api/classes/Exception/NothingCaptured.md b/docs/src/api/classes/Exception/NothingCaptured.md index a8fb013..7025ca9 100644 --- a/docs/src/api/classes/Exception/NothingCaptured.md +++ b/docs/src/api/classes/Exception/NothingCaptured.md @@ -9,7 +9,7 @@ description: "`Captor::last()` was read before any matched call carried a value `Rasuvaeff\Understudy\Exception\NothingCaptured` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/NothingCaptured.php#L13) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/NothingCaptured.php#L13) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/OriginalCallUnavailable.md b/docs/src/api/classes/Exception/OriginalCallUnavailable.md index 66c7495..b4a1d68 100644 --- a/docs/src/api/classes/Exception/OriginalCallUnavailable.md +++ b/docs/src/api/classes/Exception/OriginalCallUnavailable.md @@ -9,7 +9,7 @@ description: "`callOriginal()` was asked to delegate, and there is nothing to de `Rasuvaeff\Understudy\Exception\OriginalCallUnavailable` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/OriginalCallUnavailable.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/OriginalCallUnavailable.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/OriginalReturnTypeViolation.md b/docs/src/api/classes/Exception/OriginalReturnTypeViolation.md index 1d0e1c3..6d15f63 100644 --- a/docs/src/api/classes/Exception/OriginalReturnTypeViolation.md +++ b/docs/src/api/classes/Exception/OriginalReturnTypeViolation.md @@ -9,7 +9,7 @@ description: "A forwarded call returned an object the double cannot stand in for `Rasuvaeff\Understudy\Exception\OriginalReturnTypeViolation` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/OriginalReturnTypeViolation.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/OriginalReturnTypeViolation.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `RuntimeException` diff --git a/docs/src/api/classes/Exception/OutcomeUnavailable.md b/docs/src/api/classes/Exception/OutcomeUnavailable.md index 8e38b27..5cedf90 100644 --- a/docs/src/api/classes/Exception/OutcomeUnavailable.md +++ b/docs/src/api/classes/Exception/OutcomeUnavailable.md @@ -9,7 +9,7 @@ description: "An invocation's outcome was read as the wrong kind: a returned val `Rasuvaeff\Understudy\Exception\OutcomeUnavailable` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/OutcomeUnavailable.php#L14) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/OutcomeUnavailable.php#L14) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/StrictModeViolation.md b/docs/src/api/classes/Exception/StrictModeViolation.md index e8c288e..7e01fd1 100644 --- a/docs/src/api/classes/Exception/StrictModeViolation.md +++ b/docs/src/api/classes/Exception/StrictModeViolation.md @@ -9,7 +9,7 @@ description: "A strict understudy received a call no expectation matched." `Rasuvaeff\Understudy\Exception\StrictModeViolation` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/StrictModeViolation.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/StrictModeViolation.php#L12) — **Version:** v0.9.0-5-geda3337 **Extends:** `RuntimeException` diff --git a/docs/src/api/classes/Exception/UnderstudyError.md b/docs/src/api/classes/Exception/UnderstudyError.md index 78c3509..e548c04 100644 --- a/docs/src/api/classes/Exception/UnderstudyError.md +++ b/docs/src/api/classes/Exception/UnderstudyError.md @@ -9,7 +9,7 @@ description: "Implemented by every exception this library throws, so a test can `Rasuvaeff\Understudy\Exception\UnderstudyError` -**Interface** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/UnderstudyError.php#L14) — **Version:** v0.9.0-2-g2ad61e3 +**Interface** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/UnderstudyError.php#L14) — **Version:** v0.9.0-5-geda3337 **Implements:** `Throwable`, `Stringable` diff --git a/docs/src/api/classes/Exception/UnsupportedTarget.md b/docs/src/api/classes/Exception/UnsupportedTarget.md index b3f8374..92627fd 100644 --- a/docs/src/api/classes/Exception/UnsupportedTarget.md +++ b/docs/src/api/classes/Exception/UnsupportedTarget.md @@ -9,7 +9,7 @@ description: "The requested target cannot be doubled, and no option would make i `Rasuvaeff\Understudy\Exception\UnsupportedTarget` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/UnsupportedTarget.php#L13) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/UnsupportedTarget.php#L13) — **Version:** v0.9.0-5-geda3337 **Extends:** `LogicException` diff --git a/docs/src/api/classes/Exception/VerificationFailed.md b/docs/src/api/classes/Exception/VerificationFailed.md index ad7fb39..299a977 100644 --- a/docs/src/api/classes/Exception/VerificationFailed.md +++ b/docs/src/api/classes/Exception/VerificationFailed.md @@ -9,7 +9,7 @@ description: "A verification about what the code under test did (or did not) do `Rasuvaeff\Understudy\Exception\VerificationFailed` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/VerificationFailed.php#L20) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Exception/VerificationFailed.php#L20) — **Version:** v0.9.0-5-geda3337 **Extends:** `RuntimeException` diff --git a/docs/src/api/classes/ExpectBuilder.md b/docs/src/api/classes/ExpectBuilder.md index 58fde1c..aab8b05 100644 --- a/docs/src/api/classes/ExpectBuilder.md +++ b/docs/src/api/classes/ExpectBuilder.md @@ -9,7 +9,7 @@ description: "Configures a call the code under test is expected to make." `Rasuvaeff\Understudy\ExpectBuilder` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/ExpectBuilder.php#L19) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/ExpectBuilder.php#L19) — **Version:** v0.9.0-5-geda3337 **Extends:** [`WhenBuilder`](/api/classes/WhenBuilder) diff --git a/docs/src/api/classes/FailureKind.md b/docs/src/api/classes/FailureKind.md index f9ed5bd..ea1bb5f 100644 --- a/docs/src/api/classes/FailureKind.md +++ b/docs/src/api/classes/FailureKind.md @@ -9,7 +9,7 @@ description: "What kind of verification claim a VerificationFailure reports." `Rasuvaeff\Understudy\FailureKind` -**Enum** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/FailureKind.php#L12) — **Version:** v0.9.0-2-g2ad61e3 +**Enum** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/FailureKind.php#L12) — **Version:** v0.9.0-5-geda3337 **Implements:** `UnitEnum` diff --git a/docs/src/api/classes/Invocation.md b/docs/src/api/classes/Invocation.md index 9ea035e..dfc9376 100644 --- a/docs/src/api/classes/Invocation.md +++ b/docs/src/api/classes/Invocation.md @@ -9,7 +9,7 @@ description: "One recorded call on an understudy." `Rasuvaeff\Understudy\Invocation` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Invocation.php#L20) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Invocation.php#L20) — **Version:** v0.9.0-5-geda3337 One recorded call on an understudy. diff --git a/docs/src/api/classes/Psalm/Issue/UnderstudyMisuse.md b/docs/src/api/classes/Psalm/Issue/UnderstudyMisuse.md index f6f0e38..009f1ea 100644 --- a/docs/src/api/classes/Psalm/Issue/UnderstudyMisuse.md +++ b/docs/src/api/classes/Psalm/Issue/UnderstudyMisuse.md @@ -9,7 +9,7 @@ description: "A specification that cannot mean what it says." `Rasuvaeff\Understudy\Psalm\Issue\UnderstudyMisuse` -**Class** — **Package:** [rasuvaeff/understudy-psalm](https://github.com/rasuvaeff/understudy-psalm) — [Source](https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Issue/UnderstudyMisuse.php#L20) — **Version:** v0.8.1 +**Class** — **Package:** [rasuvaeff/understudy-psalm](https://github.com/rasuvaeff/understudy-psalm) — [Source](https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Issue/UnderstudyMisuse.php#L20) — **Version:** v0.8.2 **Extends:** `Psalm\Issue\PluginIssue` diff --git a/docs/src/api/classes/Psalm/Plugin.md b/docs/src/api/classes/Psalm/Plugin.md index 59c8fac..facc0bd 100644 --- a/docs/src/api/classes/Psalm/Plugin.md +++ b/docs/src/api/classes/Psalm/Plugin.md @@ -9,7 +9,7 @@ description: "Entry point registered through `extra.psalm.pluginClass`, so `vend `Rasuvaeff\Understudy\Psalm\Plugin` -**Class** — **Package:** [rasuvaeff/understudy-psalm](https://github.com/rasuvaeff/understudy-psalm) — [Source](https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Plugin.php#L18) — **Version:** v0.8.1 +**Class** — **Package:** [rasuvaeff/understudy-psalm](https://github.com/rasuvaeff/understudy-psalm) — [Source](https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Plugin.php#L18) — **Version:** v0.8.2 **Implements:** `Psalm\Plugin\PluginEntryPointInterface`, `Psalm\Plugin\PluginInterface` @@ -28,3 +28,5 @@ __invoke( ): void ``` +Loads the plugin hooks and registers them with Psalm. + diff --git a/docs/src/api/classes/Testo/UnderstudyInterceptor.md b/docs/src/api/classes/Testo/UnderstudyInterceptor.md index 3acd70f..c6bc8c1 100644 --- a/docs/src/api/classes/Testo/UnderstudyInterceptor.md +++ b/docs/src/api/classes/Testo/UnderstudyInterceptor.md @@ -9,7 +9,7 @@ description: "Ends every test with understudy's own bookkeeping done for it." `Rasuvaeff\Understudy\Testo\UnderstudyInterceptor` -**Class** — **Package:** [rasuvaeff/understudy-testo](https://github.com/rasuvaeff/understudy-testo) — [Source](https://github.com/rasuvaeff/understudy-testo/blob/cb5eae3591ccf730503566f237679fb63a07a677/src/Testo/UnderstudyInterceptor.php#L51) — **Version:** v0.3.1 +**Class** — **Package:** [rasuvaeff/understudy-testo](https://github.com/rasuvaeff/understudy-testo) — [Source](https://github.com/rasuvaeff/understudy-testo/blob/cfadaafe636854ab66c55cf27d5acb122a707e2f/src/Testo/UnderstudyInterceptor.php#L51) — **Version:** v0.3.2 **Implements:** `Testo\Pipeline\Middleware\TestRunInterceptor`, `Testo\Pipeline\Interceptor` @@ -55,6 +55,8 @@ runTest( ): Testo\Core\Context\TestResult ``` +Runs a Testo test and verifies any understudy expectations it created. + *Documentation inherited from `Testo\Pipeline\Middleware\TestRunInterceptor`.* - `$info` — Information about the test to be run. diff --git a/docs/src/api/classes/Testo/UnderstudyPlugin.md b/docs/src/api/classes/Testo/UnderstudyPlugin.md index 825ddb0..ae16b03 100644 --- a/docs/src/api/classes/Testo/UnderstudyPlugin.md +++ b/docs/src/api/classes/Testo/UnderstudyPlugin.md @@ -9,7 +9,7 @@ description: "Registers UnderstudyInterceptor so every test of the suite ends wi `Rasuvaeff\Understudy\Testo\UnderstudyPlugin` -**Class** — **Package:** [rasuvaeff/understudy-testo](https://github.com/rasuvaeff/understudy-testo) — [Source](https://github.com/rasuvaeff/understudy-testo/blob/cb5eae3591ccf730503566f237679fb63a07a677/src/Testo/UnderstudyPlugin.php#L29) — **Version:** v0.3.1 +**Class** — **Package:** [rasuvaeff/understudy-testo](https://github.com/rasuvaeff/understudy-testo) — [Source](https://github.com/rasuvaeff/understudy-testo/blob/cfadaafe636854ab66c55cf27d5acb122a707e2f/src/Testo/UnderstudyPlugin.php#L29) — **Version:** v0.3.2 **Implements:** `Testo\Common\PluginConfigurator` @@ -48,3 +48,5 @@ __construct( configure(Internal\Container\Container $container): void ``` +Registers the Understudy interceptor with Testo's interceptor collector. + diff --git a/docs/src/api/classes/Understudy.md b/docs/src/api/classes/Understudy.md index d713b5c..648ec6e 100644 --- a/docs/src/api/classes/Understudy.md +++ b/docs/src/api/classes/Understudy.md @@ -9,7 +9,7 @@ description: "The whole public surface, as static methods so that an understudy `Rasuvaeff\Understudy\Understudy` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Understudy.php#L39) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/Understudy.php#L39) — **Version:** v0.9.0-5-geda3337 The whole public surface, as static methods so that an understudy itself can stay free of service members: every one of them would be a name the doubled diff --git a/docs/src/api/classes/VerificationFailure.md b/docs/src/api/classes/VerificationFailure.md index 2bda956..01642ef 100644 --- a/docs/src/api/classes/VerificationFailure.md +++ b/docs/src/api/classes/VerificationFailure.md @@ -9,7 +9,7 @@ description: "The structured half of one verification failure — the same facts `Rasuvaeff\Understudy\VerificationFailure` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/VerificationFailure.php#L34) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/VerificationFailure.php#L34) — **Version:** v0.9.0-5-geda3337 The structured half of one verification failure — the same facts the rendered message states, addressable by field. diff --git a/docs/src/api/classes/WhenBuilder.md b/docs/src/api/classes/WhenBuilder.md index 1bcc29b..94015a3 100644 --- a/docs/src/api/classes/WhenBuilder.md +++ b/docs/src/api/classes/WhenBuilder.md @@ -9,7 +9,7 @@ description: "Configures what a stubbed call does." `Rasuvaeff\Understudy\WhenBuilder` -**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/WhenBuilder.php#L36) — **Version:** v0.9.0-2-g2ad61e3 +**Class** — **Package:** [rasuvaeff/understudy](https://github.com/rasuvaeff/understudy) — [Source](https://github.com/rasuvaeff/understudy/blob/master/src/WhenBuilder.php#L36) — **Version:** v0.9.0-5-geda3337 **Type parameters:** diff --git a/docs/src/api/rules.md b/docs/src/api/rules.md index bba0bc7..62d8e24 100644 --- a/docs/src/api/rules.md +++ b/docs/src/api/rules.md @@ -35,11 +35,11 @@ parameters: - `Rasuvaeff\Understudy\PhpStan\Rule\VoidReturnsRule` - `Rasuvaeff\Understudy\PhpStan\Rule\MatcherLeakRule` -## Psalm · `rasuvaeff/understudy-psalm` v0.8.1 +## Psalm · `rasuvaeff/understudy-psalm` v0.8.2 | Issue type | Summary | |---|---| -| [`UnderstudyMisuse`](https://github.com/rasuvaeff/understudy-psalm/blob/a5371cb3f323de133bb20d89ac0cdb2ab2cb572d/src/Psalm/Issue/UnderstudyMisuse.php) | A specification that cannot mean what it says. | +| [`UnderstudyMisuse`](https://github.com/rasuvaeff/understudy-psalm/blob/f4c7afef1f2a8da96ff051008fb1131a0d7739f8/src/Psalm/Issue/UnderstudyMisuse.php) | A specification that cannot mean what it says. | The plugin reports its own findings under that one issue type; everything else it surfaces is Psalm's own diagnostic, made possible by the types the plugin fills in.