Skip to content

Commit

Permalink
tweak: php 8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Jan 2, 2025
1 parent b7a3df6 commit 3bf2ba8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
56 changes: 28 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ class Node 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;
public const int DOCUMENT_POSITION_PRECEDING = 0b000010;
public const int DOCUMENT_POSITION_FOLLOWING = 0b000100;
public const int DOCUMENT_POSITION_CONTAINS = 0b001000;
public const int DOCUMENT_POSITION_CONTAINED_BY = 0b010000;
public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000;
public const DOCUMENT_POSITION_DISCONNECTED = 0b000001;
public const DOCUMENT_POSITION_PRECEDING = 0b000010;
public const DOCUMENT_POSITION_FOLLOWING = 0b000100;
public const DOCUMENT_POSITION_CONTAINS = 0b001000;
public const DOCUMENT_POSITION_CONTAINED_BY = 0b010000;
public const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000;

private function __construct() {}
}

0 comments on commit 3bf2ba8

Please sign in to comment.