Skip to content

Conversation

ryancco
Copy link

@ryancco ryancco commented Sep 19, 2025

  • Dropped support for unsupported versions
  • Added support for all actively supported versions
  • Addressed outdated actions used in CI
  • Addressed deprecations causing tests to fail
  • Dropped psalm in part due to conflicts and due to the fact that it wasn't enforced in CI; though I'm happy to add static analysis back either working to resolve psalm conflicts or phpstan

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:

  • Don't continue to provide support for something isn't maintained
  • Reduce the amount of pipeline runs if they're not necessary
  • The library doesn't yet support the currently maintained versions, so maybe this is housekeeping that has been backlogged until now

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.

* @dataProvider environmentVariableContextProvider
*/
public function test_from_environment_variable(string $context = null, string $expectedDomain)
#[DataProvider('environmentVariableContextProvider')]
Copy link
Author

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">
Copy link
Author

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
Copy link
Author

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.

@ryancco ryancco changed the title Support for actively supported PHP, Laravel K8s versions Support for actively maintained PHP, Laravel K8s versions Sep 19, 2025
@ryancco ryancco changed the title Support for actively maintained PHP, Laravel K8s versions Support for actively maintained PHP, Laravel, K8s versions Sep 19, 2025
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