Repository navigation
Update dependency psalm/plugin-phpunit to v1 - #29
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/psalm-plugin-phpunit-1.x
branch
from
November 15, 2026 16:53
c0b6d7f to
3e934ed
Compare
| datasource | package | from | to | | ---------- | -------------------- | ------ | ----- | | packagist | psalm/plugin-phpunit | 0.22.2 | 1.2.0 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/psalm-plugin-phpunit-1.x
branch
from
November 16, 2026 06:13
3e934ed to
9b150e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.22.0→^1.0.0Release Notes
psalm/psalm-plugin-phpunit (psalm/plugin-phpunit)
v1.2.0Compare Source
What's Changed
Features
CliOnlyCallnoise) by @alies-dev in #282Full Changelog: psalm/psalm-plugin-phpunit@1.1.0...1.2.0
v1.1.0Compare Source
Psalter now fixes
UnspecificNullAssertion,UnspecificBooleanAssertionandUnspecificEqualsAssertion:Add
--dry-runto preview the changes as a diff without writing them.This release requires Psalm 7.3 or newer (
psalm/psalm-plugin-api ^0.4.2); Psalm 7.2 keeps resolving 1.0.0.What's Changed
Full Changelog: psalm/psalm-plugin-phpunit@1.0.0...1.1.0
v1.0.0Compare Source
Upgrading from 0.2X
@test,@dataProvider,@coversand the other tags are reported asIgnoredDocblockMetadata, which names the attribute to use (#[Test],#[DataProvider],#[CoversClass], ...). They no longer make a method a test or a data provider.InvalidNamedArgument,TooFewArguments);: iterable,: array,: \Generator) have their datasets checked against the type Psalm infers from the provider's body. Where that is not possible they are reported asMixedReturnStatement, asking for a@returntype.UnspecificEqualsAssertion,UnspecificNullAssertion,UnspecificBooleanAssertionandUnspecificCountAssertion(errorLevel="1"only) suggestassertSame()overassertEquals()for two values of one scalar type, andassertNull(),assertTrue()/assertFalse()andassertCount()overassertSame();MissingParentCallreportssetUp(),tearDown()and the other hook overrides that never callparent::;InvalidPhpUnitAnnotationreports docblock tags that PHPUnit drops (/** @dataProvider*/,@group(slow));UndefinedClass,UndefinedMethodandUndefinedFunctionreport missing#[Covers*]/@coverstargets and->method('typo')on mocks.UnspecificEqualsAssertioncan be numerous in older test suites. Rector'sAssertEqualsToSameRectorfixes it, or it can be turned off:What's Changed
Details
Requirements
New checks
assertNull(),assertTrue()/assertFalse()andassertCount()overassertSame()(#198)assertSame()overassertEquals()for two values of one scalar type (#208)assertTrue()/assertFalse()overassertEquals(true|false, ...)(#233)createMockForIntersectionOfInterfaces()andcreateStubForIntersectionOfInterfaces()(#207)#[DataProviderExternal](#211)->method('...')on mocks (#212)->method('...')on unions of mocks (#231)setUp()andtearDown()overrides that don't call the parent (#215)assertPreConditions()andassertPostConditions()overrides that don't call the parent (#229)#[Covers*]and@coverstargets exist (#224)#[DataProviderClosure]providers (#242)@returntype (#275)prophesize()withoutProphecyTrait(#258)#[DataProvider('Other::method')]as an undefined provider, like PHPUnit (#235)@psalm-suppressfor data provider and dataset issues (#257)Fixes
@psalmtag (#232)setUp()and#[Before]from traits forMissingConstructor(#260)iterable<V>orGenerator<V>(#262)TooFewArgumentsforlist<T>datasets (#264)ArgumentTypeCoercion(#265)mixeddataset values asMixedArgument(#271)InvalidArgumentfor test parameters typed with the method's own templates (#270)MixedArgumentTypeCoercionfor closure parameters typed with the method's own templates (#277)Development
assertSame()in external provider fixtures (#230)TestCase.featureinto one feature file per area (#243)Contextinstead of copying it into every scenario (#254)Full Changelog: psalm/psalm-plugin-phpunit@0.22.2...1.0.0
Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Read more information about the use of Renovate Bot within Laminas.