Skip to content

Increase min version of PHP 7.2 #11

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

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Dec 11, 2024

#10 requires PHP 7.1.

To make testing we use PHP 7.2 so we can use PHPUnit 8 for testing.

Thx to @rectorphp best toolset to quickly update the PHPUnit tests from PHPUnit 5 to 8 👍 .

@alexander-schranz alexander-schranz changed the title Increase min version of PHP 7.1 Increase min version of PHP 7.2 Dec 11, 2024
Comment on lines -30 to -43
public function testPut()
{
$queue = new testPriorityQueueClass();

$queue->put(1);
$queue->put(100);
$queue->put(46);
$queue->put(347);
$queue->put(11);
$queue->put(125);
$queue->put(-10);
$queue->put(100);
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Does not test anything all is tested via the testPop test

@alexander-schranz alexander-schranz merged commit ff5322e into handcraftedinthealps:master Dec 11, 2024
8 checks passed
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.

1 participant