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

require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. #129

Open
lechup opened this issue Nov 22, 2024 · 1 comment

Comments

@lechup
Copy link

lechup commented Nov 22, 2024

After adding to 7.4 project I get:

Running 2.8.3 (2024-11-17 13:13:04) with PHP 7.4.33 on Linux / 5.15.0-72-generic
> prefix-namespaces: sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'
Executing command (CWD): sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 7385k  100 7385k    0     0  1778k      0  0:00:04  0:00:04 --:--:-- 2800k
> prefix-namespaces: @php bin/strauss.phar
Executing command (CWD): '/usr/bin/php7.4' -d allow_url_fopen='1' -d disable_functions='' -d memory_limit='-1' bin/strauss.phar
[info] Loading package...
[info] Loading composer.json config...
[info] Loading cli config...
[info] Building dependency list...
[error] require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead.
Script @php bin/strauss.phar handling the prefix-namespaces event returned with error code 1

Any clues? It's from strauss.phar... I've searched for vfsStream inside of strauss.phar but there is no such req there...

@BrianHenryIE
Copy link
Owner

BrianHenryIE commented Dec 4, 2024

That's a Composer issue rather than a Strauss issue.

https://stackoverflow.com/questions/67437034/error-when-using-composer-require-dev-mikey179-vfsstream-is-invalid

I did see the issue before: #43. If you think it could be handled by Strauss, let me know how. I haven't thought hard on it.

So, my suggestion (from reading that SO) is to try require mikey179/vfsstream rather than mikey179/vfsStream. Let me know if that's adequate.

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

2 participants