Skip to content

Commit

Permalink
tweak: phpstan ignore node files
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Jan 2, 2025
1 parent e01905e commit a33e8c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/Node.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php
// phpcs:ignoreFile
// @phpstan-ignore
namespace Gt\Dom;

if (version_compare(PHP_VERSION, '8.4', '>=')) {
Expand Down
1 change: 0 additions & 1 deletion src/Node83.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php
// phpcs:ignoreFile
// @phpstan-ignore
namespace Gt\Dom;

use DOMNode;
Expand Down
2 changes: 1 addition & 1 deletion src/Node84.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// phpcs:ignoreFile
// @phpstan-ignore
// @phpstan-ignore classConstant.nativeTypeNotSupported
namespace Gt\Dom;

Check failure on line 4 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

No error with identifier classConstant.nativeTypeNotSupported is reported on line 4.

use DOMNode;
Expand Down

0 comments on commit a33e8c5

Please sign in to comment.