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

Using the higher entropy uniqid #27

Merged
merged 1 commit into from
Jan 23, 2017

Conversation

mikeSimonson
Copy link
Contributor

No description provided.

@@ -34,7 +34,7 @@ class InvalidArgumentExceptionTest extends PHPUnit_Framework_TestCase
{
public function testFromNonExistingTypeWithNonExistingClass()
{
$className = __CLASS__ . uniqid();
$className = __CLASS__ . uniqid('', true);
Copy link
Member

Choose a reason for hiding this comment

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

Can't really work due to . being added to the string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For my defence the test pass ...

Copy link
Member

Choose a reason for hiding this comment

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

Yes, but the class name is invalid. Can you add a str_replace around it, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I though I did, did I push ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should I do that in the getInvalidClassNames too ?

Copy link
Member

Choose a reason for hiding this comment

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

Ah, yes, seeing it, although you overwrote the variable: naughty!

@@ -34,7 +34,7 @@ class InvalidArgumentExceptionTest extends PHPUnit_Framework_TestCase
{
public function testFromNonExistingTypeWithNonExistingClass()
{
$className = __CLASS__ . uniqid();
$className = __CLASS__ . uniqid('', true);
Copy link
Member

Choose a reason for hiding this comment

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

Ah, yes, seeing it, although you overwrote the variable: naughty!

@Ocramius
Copy link
Member

@mikeSimonson we can most probably drop 5.3.3 from the matrix now

@Ocramius
Copy link
Member

We should probably drop all EOL'd versions, tbh - means keeping only 7.0, 7.1 and 7.2 (nightly)

@Ocramius Ocramius added this to the 1.1.0 milestone Jan 23, 2017
@mikeSimonson
Copy link
Contributor Author

I have done the travis update in another pr.

@mikeSimonson mikeSimonson merged commit 6ef694f into doctrine:master Jan 23, 2017
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