Skip to content

Conversation

Boegie
Copy link
Contributor

@Boegie Boegie commented Nov 15, 2024

Closes #760

…\Rules\Deprecations\AccessDeprecatedConstant
…anDrupal\Rules\Deprecations\AccessDeprecatedConstant"

This reverts commit 46ad904.
…tanDrupal\Rules\Deprecations\AccessDeprecatedConstant"

This reverts commit 181a5df.
…\Rules\Deprecations\AccessDeprecatedConstant
…lassRuleTest::testRule ContentEntityDeleteForm test case and dependencies
…es\Deprecations\AccessDeprecatedConstant and dependencies
…ntationTest::testRule test for deprecated_field_widget_hooks_field_widget_form_alter and related stuff 'n things
…uleTest::testRuleDrupal8 and \mglaman\PHPStanDrupal\Tests\Rules\GetDeprecatedServiceRuleTest::testRuleDrupal9 and related stuff 'n things
…RuleTest::testRule and the rule and related stuff 'n things
…RuleTest::testRule and the rule and related stuff 'n things
…ectInterfaceConstantsRuleTest::testRule and the rule, \mglaman\PHPStanDrupal\Tests\Rules\SymfonyCmfRoutingInClassMethodSignatureRuleTest::testRule and the rule, and related stuff 'n things
@Boegie
Copy link
Contributor Author

Boegie commented Nov 15, 2024

Do we wanna keep \mglaman\PHPStanDrupal\Rules\Deprecations\GetDeprecatedServiceRule ? It's without tests now.

@Boegie
Copy link
Contributor Author

Boegie commented Nov 15, 2024

Also, does CircleCI work with anything else but D9? Looking at .circleci/config.yml I would say not?

If that's indeed the case, should we drop it entirely?

@mglaman
Copy link
Owner

mglaman commented Nov 19, 2024

We can kill CircleCI, it's a left over

@Boegie
Copy link
Contributor Author

Boegie commented Nov 19, 2024

  • Dropped CircleCI (at least in the main branch) in this MR.
  • Merged maininto this MR.

Copy link
Owner

@mglaman mglaman left a comment

Choose a reason for hiding this comment

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

one thing I want to check

- mglaman\PHPStanDrupal\Rules\Drupal\Coder\DiscouragedFunctionsRule
- mglaman\PHPStanDrupal\Rules\Drupal\GlobalDrupalDependencyInjectionRule
- mglaman\PHPStanDrupal\Rules\Drupal\PluginManager\PluginManagerSetsCacheBackendRule
- mglaman\PHPStanDrupal\Rules\Deprecations\AccessDeprecatedConstant
Copy link
Owner

Choose a reason for hiding this comment

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

Do we need this rule in case future constants are deprecated? Or does PHP now support reading comments from constants... I think it does, so this rule isn't needed. Worth double checking.

Copy link
Owner

Choose a reason for hiding this comment

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

@mglaman mglaman merged commit 77f53be into mglaman:main Nov 19, 2024
14 of 15 checks passed
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.

Stop testing PHP 7.4, 8.0 and Drupal 9
2 participants