Draft
Conversation
_AI Disclosure_: used Claude Code (v2.1.20, Opus 4.5), to help with the
Memio v3 upgrade.
Prompts:
```
I'm trying to upgrade this lib to Memio v3, but running the tests fail:
```
// Running phpspec...
Memio/SpecGen/Marshaller/Service/TypeGuesser
71 - it guesses phpspec doubles of implementations of many interfaces
expected "Memio\SpecGen\Fixtures\Ty...", but got "Memio\SpecGen\Fixtures\Ty...".
Memio/SpecGen/Marshaller/Service/TypeGuesser
76 - it guesses phpspec doubles of implementations of deep interfaces
expected "Memio\SpecGen\Fixtures\Ty...", but got "Memio\SpecGen\Fixtures\Ty...".
```
You can run `make lib-qa` or `make phpspec` to check it yoursel
```
```
now phpstan complains:
```
------ ------------------------------------------------------------------
Line Memio/SpecGen/GenerateConstructor/GenerateConstructorHandler.php
------ ------------------------------------------------------------------
57 Call to an undefined static method Memio\Model\Objekt::make().
58 Call to an undefined static method Memio\Model\File::make().
------ ------------------------------------------------------------------
------ ----------------------------------------------------------------
Line Memio/SpecGen/GenerateMethod/GenerateMethodHandler.php
------ ----------------------------------------------------------------
56 Call to an undefined static method Memio\Model\File::make().
57 Call to an undefined static method Memio\Model\Objekt::make().
------ ----------------------------------------------------------------
```
You can run `make phpstan` to check it
```
```
you can also check the UPGRADING or CHANGELOG in vendor/memio
```
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.
Upgrading requirements to:
This will be tagged as version
v0.11.0(let's not forget thevprefix this time).