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

Run static analysis jobs on PHP 8.1 #5269

Merged
merged 3 commits into from
Feb 13, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Feb 13, 2022

Q A
Type improvement

Currently, PHPStan fails on PHP 8.1 since the code doesn't take some recent PHP documentation changes into account:

  1. mysql::connect_error is nullable.
  2. mysqli_stmt::affected_rows may contain a string. Addressing this issue requires a BC break, e.g. here:
    public function executeStatement(array $params = []): int

@morozov morozov added this to the 2.13.8 milestone Feb 13, 2022
@morozov morozov marked this pull request as ready for review February 13, 2022 07:56
@morozov morozov merged commit 1a0f483 into doctrine:2.13.x Feb 13, 2022
@morozov morozov deleted the static-analysis-php-8.1 branch February 13, 2022 17:53
tzkoshi pushed a commit to tzkoshi/dbal that referenced this pull request Mar 16, 2022
Release [2.13.8](https://github.com/doctrine/dbal/milestone/104)

2.13.8
======

- Total issues resolved: **1**
- Total pull requests resolved: **9**
- Total contributors: **3**

CI,SQL Server
-------------

 - [5303: Run workflow on AppVeyor only if certain files changed](doctrine#5303) thanks to @morozov

Dependencies,Static Analysis
----------------------------

 - [5300: Psalm 4.22.0, PHPUnit 9.5.16](doctrine#5300) thanks to @derrabus

Bug,PHP,mysqli
--------------

 - [5296: Fix PHP 8.1 deprecation on `mysqli::real&doctrine#95;connect()` calls](doctrine#5296) thanks to @iammati

Error Handling,Static Analysis,mysqli
-------------------------------------

 - [5269: Run static analysis jobs on PHP 8.1](doctrine#5269) thanks to @morozov

Static Analysis
---------------

 - [5262: PHPStan 1.4.6, Psalm 4.20.0, PHPUnit 9.5.13](doctrine#5262) thanks to @derrabus
 - [5178: PHPStan 1.4.0](doctrine#5178) thanks to @derrabus

CI
--

 - [5238: Run PHP 7.4 on AppVeyor](doctrine#5238) thanks to @derrabus

Documentation
-------------

 - [5187: Update README for release 3.3](doctrine#5187) thanks to @derrabus

Connections,Reserved Keywords,Static Analysis
---------------------------------------------

 - [5166: Enforce consistent constructor in dynamically instantiated classes](doctrine#5166) thanks to @morozov
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants