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

Enhancement: Apply lax validation to composer.json #416

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

localheinz
Copy link
Member

This PR

  • applies a lax validation to composer.json

Fixes #349.
Replaces #352.

@localheinz localheinz self-assigned this Apr 30, 2020
@localheinz localheinz force-pushed the feature/lax branch 3 times, most recently from 305d781 to cb6f0c0 Compare April 30, 2020 21:15
@codecov
Copy link

codecov bot commented Apr 30, 2020

Codecov Report

❗ No coverage uploaded for pull request head (feature/lax@da4eafa). Click here to learn what that means.
The diff coverage is n/a.

$io,
$composerFile
);
} catch (\Exception $exception) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This useless because Factory::createComposer() is run earlier already - we never even get here.

'<error>%s</error>',
$exception->getMessage()
));
} catch (Normalizer\Exception\OriginalInvalidAccordingToSchemaException $exception) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll never get here either, keeping it only for consistency.

@ergebnis-bot ergebnis-bot self-requested a review April 30, 2020 21:23
@ergebnis-bot ergebnis-bot self-assigned this Apr 30, 2020
@ergebnis-bot ergebnis-bot merged commit ae07699 into master Apr 30, 2020
@ergebnis-bot ergebnis-bot deleted the feature/lax branch April 30, 2020 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refuses to normalize projects without name/description
2 participants