Skip to content
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

Add PHP 8.1 and 8.2 test in GitHub action #12

Closed

Conversation

peter279k
Copy link
Member

Changed log

  • Add PHP-8.1 and PHP-8.2 tests in the GitHub workflow action.
  • Apply coding style fix via the PHP-CS-Fixer.

@odan
Copy link
Member

odan commented Sep 6, 2023

Thanks for the PR.

The next major release will only provide support for PHP 8.1+ with phpunit 10 and new CS rules.
See latest change here: b1b9b34

@odan odan closed this Sep 6, 2023
@peter279k
Copy link
Member Author

Thanks for your commit.

It seems that the GitHub action is failed in the b1b9b34 commit when running the PHPStan static analyzing.

And the error static analyzing messages are as follows:

> phpstan analyse -c phpstan.neon --no-progress --ansi
Error: Method Selective\Config\Test\ConfigurationTest::providerGetString() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetStringError() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerFindString() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetInt() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetIntError() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerFindInt() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetBool() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetBoolError() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerFindBool() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetFloat() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetFloatError() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerFindFloat() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetArray() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetArrayError() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerFindArray() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetChronos() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerGetChronosError() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerFindChronos() return type has no value type specified in iterable type array.
Error: Method Selective\Config\Test\ConfigurationTest::providerAll() return type has no value type specified in iterable type array.

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.

2 participants