Skip to content

Enhancement: Apply lax validation to composer.json#416

Merged
ergebnis-bot merged 1 commit intomasterfrom
feature/lax
Apr 30, 2020
Merged

Enhancement: Apply lax validation to composer.json#416
ergebnis-bot merged 1 commit intomasterfrom
feature/lax

Conversation

@localheinz
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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