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

Manual merge of 2.11.x into 3.0.x #4057

Merged
merged 30 commits into from
Jun 8, 2020
Merged

Manual merge of 2.11.x into 3.0.x #4057

merged 30 commits into from
Jun 8, 2020

Conversation

morozov
Copy link
Member

@morozov morozov commented Jun 8, 2020

Q A
Type improvement
BC Break no

Found issues:

  1. Although Replace forward-compatible ResultStatement interfaces with Result #4049 mentions the deprecation of ResultStatement in the upgrade notes, it doesn't annotate the class itself as deprecated (to be fixed in 2.11.x and up-merged).

    dbal/UPGRADE.md

    Lines 7 to 9 in 3cfb57d

    ## Deprecated `ResultStatement` interface
    1. The `ResultStatement` interface is deprecated. Use the `Driver\Result` and `Abstraction\Result` interfaces instead.
    /**
    * Interface for the reading part of a prepare statement only.
    */
    interface ResultStatement extends Traversable
  2. The SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator sniff had to be disabled during the up-merge since it forces the code to be incompatible with PHP 7.3.

morozov and others added 29 commits May 27, 2020 15:23
This will allow for subsequent fetches in different modes.
The links in convertException gives 404, i'm not 100% if I updated them correct, or if the e.g. should be update to 8.0 already.

https://dev.mysql.com/doc/refman/8.0/en/server-error-reference.html
https://dev.mysql.com/doc/refman/8.0/en/client-error-reference.html
Introduce Statement::fetchFirstColumn()
Update doctrine/coding-standard to 8.0
Make caching layer not rely on closeCursor()
pcov is fast enough for this to be acceptable.
…ional-on-travis

Report coverage unconditionally on Travis
Replace forward-compatible ResultStatement interfaces with Result
@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2020

Codecov Report

❗ No coverage uploaded for pull request base (3.0.x@0d7999e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             3.0.x    #4057   +/-   ##
========================================
  Coverage         ?   78.01%           
  Complexity       ?     4616           
========================================
  Files            ?      181           
  Lines            ?    11579           
  Branches         ?        0           
========================================
  Hits             ?     9033           
  Misses           ?     2546           
  Partials         ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d7999e...3d8c575. Read the comment docs.

@morozov morozov requested a review from greg0ire June 8, 2020 20:45
@morozov morozov merged commit 3d8c575 into doctrine:3.0.x Jun 8, 2020
@morozov morozov self-assigned this Jun 18, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants