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

Support PHP 8.1 #2

Merged
merged 15 commits into from
Mar 7, 2023
Merged

Support PHP 8.1 #2

merged 15 commits into from
Mar 7, 2023

Conversation

paul-m
Copy link
Contributor

@paul-m paul-m commented Feb 28, 2023

No description provided.

@paul-m paul-m marked this pull request as draft March 1, 2023 00:16
@paul-m paul-m marked this pull request as ready for review March 6, 2023 17:20
@paul-m
Copy link
Contributor Author

paul-m commented Mar 6, 2023

There was a single test and it was failing, because it was a bad test.

I expanded the tests so they give us 100% coverage, and some generic easily-testable cases as well.

@paul-m paul-m requested a review from jastraat March 6, 2023 17:27
Copy link

@jastraat jastraat left a comment

Choose a reason for hiding this comment

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

Do we want Codeclimate on this?

Copy link

@jastraat jastraat left a comment

Choose a reason for hiding this comment

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

All matrix automated tests for PHP 7.4, 8.0, and 8.1 passing (as well as with prefer lowest setting). Codesniffer with DrupalPractice rules. And Codeclimate. Looks good!

<exclude name="Drupal.Commenting.FunctionComment.Missing"/>
<exclude name="Drupal.Commenting.DocComment.MissingShort"/>
</rule>
<rule ref="DrupalPractice"/>
Copy link

Choose a reason for hiding this comment

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

@paul-m The other DKAN libraries were using PSR1 and PSR2. Just curious as to why this one is using the DrupalPractice instead?

Copy link

Choose a reason for hiding this comment

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

Per Paul, "pdlt looks like Drupal rather than PSR1/2, so I enforced that. " So we're good :)

@jastraat jastraat merged commit 63c2a31 into master Mar 7, 2023
@jastraat jastraat deleted the support-php81 branch March 7, 2023 23:03
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