Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

GKFX
Copy link
Contributor

@GKFX GKFX commented Oct 5, 2020

This pull request:

  • Adds type declarations to bring down the PHPStan error count
  • Makes the CI not dependant on a PHPStan pass so that it can run through to the unit tests
  • Adds alcaeus/mongo-php-adapter so that composer install can run without ext-mongo. This could be removed again if doctrine/mongodb-odm is upgraded, as in the elchris fork.
  • Disables the Propel tests as all the Propel code seems to be missing something in the FOS\OAuthServerBundle\Propel\om namespace
  • Updates the PHPStan configuration including the addition of phpstan-symfony.

The first commit is unfortunately rather large. A lot of it comes from running sed over Tests/ to add return type declarations, which inevitably produced a lot of changes.

GKFX added 3 commits October 4, 2020 21:17
This commit:
  - Adds type declarations to bring down the PHPStan error count
  - Makes the CI not dependant on a PHPStan pass so that it can run
    through to the unit tests
  - Upgrades the dev dependanies so that they can install on a modern
    system (i.e. without ext-mongo)
  - Disables the Propel tests
  - Updates the PHPStan configuration file
@deguif
Copy link
Collaborator

deguif commented Oct 5, 2020

@GKFX really nice, but could you split this PR in to smaller ones, please.

GKFX added a commit to GKFX/FOSOAuthServerBundle that referenced this pull request Oct 6, 2020
GKFX added a commit to GKFX/FOSOAuthServerBundle that referenced this pull request Oct 6, 2020
GKFX added a commit to GKFX/FOSOAuthServerBundle that referenced this pull request Oct 8, 2020
This commit is dependant on FriendsOfSymfony#663 or FriendsOfSymfony#666 to upgrade the PHPUnit
dependency to ^8. It brings the tests to a passing state by removing all
deprecation warnings that are within this project's control.
GKFX added a commit to GKFX/FOSOAuthServerBundle that referenced this pull request Oct 8, 2020
This commit is dependant on FriendsOfSymfony#663 or FriendsOfSymfony#666 to upgrade the PHPUnit
dependency to ^8. It brings the tests to a passing state by removing all
deprecation warnings that are within this project's control.
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.