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

fix: remove PhpFactory::create from PhpClassComparer #688

Merged
merged 6 commits into from
Feb 23, 2024
Merged

fix: remove PhpFactory::create from PhpClassComparer #688

merged 6 commits into from
Feb 23, 2024

Conversation

vishwarajanand
Copy link
Contributor

@vishwarajanand vishwarajanand commented Feb 22, 2024

Seems like ParserFactory::create(..) is deprecated: ref

Also contains following changes to ensure a test pass:

  1. tests/Unit/ProtoTests/*/out/src/Gapic -> these are files from which generated content is compared.
  2. tests/Integration/goldens -> these are the files from which generated files are compared in integration tests.
  3. composer.json -> needs a php version to be pinned for tests to run, else throws a dependent package min version mismatch errors.
  4. tests/Tools/PhpClassComparer.php -> ensures we mitigate the deprecated old method in ParserFactory

@vishwarajanand vishwarajanand marked this pull request as draft February 22, 2024 12:04
@vishwarajanand vishwarajanand marked this pull request as ready for review February 23, 2024 12:47
@bshaffer bshaffer merged commit 106d3ee into main Feb 23, 2024
4 checks passed
@bshaffer bshaffer deleted the fix_ut branch February 23, 2024 13:57
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.

None yet

3 participants