Skip to content

Conversation

@keradus
Copy link
Member

@keradus keradus commented Dec 14, 2025

Q A
Branch? 8.1
Bug fix? no
New feature? no
Deprecations? no
Issues Fix CS
License MIT

as required PHP is bumped to 8.1,
maybe we can use new random API ?

@carsonbot carsonbot added this to the 8.1 milestone Dec 14, 2025
@carsonbot carsonbot changed the title PHP CS Fixer: enable random_api_migration PHP CS Fixer: enable random_api_migration Dec 14, 2025
@keradus keradus force-pushed the random_api_migration branch from b8ed641 to e945344 Compare December 15, 2025 21:41
}
}

// @php-cs-fixer-ignore random_api_migration As logic is coupled with mt_srand() in tests
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// @php-cs-fixer-ignore random_api_migration As logic is coupled with mt_srand() in tests
// @php-cs-fixer-ignore random_api_migration can be seeded using mt_srand()

Copy link
Member Author

Choose a reason for hiding this comment

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

can it be seeded externally or shall be done only in tests?

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.

3 participants