Skip to content

PHPStan 1.4.0#5178

Merged
derrabus merged 1 commit intodoctrine:2.13.xfrom
derrabus:bump/phpstan
Jan 17, 2022
Merged

PHPStan 1.4.0#5178
derrabus merged 1 commit intodoctrine:2.13.xfrom
derrabus:bump/phpstan

Conversation

@derrabus
Copy link
Copy Markdown
Member

Q A
Type improvement
BC Break no
Fixed issues N/A

@derrabus derrabus added this to the 2.13.8 milestone Jan 15, 2022
@derrabus derrabus mentioned this pull request Jan 16, 2022
paths:
- lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php

# This is a new requirement for PHP7's oci8 extension that prevents bound values from being garbage collected.
Copy link
Copy Markdown
Member

@morozov morozov Jan 16, 2022

Choose a reason for hiding this comment

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

IIRC, I checked it recently and it's not true. Why isn't this change necessary in #5179?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't know enough about Oracle and its PHP drivers to answer this question. PHPStan emitted this error, I looked up the code that caused it and found this comment there, so I just copied it over to this file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Indeed, this code doesn't exist in 3.2.x as of #4957:

Additionally, it removes the $boundValues property. It might be necessary in the early PHP 7 days but doesn't seem necessary now (besides PHP 7.4 on CI, tested locally with PHP 7.3.32).

Keeping this error suppressed in 2.13.x looks right.

@derrabus derrabus merged commit 71f8ed2 into doctrine:2.13.x Jan 17, 2022
@derrabus derrabus deleted the bump/phpstan branch January 17, 2022 08:39
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 Jan 18, 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.

3 participants