Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice-messages in v0.3.6 #87

Open
thoni56 opened this issue Feb 5, 2021 · 5 comments
Open

Notice-messages in v0.3.6 #87

thoni56 opened this issue Feb 5, 2021 · 5 comments

Comments

@thoni56
Copy link

thoni56 commented Feb 5, 2021

Not a big problem, but thought I'd report it anyhow:

# cv --version
cv version v0.3.6
# cv path -x.
PHP Notice:  Undefined offset: 1 in phar:///usr/local/bin/cv/src/Command/PathCommand.php on line 74

Notice: Undefined offset: 1 in phar:///usr/local/bin/cv/src/Command/PathCommand.php on line 74
/var/www/events/media/civicrm/custom_ext
#
@aydun
Copy link
Contributor

aydun commented Feb 7, 2023

Can't reproduce this now. Can this be closed?

@thoni56
Copy link
Author

thoni56 commented Feb 7, 2023

With PHP 8.0.27, cv 0.3.30 on Ubuntu 22.04.1 I still (now) get

PHP Warning:  Undefined array key 1 in phar:///usr/local/bin/cv/src/Command/PathCommand.php on line 74
Warning: Undefined array key 1 in phar:///usr/local/bin/cv/src/Command/PathCommand.php on line 74

@demeritcowboy
Copy link
Contributor

@thoni56 what are you trying to do with that command? It's not valid syntax to have a . after the x and nothing else.

@demeritcowboy
Copy link
Contributor

Oh sorry I see the help says "Use "." for the default extension dir.".

@thoni56
Copy link
Author

thoni56 commented Feb 7, 2023

Actually, I don't remember ;-)

This was when I tried to understand how to use cv. This time I only copied the command to see if I could reproduce it and I could.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants