Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Conversation

@Gemorroj
Copy link
Contributor

@Gemorroj Gemorroj commented Aug 5, 2018

drop unused imports, unused variables, dirname(__FILE__) -> __DIR__, cs fixes, ...

drop unused imports, unused variables, dirname(__FILE__) -> __DIR__, cs fixes, ...
@msftclas
Copy link

msftclas commented Aug 5, 2018

CLA assistant check
All CLA requirements met.

protected function setupDist() : void
{
$port = $this->getHttpPort();
$host = $this->getHttpHost();
Copy link
Member

@weltling weltling Aug 6, 2018

Choose a reason for hiding this comment

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

Please keep these two calls where ever in the TrainingCaseHandler classes. The TrainingCaseHandler::init() needs to setup the server config, these calls will generate appropriate config items if not present. Some cases like Wordpress use a cli tool which needs this info, too. Cases like Symfony the tool doesn't need this however. Please check carefully to not to remove method calls as that might lead to bugs.

Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you, indeed, I did not notice. Can be rename these methods? Something like getOrMakeHttpPort/getOrInitHttpPort.

Copy link
Member

Choose a reason for hiding this comment

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

Could rename, yep. Not critical.

Thanks.

@weltling
Copy link
Member

weltling commented Aug 6, 2018

Seems OK at first glance. Please also check the note.

Thanks.

@weltling
Copy link
Member

weltling commented Aug 7, 2018

Merged as 1b84734. Thanks!

@weltling weltling closed this Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants