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

DX: Add AutoReview/ComposerTest #3556

Closed
wants to merge 5 commits into from
Closed

Conversation

keradus
Copy link
Member

@keradus keradus commented Feb 20, 2018

Inspired by #3555

So, during merging one line into another, I will not mess up with branch aliasing

$composerJson = json_decode(file_get_contents(__DIR__.'/../../composer.json'), true);

if (!isset($composerJson['extra']['branch-alias'])) {
$this->assertTrue(true); // composer.json doesn't contain branch alias, all good!
Copy link
Contributor

Choose a reason for hiding this comment

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

? maybe better to just increase the assert count and not an always pass assert?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was looking for that at night, could you please remind me the method ?

Copy link
Contributor

Choose a reason for hiding this comment

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

addToAssertionCount

Copy link
Member Author

Choose a reason for hiding this comment

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

That's why I couldn't find it :D

ker@dus:~/github/PHP-CS-Fixer λ git grep addToAssertionCount
ker@dus:~/github/PHP-CS-Fixer λ 

@keradus keradus added this to the 2.2.17 milestone Feb 22, 2018
keradus added a commit that referenced this pull request Feb 22, 2018
This PR was squashed before being merged into the 2.2 branch (closes #3556).

Discussion
----------

DX: Add AutoReview/ComposerTest

Inspired by #3555

So, during merging one line into another, I will not mess up with branch aliasing

Commits
-------

44434ca DX: Add AutoReview/ComposerTest
@keradus keradus closed this Feb 22, 2018
@keradus keradus deleted the 2.2_composer branch February 22, 2018 14:44
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

Successfully merging this pull request may close these issues.

None yet

3 participants