Skip to content

Conversation

@chriseskow
Copy link
Contributor

Closes #338

@chriseskow
Copy link
Contributor Author

Updated the tutorial with a reference to the script.

#!/usr/bin/env php
<?php

use Defuse\Crypto\Key;
Copy link
Owner

@defuse defuse May 2, 2017

Choose a reason for hiding this comment

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

Doesn't the include/require need to happen before this statement will work?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No. Namespace imports go at the top.

@paragonie-scott
Copy link
Collaborator

Fixed a merge conflict introduced by pulling another branch.

@chriseskow
Copy link
Contributor Author

@paragonie-scott Thanks! Anything else needed for this pull request?

require $file;
break;
}
}

Choose a reason for hiding this comment

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

require file_exists(__DIR__.'/../vendor/autoload.php')
    ? __DIR__.'/../vendor/autoload.php'
    : __DIR__.'/../../../autoload.php'
;

More simple?

@defuse defuse merged commit 5176f5a into defuse:master May 18, 2017
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.

5 participants