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

Fixes #3738: Failing deprecation tests. #3739

Merged
merged 2 commits into from
Jul 8, 2019

Conversation

danepowell
Copy link
Contributor

@danepowell danepowell commented Jul 1, 2019

Fixes #3738

Changes proposed

  • There seems to be a problem with "mglaman/phpstan-drupal": "0.11.9" causing fatal errors with neon packages. Not sure what, but pinning it to 0.11.7 helps. Before we merge this we should probably have a plan to revert it / update to the latest version. ORCA will likely face the same problem, coordinate with them.

This isn't intended to make all deprecation tests pass, just to eliminate the meta-error caused by phpstan. We will fix all of the deprecation tests in #3712.

@danepowell danepowell changed the title Fixing tests. Fixes #3738: Failing deprecation tests. Jul 1, 2019
@@ -19,7 +19,7 @@
putenv('HTTP_HOST=' . $_SERVER['HTTP_HOST']);

if (function_exists('drush_get_context')) {
$cli_args = drush_get_context('argv');
$cli_args = $GLOBALS['argv'];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only deprecated function call we can fix at the moment. I've tested it in the canary application and it's safe.

@danepowell
Copy link
Contributor Author

New ORCA release has a hotfix that may let us undo the phpstan changes: https://github.com/acquia/orca/releases/tag/v1.0.0-alpha17

@danepowell danepowell merged commit 80daba4 into acquia:10.x Jul 8, 2019
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.

Fix broken deprecation tests
1 participant