-
-
Notifications
You must be signed in to change notification settings - Fork 79
Support for actively maintained PHP, Laravel, K8s versions #474
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
base: master
Are you sure you want to change the base?
Conversation
* @dataProvider environmentVariableContextProvider | ||
*/ | ||
public function test_from_environment_variable(string $context = null, string $expectedDomain) | ||
#[DataProvider('environmentVariableContextProvider')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a requirement with latest stable PHPUnit
@@ -1,16 +1,23 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regenerated the configuration with --generate-configuration
and modified it to match the behavior of the previous as closely as possible. This was necessary due to it being too far out of date to migrate with --migrate-configuration
.
env: | ||
TEST_TOKEN: some-token | ||
TEST_CERT: c29tZS1jZXJ0Cg== | ||
TEST_NAMESPACE: some-namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in this step are subjective and admittedly not necessary. Happy to change them back if you'd like. Though they're functionally equivalent.
I didn't address a few deprecations as of PHP 8.4 regarding implicitly nullable types but am happy to do so as a follow-up if we can get this merged. They're non-breaking until PHP 9.x.
All test passing here.
Here's my thinking for dropping support for older versions:
I'm happy to discuss alternative options if this is too restrictive and we either don't want to tag a new major release or want to support against legacy versions.