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

ValidatingArrayLoader: only validate source/dist properties if they are set #10658

Conversation

glaubinix
Copy link
Contributor

@glaubinix glaubinix commented Mar 24, 2022

Resolves:

Warning: Undefined array key "url"
Uncaught Error: Composer\Pcre\Preg::isMatch(): Argument #2 ($subject) must be of type string, null given in ValidatingArrayLoader.php on line 367

@glaubinix glaubinix force-pushed the f/validating-array-loader-missing-source-dist-properties branch 3 times, most recently from f9d09ad to 93c0adf Compare Mar 25, 2022
@glaubinix glaubinix force-pushed the f/validating-array-loader-missing-source-dist-properties branch from 93c0adf to 23b8be0 Compare Mar 25, 2022
stof
stof approved these changes Mar 25, 2022
@Seldaek Seldaek merged commit 1daafb8 into composer:main Mar 26, 2022
15 of 17 checks passed
@Seldaek Seldaek added this to the 2.3 milestone Mar 26, 2022
@Seldaek Seldaek added the Bug label Mar 26, 2022
@Seldaek
Copy link
Member

@Seldaek Seldaek commented Mar 26, 2022

Thanks

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

Successfully merging this pull request may close these issues.

None yet

3 participants