From 10e52705caed464646b7e87f7af7edee11f2b4c3 Mon Sep 17 00:00:00 2001 From: Henrique Moody Date: Tue, 23 Dec 2025 14:43:38 +0100 Subject: [PATCH] Run most recent PHP versions in the pipeline That ensures we have support for the most recent versions. I removed the PHPT files from the list of files PHPStan checks. That's because I want to convert the PHPT files into Pest files, so it runs faster with a better way of debugging things. --- .github/workflows/continuous-integration.yml | 3 +++ phpstan.neon.dist | 1 - tests/integration/stringify-declared.phpt | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 301cad5..9e3bbfd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -15,6 +15,9 @@ jobs: php-version: - "8.1" - "8.2" + - "8.3" + - "8.4" + - "8.5" steps: - name: Checkout diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 2aa5e2b..fe83f6d 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -5,4 +5,3 @@ parameters: - tests/ fileExtensions: - php - - phpt diff --git a/tests/integration/stringify-declared.phpt b/tests/integration/stringify-declared.phpt index 61a0da2..ce511ce 100644 --- a/tests/integration/stringify-declared.phpt +++ b/tests/integration/stringify-declared.phpt @@ -5,15 +5,17 @@ declare(strict_types=1); require 'vendor/autoload.php'; +use Respect\Stringifier\Helpers\ObjectHelper; + outputMultiple( Traversable::class, ArrayIterator::class, BasicEnumeration::class, - Respect\Stringifier\Helpers\ObjectHelper::class, + ObjectHelper::class, ); ?> --EXPECT-- `Traversable` `ArrayIterator` `BasicEnumeration` -`Respect\Stringifier\Helpers\ObjectHelper` \ No newline at end of file +`Respect\Stringifier\Helpers\ObjectHelper`