We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e93fa1 commit b752a4bCopy full SHA for b752a4b
tests/Drupal/good/good.php
@@ -2012,3 +2012,19 @@ public function &get($instance_id) {
2012
// @phpstan-ignore-next-line missingType.return
2013
public function ignore_phpstan_comment() {
2014
}
2015
+
2016
+/**
2017
+ * Test for @phpstan-ignore with attribute before.
2018
+ */
2019
+#[ExampleAttribute('foo', 'bar')]
2020
+// @phpstan-ignore-next-line missingType.return
2021
+public function ignore_phpstan_comment_with_attribute_before() {
2022
+}
2023
2024
2025
+ * Test for @phpstan-ignore with attribute after.
2026
2027
2028
2029
+public function ignore_phpstan_comment_with_attribute_after() {
2030
0 commit comments