Skip to content

Comments

Supported php versions#21

Merged
timoschinkel merged 6 commits intomainfrom
supported-php-versions
Jan 29, 2025
Merged

Supported php versions#21
timoschinkel merged 6 commits intomainfrom
supported-php-versions

Conversation

@timoschinkel
Copy link
Owner

@timoschinkel timoschinkel commented Nov 22, 2024

Now that PHP 8.4 has officially been released the inspections can be run on PHP version 8.3 and 8.4 as well.

Edit: Psalm is explicitly not yet supporting PHP 8.4. I expect this will happen on short notice.

Now that PHP 8.4 has officially been released the inspections can be run on PHP version 8.3 and 8.4 as well.
Most notably about strict comparisons: https://psalm.dev/356
I am optimistic, so I will remove the blocking of non-released PHP versions.
- Update Psalm to version 6 to get PHP 8.4 support - `composer require --dev vimeo/psalm:^6.0 -W`
- Suppress `UnusedClass` inspection as Psalm does not appear to understand when the classes are used in `bin/codeowners`
- Assign result of `realpath()` to a variable to let Psalm understand that we actually check against the `false` return value
- Remove support for PHP 8.0 - it is no longer in active support, and for those that are still running this version you will be able to use version up until 1.4.0
- Added inspections - and thus support - for PHP 8.3 and PHP 8.4
@timoschinkel timoschinkel force-pushed the supported-php-versions branch from 237b24e to d85b3d6 Compare January 29, 2025 10:05
@timoschinkel timoschinkel merged commit 317cb35 into main Jan 29, 2025
4 checks passed
@timoschinkel timoschinkel deleted the supported-php-versions branch January 29, 2025 10:07
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