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

OEL-2115: Update to PHP 8.1 #209

Merged
merged 27 commits into from
Apr 24, 2023
Merged

OEL-2115: Update to PHP 8.1 #209

merged 27 commits into from
Apr 24, 2023

Conversation

brummbar
Copy link
Contributor

No description provided.

composer.json Outdated
"drupal/description_list_field": "^1.0@alpha",
"drupal/drupal-extension": "~4.1",
"drupal/drupal-extension": "^5.0.0alpha1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We actually don't need Behat, so we can drop this and keep core-dev.

@@ -96,7 +96,7 @@ public function testEventPage(): void {

$link = $crawler->filter('.bcl-content-banner a[href="/build/node/' . $node->id() . '"]');
$this->assertCount(1, $link);
$this->assertObjectNotHasAttribute('target', $link);
$this->assertFalse(property_exists($link, 'target'));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can't we just use ->getAttribute('href') ?

$this->assertSame('http://localhost/bg/%3Cnone%3E', $link_language->attr('href'));
$this->assertEmpty($link_language->attr('href'));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Quite some weird old assertions here, was it a big bug?

Copy link
Contributor

Choose a reason for hiding this comment

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

It's that change in drupal core rout matching, current_route_match for this Kernel test used to be <none> and after the code change its just empty

brummbar and others added 27 commits April 22, 2023 19:03
@brummbar
Copy link
Contributor Author

Looks good.

@drishu drishu merged commit 695f830 into 1.x Apr 24, 2023
@drishu drishu deleted the OEL-2115 branch April 24, 2023 08:40
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