Skip to content

Conversation

@paulbalandan
Copy link
Collaborator

This allows to catch lint errors early on before releases.

run: php bin/transform-source ${{ env.TARGET_PHP_VERSION_ID }}

- name: Run lint on src
run: vendor/bin/parallel-lint src --colors --show-deprecated
Copy link

Choose a reason for hiding this comment

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

It seems you do not check on PHP 7.4. Is it intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's my original intention. But composer update fails: https://github.com/CodeIgniter/phpstan-codeigniter/actions/runs/6873219405/job/18692938215

If I will reinstall PHP for PHP 7.4, I will first remove PHPUnit 10 to run lint then reinstall again PHP 8.1 to run tests. It's tedious. Unless you have another flow in mind?

Copy link

Choose a reason for hiding this comment

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

Okay, frankly, I feel it is tedious to downgrade.
I want to drop PHP 7.4 and 8.0!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This downgrading is just a hack for now while v4.5 is not yet out.

@paulbalandan paulbalandan merged commit 39119f4 into 1.x Nov 17, 2023
@paulbalandan paulbalandan deleted the parallel-lint branch November 17, 2023 11:17
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.

3 participants