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 737c46c commit 04cf13d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Node84.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ class Node84 extends DOMNode {
const TYPE_ENTITY_DECL = XML_ENTITY_DECL_NODE;
const TYPE_NAMESPACE_DECL = XML_NAMESPACE_DECL_NODE;

public const int DOCUMENT_POSITION_DISCONNECTED = 0b000001; // @phpstan-ignore classConstant.nativeTypeNotSupported
public const int DOCUMENT_POSITION_PRECEDING = 0b000010; // @phpstan-ignore classConstant.nativeTypeNotSupported
public const int DOCUMENT_POSITION_FOLLOWING = 0b000100; // @phpstan-ignore classConstant.nativeTypeNotSupported
public const int DOCUMENT_POSITION_CONTAINS = 0b001000; // @phpstan-ignore classConstant.nativeTypeNotSupported
public const int DOCUMENT_POSITION_CONTAINED_BY = 0b010000; // @phpstan-ignore classConstant.nativeTypeNotSupported
public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000; // @phpstan-ignore classConstant.nativeTypeNotSupported
public const int DOCUMENT_POSITION_DISCONNECTED = 0b000001; // @phpstan-ignore-line

Check failure on line 32 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

Class constants with native types are supported only on PHP 8.3 and later.

Check failure on line 32 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

No error to ignore is reported on line 32.
public const int DOCUMENT_POSITION_PRECEDING = 0b000010; // @phpstan-ignore-line

Check failure on line 33 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

Class constants with native types are supported only on PHP 8.3 and later.

Check failure on line 33 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

No error to ignore is reported on line 33.
public const int DOCUMENT_POSITION_FOLLOWING = 0b000100; // @phpstan-ignore-line

Check failure on line 34 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

Class constants with native types are supported only on PHP 8.3 and later.

Check failure on line 34 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

No error to ignore is reported on line 34.
public const int DOCUMENT_POSITION_CONTAINS = 0b001000; // @phpstan-ignore-line

Check failure on line 35 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

Class constants with native types are supported only on PHP 8.3 and later.

Check failure on line 35 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

No error to ignore is reported on line 35.
public const int DOCUMENT_POSITION_CONTAINED_BY = 0b010000; // @phpstan-ignore-line

Check failure on line 36 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

Class constants with native types are supported only on PHP 8.3 and later.

Check failure on line 36 in src/Node84.php

View workflow job for this annotation

GitHub Actions / phpstan (8.1)

No error to ignore is reported on line 36.
public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000; // @phpstan-ignore-line

private function __construct() {}
}

0 comments on commit 04cf13d

Please sign in to comment.