Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Jimlah
Copy link
Contributor

@Jimlah Jimlah commented Sep 25, 2022

No description provided.

Comment on lines +113 to +121
'composerJson' => [
'require' => [
'first/pkg' => '^2.0',
'second/pkg' => '3.*',
],
'require-dev' => [
'dev/pkg' => '~2.0',
],
],
Copy link
Member

Choose a reason for hiding this comment

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

This is lots of duplication and cruft as these are entirely unnecessary to run this test. Would be nice to reduce duplication at least.

Comment on lines +47 to +55
'composerJson' => [
'require' => [
'first/pkg' => '^2.0',
'second/pkg' => '3.*',
],
'require-dev' => [
'dev/pkg' => '~2.0',
],
],
Copy link
Member

Choose a reason for hiding this comment

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

Lots of duplication here too, and it doesn't seem to provide much value as you only check the first line of output.

It'd be more valuable to actually check behavior i.e. make sure that the installed packages above in testCheckPlatformReqs have some requirements on platform and then check that the output is pass or fail depending if it's a valid requirement or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay I will work on that.

@Seldaek Seldaek added this to the 2.5 milestone Oct 12, 2022
@Seldaek Seldaek modified the milestones: 2.5, 2.6 Nov 24, 2022
@Seldaek Seldaek modified the milestones: 2.6, 2.7 Jul 21, 2023
@Seldaek Seldaek modified the milestones: 2.7, 2.8 Feb 7, 2024
@Seldaek Seldaek modified the milestones: 2.8, 2.9 Nov 8, 2025
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.

2 participants