Skip to content

Update debugging flow#1140

Merged
rahulsprajapati merged 16 commits into
EasyEngine:develop-v4from
mrrobot47:update/debugging
Aug 2, 2018
Merged

Update debugging flow#1140
rahulsprajapati merged 16 commits into
EasyEngine:develop-v4from
mrrobot47:update/debugging

Conversation

@mrrobot47
Copy link
Copy Markdown
Member

@mrrobot47 mrrobot47 commented Jul 30, 2018

Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
@mrrobot47 mrrobot47 changed the title Update debugging flow (WIP) Update debugging flow Jul 31, 2018
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
@rahulsprajapati rahulsprajapati removed their request for review August 1, 2018 15:21
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Comment thread features/bootstrap/FeatureContext.php Outdated

include_once(__DIR__ . '/../../php/class-ee.php');
include_once(__DIR__ . '/../../php/utils.php');
define('EE_ROOT',__DIR__ . '/../..');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add a space as you're doing it other places, after brackets.
ref: https://github.com/EasyEngine/easyengine/pull/1140/files#diff-8a50a8f3567ab9a03107fd86eeaf827eR10

Comment thread features/bootstrap/FeatureContext.php Outdated
include_once(__DIR__ . '/../../php/utils.php');
define('EE_ROOT',__DIR__ . '/../..');

include_once(EE_ROOT . '/php/class-ee.php');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same for this, use one type of include_once. Here you've used brackets and not for other places.
i.e: https://github.com/EasyEngine/easyengine/pull/1140/files#diff-8a50a8f3567ab9a03107fd86eeaf827eR28

Also check require_once.

Comment thread features/bootstrap/FeatureContext.php Outdated
include_once "$logger_dir/Base.php";

foreach ( $iterator as $filename ) {
if ( '.php' !== substr( $filename, - 4 ) ) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

space, - 4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think here you need the extension so you can use pathinfo for that.

pathinfo( $filename, PATHINFO_EXTENSION );

Comment thread php/class-ee-docker.php Outdated
return true;
}
EE::error( $launch->stderr );
return EE::exec( $command, true, true, true );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's the purpose of this? 🤔 Looks like the another wrapper of EE::exec()
I don't see anything related to the container in this function.

Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
@rahulsprajapati rahulsprajapati merged commit dda4c15 into EasyEngine:develop-v4 Aug 2, 2018
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.

2 participants