Skip to content

Commit 737c46c

Browse files
author
Greg Bowler
committed
tweak: phpstan ignore node files
1 parent a33e8c5 commit 737c46c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/Node84.php

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
// phpcs:ignoreFile
3-
// @phpstan-ignore classConstant.nativeTypeNotSupported
43
namespace Gt\Dom;
54

65
use DOMNode;
@@ -30,12 +29,12 @@ class Node84 extends DOMNode {
3029
const TYPE_ENTITY_DECL = XML_ENTITY_DECL_NODE;
3130
const TYPE_NAMESPACE_DECL = XML_NAMESPACE_DECL_NODE;
3231

33-
public const int DOCUMENT_POSITION_DISCONNECTED = 0b000001;
34-
public const int DOCUMENT_POSITION_PRECEDING = 0b000010;
35-
public const int DOCUMENT_POSITION_FOLLOWING = 0b000100;
36-
public const int DOCUMENT_POSITION_CONTAINS = 0b001000;
37-
public const int DOCUMENT_POSITION_CONTAINED_BY = 0b010000;
38-
public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000;
32+
public const int DOCUMENT_POSITION_DISCONNECTED = 0b000001; // @phpstan-ignore classConstant.nativeTypeNotSupported
33+
public const int DOCUMENT_POSITION_PRECEDING = 0b000010; // @phpstan-ignore classConstant.nativeTypeNotSupported
34+
public const int DOCUMENT_POSITION_FOLLOWING = 0b000100; // @phpstan-ignore classConstant.nativeTypeNotSupported
35+
public const int DOCUMENT_POSITION_CONTAINS = 0b001000; // @phpstan-ignore classConstant.nativeTypeNotSupported
36+
public const int DOCUMENT_POSITION_CONTAINED_BY = 0b010000; // @phpstan-ignore classConstant.nativeTypeNotSupported
37+
public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000; // @phpstan-ignore classConstant.nativeTypeNotSupported
3938

4039
private function __construct() {}
4140
}

0 commit comments

Comments
 (0)