Be able to run examples whatever current directory is#201
Merged
jaapio merged 1 commit intophpDocumentor:1.xfrom Feb 22, 2024
Merged
Be able to run examples whatever current directory is#201jaapio merged 1 commit intophpDocumentor:1.xfrom
jaapio merged 1 commit intophpDocumentor:1.xfrom
Conversation
Member
|
Thanks for this PR, it's good to see that some people check those examples. The reason the dependencies are outdated is because we support a broad range of php versions. Besides that I do not update very often, this library exists for many years now and doesn't require a lot of maintenance. I shifted my focus to other projects but I'm still doing small changes when needed or create a new release when I merge a pr. |
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.
Hello
With recent problem found when using PHPUnit v9.6 PHAR version, I've rediscovered
phpDocumentor/TypeResolver.Context
I've forked the repo, and install all dependencies with
composer installbecause there is acomposer.lock.BTW, do you tell us why dependencies seems very outdated (composer.lock was modified a year ago : Mar 12, 2023 on branch 1.x) while there is at least a recent version 1.8.1 (2 days ago) ?
Chunk of
composer outdatedcommand results :Try it
With current directory is root of the forked repo copy, I've tried to run examples :
devilbox@php-8.3.3 in /shared/backups/github/TypeResolver $ php examples/01-resolving-simple-types.phpBut I got :
While, expected results are :
This PR solve the problem, whatever current dir is !