diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
index 249a6f2..c6b22bc 100644
--- a/.php-cs-fixer.dist.php
+++ b/.php-cs-fixer.dist.php
@@ -13,7 +13,7 @@
->setRules([
'@Symfony' => true,
'single_line_throw' => false,
- 'visibility_required' => ['elements' => ['method', 'property']], // const only possible once we drop PHP 5.6 support
+ 'trailing_comma_in_multiline' => ['elements' => ['arrays']], // trailing comma on parameters / arguments not compatible with PHP 7
])
->setFinder($finder)
;
diff --git a/src/PHPCR/ImportUUIDBehaviorInterface.php b/src/PHPCR/ImportUUIDBehaviorInterface.php
index 51ac76e..3443c30 100644
--- a/src/PHPCR/ImportUUIDBehaviorInterface.php
+++ b/src/PHPCR/ImportUUIDBehaviorInterface.php
@@ -25,26 +25,26 @@ interface ImportUUIDBehaviorInterface
*
* @api
*/
- const IMPORT_UUID_COLLISION_REMOVE_EXISTING = 1;
+ public const IMPORT_UUID_COLLISION_REMOVE_EXISTING = 1;
/**
* When importing replace existing item upon collision.
*
* @api
*/
- const IMPORT_UUID_COLLISION_REPLACE_EXISTING = 2;
+ public const IMPORT_UUID_COLLISION_REPLACE_EXISTING = 2;
/**
* When importing throw exception upon collision.
*
* @api
*/
- const IMPORT_UUID_COLLISION_THROW = 3;
+ public const IMPORT_UUID_COLLISION_THROW = 3;
/**
* When importing create new UUIDs.
*
* @api
*/
- const IMPORT_UUID_CREATE_NEW = 0;
+ public const IMPORT_UUID_CREATE_NEW = 0;
}
diff --git a/src/PHPCR/NamespaceRegistryInterface.php b/src/PHPCR/NamespaceRegistryInterface.php
index 76cdf45..91e8855 100644
--- a/src/PHPCR/NamespaceRegistryInterface.php
+++ b/src/PHPCR/NamespaceRegistryInterface.php
@@ -34,84 +34,84 @@ interface NamespaceRegistryInterface extends \Traversable
*
* @api
*/
- const PREFIX_JCR = 'jcr';
+ public const PREFIX_JCR = 'jcr';
/**
* A constant for the predefined namespace prefix "nt".
*
* @api
*/
- const PREFIX_NT = 'nt';
+ public const PREFIX_NT = 'nt';
/**
* A constant for the predefined namespace prefix "sv".
*
* @api
*/
- const PREFIX_SV = 'sv';
+ public const PREFIX_SV = 'sv';
/**
* A constant for the predefined namespace prefix "mix".
*
* @api
*/
- const PREFIX_MIX = 'mix';
+ public const PREFIX_MIX = 'mix';
/**
* A constant for the predefined namespace prefix "xml".
*
* @api
*/
- const PREFIX_XML = 'xml';
+ public const PREFIX_XML = 'xml';
/**
* A constant for the predefined namespace prefix "" (the empty prefix).
*
* @api
*/
- const PREFIX_EMPTY = '';
+ public const PREFIX_EMPTY = '';
/**
* A constant for the predefined namespace mapped by default to the prefix "jcr".
*
* @api
*/
- const NAMESPACE_JCR = 'http://www.jcp.org/jcr/1.0';
+ public const NAMESPACE_JCR = 'http://www.jcp.org/jcr/1.0';
/**
* A constant for the predefined namespace mapped by default to the prefix "nt".
*
* @api
*/
- const NAMESPACE_NT = 'http://www.jcp.org/jcr/nt/1.0';
+ public const NAMESPACE_NT = 'http://www.jcp.org/jcr/nt/1.0';
/**
* A constant for the predefined namespace mapped by default to the prefix "sv".
*
* @api
*/
- const NAMESPACE_SV = 'http://www.jcp.org/jcr/sv/1.0';
+ public const NAMESPACE_SV = 'http://www.jcp.org/jcr/sv/1.0';
/**
* A constant for the predefined namespace mapped by default to the prefix "mix".
*
* @api
*/
- const NAMESPACE_MIX = 'http://www.jcp.org/jcr/mix/1.0';
+ public const NAMESPACE_MIX = 'http://www.jcp.org/jcr/mix/1.0';
/**
* A constant for the predefined namespace mapped by default to the prefix "xml".
*
* @api
*/
- const NAMESPACE_XML = 'http://www.w3.org/XML/1998/namespace';
+ public const NAMESPACE_XML = 'http://www.w3.org/XML/1998/namespace';
/**
* A constant for the predefined namespace mapped by default to the prefix "" (the empty prefix).
*
* @api
*/
- const NAMESPACE_EMPTY = '';
+ public const NAMESPACE_EMPTY = '';
/**
* Sets a one-to-one mapping between prefix and uri in the global namespace
diff --git a/src/PHPCR/NodeInterface.php b/src/PHPCR/NodeInterface.php
index 50c315d..a20abff 100644
--- a/src/PHPCR/NodeInterface.php
+++ b/src/PHPCR/NodeInterface.php
@@ -37,42 +37,42 @@ interface NodeInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CONTENT = '{http://www.jcp.org/jcr/1.0}content';
+ public const JCR_CONTENT = '{http://www.jcp.org/jcr/1.0}content';
/**
* A constant for the node name jcr:propertyDefinition declared in nt:nodeType.
*
* @api
*/
- const JCR_PROPERTY_DEFINITION = '{http://www.jcp.org/jcr/1.0}propertyDefinition';
+ public const JCR_PROPERTY_DEFINITION = '{http://www.jcp.org/jcr/1.0}propertyDefinition';
/**
* A constant for the node name jcr:childNodeDefinition declared in nt:nodeType.
*
* @api
*/
- const JCR_CHILD_NODE_DEFINITION = '{http://www.jcp.org/jcr/1.0}childNodeDefinition';
+ public const JCR_CHILD_NODE_DEFINITION = '{http://www.jcp.org/jcr/1.0}childNodeDefinition';
/**
* A constant for the node name jcr:rootVersion declared in nt:versionHistory.
*
* @api
*/
- const JCR_ROOT_VERSION = '{http://www.jcp.org/jcr/1.0}rootVersion';
+ public const JCR_ROOT_VERSION = '{http://www.jcp.org/jcr/1.0}rootVersion';
/**
* A constant for the node name jcr:versionLabels declared in nt:versionHistory.
*
* @api
*/
- const JCR_VERSION_LABELS = '{http://www.jcp.org/jcr/1.0}versionLabels';
+ public const JCR_VERSION_LABELS = '{http://www.jcp.org/jcr/1.0}versionLabels';
/**
* A constant for the node name jcr:frozenNode declared in nt:version.
*
* @api
*/
- const JCR_FROZEN_NODE = '{http://www.jcp.org/jcr/1.0}frozenNode';
+ public const JCR_FROZEN_NODE = '{http://www.jcp.org/jcr/1.0}frozenNode';
/**
* Creates a new node at the specified $relPath.
diff --git a/src/PHPCR/NodeType/NodeTypeInterface.php b/src/PHPCR/NodeType/NodeTypeInterface.php
index 63baded..f39709c 100644
--- a/src/PHPCR/NodeType/NodeTypeInterface.php
+++ b/src/PHPCR/NodeType/NodeTypeInterface.php
@@ -28,21 +28,21 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_BASE = '{'.NS::NAMESPACE_NT.'}base';
+ public const NT_BASE = '{'.NS::NAMESPACE_NT.'}base';
/**
* A constant for the node type name nt:hierarchyNode (in extended form).
*
* @api
*/
- const NT_HIERARCHY_NODE = '{'.NS::NAMESPACE_NT.'}hierarchyNode';
+ public const NT_HIERARCHY_NODE = '{'.NS::NAMESPACE_NT.'}hierarchyNode';
/**
* A constant for the node type name nt:folder (in extended form).
*
* @api
*/
- const NT_FOLDER = '{'.NS::NAMESPACE_NT.'}folder';
+ public const NT_FOLDER = '{'.NS::NAMESPACE_NT.'}folder';
/**
* A constant for the node type name nt:file (in extended form).
@@ -51,7 +51,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_FILE = '{'.NS::NAMESPACE_NT.'}file';
+ public const NT_FILE = '{'.NS::NAMESPACE_NT.'}file';
/**
* A constant for the node type name nt:linkedFile (in extended form).
@@ -60,7 +60,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_LINKED_FILE = '{'.NS::NAMESPACE_NT.'}linkedFile';
+ public const NT_LINKED_FILE = '{'.NS::NAMESPACE_NT.'}linkedFile';
/**
* A constant for the node type name nt:resource (in extended form).
@@ -69,14 +69,14 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_RESOURCE = '{'.NS::NAMESPACE_NT.'}resource';
+ public const NT_RESOURCE = '{'.NS::NAMESPACE_NT.'}resource';
/**
* A constant for the node type name nt:unstructured (in extended form).
*
* @api
*/
- const NT_UNSTRUCTURED = '{'.NS::NAMESPACE_NT.'}unstructured';
+ public const NT_UNSTRUCTURED = '{'.NS::NAMESPACE_NT.'}unstructured';
/**
* A constant for the node type name nt:address (in extended form).
@@ -92,7 +92,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_ADDRESS = '{'.NS::NAMESPACE_NT.'}address';
+ public const NT_ADDRESS = '{'.NS::NAMESPACE_NT.'}address';
/**
* A constant for the node type name mix:referenceable (in extended form).
@@ -101,7 +101,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_REFERENCEABLE = '{'.NS::NAMESPACE_MIX.'}referenceable';
+ public const MIX_REFERENCEABLE = '{'.NS::NAMESPACE_MIX.'}referenceable';
/**
* A constant for the node type name mix:title (in extended form).
@@ -112,7 +112,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_TITLE = '{'.NS::NAMESPACE_MIX.'}title';
+ public const MIX_TITLE = '{'.NS::NAMESPACE_MIX.'}title';
/**
* A constant for the node type name mix:created (in extended form).
@@ -123,7 +123,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_CREATED = '{'.NS::NAMESPACE_MIX.'}created';
+ public const MIX_CREATED = '{'.NS::NAMESPACE_MIX.'}created';
/**
* A constant for the node type name mix:lastModified (in extended form).
@@ -134,7 +134,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_LAST_MODIFIED = '{'.NS::NAMESPACE_MIX.'}lastModified';
+ public const MIX_LAST_MODIFIED = '{'.NS::NAMESPACE_MIX.'}lastModified';
/**
* A constant for the node type name mix:language (in extended form).
@@ -143,7 +143,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_LANGUAGE = '{'.NS::NAMESPACE_MIX.'}language';
+ public const MIX_LANGUAGE = '{'.NS::NAMESPACE_MIX.'}language';
/**
* A constant for the node type name mix:mimeType (in extended form).
@@ -154,7 +154,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_MIMETYPE = '{'.NS::NAMESPACE_MIX.'}mimeType';
+ public const MIX_MIMETYPE = '{'.NS::NAMESPACE_MIX.'}mimeType';
/**
* A constant for the node type name nt:nodeType (in extended form).
@@ -171,7 +171,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_NODE_TYPE = '{'.NS::NAMESPACE_NT.'}nodeType';
+ public const NT_NODE_TYPE = '{'.NS::NAMESPACE_NT.'}nodeType';
/**
* A constant for the node type name nt:propertyDefinition (in extended form).
@@ -189,7 +189,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_PROPERTY_DEFINITION = '{'.NS::NAMESPACE_NT.'}propertyDefinition';
+ public const NT_PROPERTY_DEFINITION = '{'.NS::NAMESPACE_NT.'}propertyDefinition';
/**
* A constant for the node type name nt:childNodeDefinition (in extended form).
@@ -206,14 +206,14 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_CHILD_NODE_DEFINITION = '{'.NS::NAMESPACE_NT.'}childNodeDefinition';
+ public const NT_CHILD_NODE_DEFINITION = '{'.NS::NAMESPACE_NT.'}childNodeDefinition';
/**
* A constant for the node type name mix:shareable (in extended form).
*
* @api
*/
- const MIX_SHAREABLE = '{'.NS::NAMESPACE_MIX.'}shareable';
+ public const MIX_SHAREABLE = '{'.NS::NAMESPACE_MIX.'}shareable';
/**
* A constant for the node type name mix:lockable (in extended form).
@@ -224,7 +224,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_LOCKABLE = '{'.NS::NAMESPACE_MIX.'}lockable';
+ public const MIX_LOCKABLE = '{'.NS::NAMESPACE_MIX.'}lockable';
/**
* A constant for the node type name mix:lifecycle (in extended form).
@@ -235,7 +235,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_LIFECYCLE = '{'.NS::NAMESPACE_MIX.'}lifecycle';
+ public const MIX_LIFECYCLE = '{'.NS::NAMESPACE_MIX.'}lifecycle';
/**
* A constant for the node type name mix:simpleVersionable (in extended form).
@@ -244,7 +244,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_SIMPLE_VERSIONABLE = '{'.NS::NAMESPACE_MIX.'}simpleVersionable';
+ public const MIX_SIMPLE_VERSIONABLE = '{'.NS::NAMESPACE_MIX.'}simpleVersionable';
/**
* A constant for the node type name mix:versionable (in extended form).
@@ -259,7 +259,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const MIX_VERSIONABLE = '{'.NS::NAMESPACE_MIX.'}versionable';
+ public const MIX_VERSIONABLE = '{'.NS::NAMESPACE_MIX.'}versionable';
/**
* A constant for the node type name nt:versionHistory (in extended form).
@@ -272,7 +272,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_VERSION_HISTORY = '{'.NS::NAMESPACE_NT.'}versionHistory';
+ public const NT_VERSION_HISTORY = '{'.NS::NAMESPACE_NT.'}versionHistory';
/**
* A constant for the node type name nt:version (in extended form).
@@ -286,7 +286,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_VERSION = '{'.NS::NAMESPACE_NT.'}version';
+ public const NT_VERSION = '{'.NS::NAMESPACE_NT.'}version';
/**
* A constant for the node type name nt:frozenNode (in extended form).
@@ -298,7 +298,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_FROZEN_NODE = '{'.NS::NAMESPACE_NT.'}frozenNode';
+ public const NT_FROZEN_NODE = '{'.NS::NAMESPACE_NT.'}frozenNode';
/**
* A constant for the node type name nt:versionedChild (in extended form).
@@ -307,7 +307,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_VERSIONED_CHILD = '{'.NS::NAMESPACE_NT.'}versionedChild';
+ public const NT_VERSIONED_CHILD = '{'.NS::NAMESPACE_NT.'}versionedChild';
/**
* A constant for the node type name nt:activity (in extended form).
@@ -316,7 +316,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_ACTIVITY = '{'.NS::NAMESPACE_NT.'}activity';
+ public const NT_ACTIVITY = '{'.NS::NAMESPACE_NT.'}activity';
/**
* A constant for the node type name nt:configuration (in extended form).
@@ -325,7 +325,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_CONFIGURATION = '{'.NS::NAMESPACE_NT.'}configuration';
+ public const NT_CONFIGURATION = '{'.NS::NAMESPACE_NT.'}configuration';
/**
* A constant for the node type name nt:query (in extended form).
@@ -336,7 +336,7 @@ interface NodeTypeInterface extends NodeTypeDefinitionInterface
*
* @api
*/
- const NT_QUERY = '{'.NS::NAMESPACE_NT.'}query';
+ public const NT_QUERY = '{'.NS::NAMESPACE_NT.'}query';
/**#@-*/
diff --git a/src/PHPCR/Observation/EventInterface.php b/src/PHPCR/Observation/EventInterface.php
index 1407895..a788805 100644
--- a/src/PHPCR/Observation/EventInterface.php
+++ b/src/PHPCR/Observation/EventInterface.php
@@ -27,7 +27,7 @@ interface EventInterface
*
* @api
*/
- const NODE_ADDED = 0x1;
+ public const NODE_ADDED = 0x1;
/**
* Generated on persist when a node is removed.
@@ -37,7 +37,7 @@ interface EventInterface
*
* @api
*/
- const NODE_REMOVED = 0x2;
+ public const NODE_REMOVED = 0x2;
/**
* Generated on persist when a property is added.
@@ -47,7 +47,7 @@ interface EventInterface
*
* @api
*/
- const PROPERTY_ADDED = 0x4;
+ public const PROPERTY_ADDED = 0x4;
/**
* Generated on persist when a property is removed.
@@ -57,7 +57,7 @@ interface EventInterface
*
* @api
*/
- const PROPERTY_REMOVED = 0x8;
+ public const PROPERTY_REMOVED = 0x8;
/**
* Generated on persist when a property is changed.
@@ -67,7 +67,7 @@ interface EventInterface
*
* @api
*/
- const PROPERTY_CHANGED = 0x10;
+ public const PROPERTY_CHANGED = 0x10;
/**
* Generated on persist when a node is moved.
@@ -85,7 +85,7 @@ interface EventInterface
*
* @api
*/
- const NODE_MOVED = 0x20;
+ public const NODE_MOVED = 0x20;
/**
* If event bundling is supported, this event is used to indicate a
@@ -96,7 +96,7 @@ interface EventInterface
*
* @api
*/
- const PERSIST = 0x40;
+ public const PERSIST = 0x40;
/**#@-*/
diff --git a/src/PHPCR/PropertyInterface.php b/src/PHPCR/PropertyInterface.php
index faf27c0..17d5967 100644
--- a/src/PHPCR/PropertyInterface.php
+++ b/src/PHPCR/PropertyInterface.php
@@ -48,7 +48,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PRIMARY_TYPE = '{http://www.jcp.org/jcr/1.0}primaryType';
+ public const JCR_PRIMARY_TYPE = '{http://www.jcp.org/jcr/1.0}primaryType';
/**
* A constant for the property name jcr:mixinTypes (in extended form),
@@ -56,7 +56,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_MIXIN_TYPES = '{http://www.jcp.org/jcr/1.0}mixinTypes';
+ public const JCR_MIXIN_TYPES = '{http://www.jcp.org/jcr/1.0}mixinTypes';
/**
* A constant for the property name jcr:content (in extended form),
@@ -66,7 +66,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CONTENT = '{http://www.jcp.org/jcr/1.0}content';
+ public const JCR_CONTENT = '{http://www.jcp.org/jcr/1.0}content';
/**
* A constant for the property name jcr:data (in extended form),
@@ -74,7 +74,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_DATA = '{http://www.jcp.org/jcr/1.0}data';
+ public const JCR_DATA = '{http://www.jcp.org/jcr/1.0}data';
/**
* A constant for the property name jcr:protocol (in extended form),
@@ -82,7 +82,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PROTOCOL = '{http://www.jcp.org/jcr/1.0}protocol';
+ public const JCR_PROTOCOL = '{http://www.jcp.org/jcr/1.0}protocol';
/**
* A constant for the property name jcr:host (in extended form),
@@ -90,7 +90,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_HOST = '{http://www.jcp.org/jcr/1.0}host';
+ public const JCR_HOST = '{http://www.jcp.org/jcr/1.0}host';
/**
* A constant for the property name jcr:port (in extended form),
@@ -98,7 +98,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PORT = '{http://www.jcp.org/jcr/1.0}port';
+ public const JCR_PORT = '{http://www.jcp.org/jcr/1.0}port';
/**
* A constant for the property name jcr:repository (in extended form),
@@ -106,7 +106,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_REPOSITORY = '{http://www.jcp.org/jcr/1.0repository';
+ public const JCR_REPOSITORY = '{http://www.jcp.org/jcr/1.0repository';
/**
* A constant for the property name jcr:workspace (in extended form),
@@ -114,7 +114,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_WORKSPACE = '{http://www.jcp.org/jcr/1.0}workspace';
+ public const JCR_WORKSPACE = '{http://www.jcp.org/jcr/1.0}workspace';
/**
* A constant for the property name jcr:path (in extended form),
@@ -122,7 +122,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PATH = '{http://www.jcp.org/jcr/1.0}path';
+ public const JCR_PATH = '{http://www.jcp.org/jcr/1.0}path';
/**
* A constant for the property name jcr:id (in extended form),
@@ -130,7 +130,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_ID = '{http://www.jcp.org/jcr/1.0}id';
+ public const JCR_ID = '{http://www.jcp.org/jcr/1.0}id';
/**
* A constant for the property name jcr:uuid (in extended form),
@@ -138,7 +138,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_UUID = '{http://www.jcp.org/jcr/1.0}uuid';
+ public const JCR_UUID = '{http://www.jcp.org/jcr/1.0}uuid';
/**
* A constant for the property name jcr:title (in extended form),
@@ -146,7 +146,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_TITLE = '{http://www.jcp.org/jcr/1.0}title';
+ public const JCR_TITLE = '{http://www.jcp.org/jcr/1.0}title';
/**
* A constant for the property name jcr:description (in extended form),
@@ -154,7 +154,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_DESCRIPTION = '{http://www.jcp.org/jcr/1.0}description';
+ public const JCR_DESCRIPTION = '{http://www.jcp.org/jcr/1.0}description';
/**
* A constant for the property name jcr:created (in extended form),
@@ -162,7 +162,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CREATED = '{http://www.jcp.org/jcr/1.0}created';
+ public const JCR_CREATED = '{http://www.jcp.org/jcr/1.0}created';
/**
* A constant for the property name jcr:createdBy (in extended form),
@@ -170,7 +170,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CREATED_BY = '{http://www.jcp.org/jcr/1.0}createdBy';
+ public const JCR_CREATED_BY = '{http://www.jcp.org/jcr/1.0}createdBy';
/**
* A constant for the property name jcr:lastModified (in extended form),
@@ -178,7 +178,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_LAST_MODIFIED = '{http://www.jcp.org/jcr/1.0}lastModified';
+ public const JCR_LAST_MODIFIED = '{http://www.jcp.org/jcr/1.0}lastModified';
/**
* A constant for the property name jcr:lastModifiedBy (in extended form),
@@ -186,7 +186,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_LAST_MODIFIED_BY = '{http://www.jcp.org/jcr/1.0}lastModifiedBy';
+ public const JCR_LAST_MODIFIED_BY = '{http://www.jcp.org/jcr/1.0}lastModifiedBy';
/**
* A constant for the property name jcr:language (in extended form),
@@ -194,7 +194,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_LANGUAGE = '{http://www.jcp.org/jcr/1.0}language';
+ public const JCR_LANGUAGE = '{http://www.jcp.org/jcr/1.0}language';
/**
* A constant for the property name jcr:mimeType (in extended form),
@@ -202,7 +202,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_MIMETYPE = '{http://www.jcp.org/jcr/1.0}mimeType';
+ public const JCR_MIMETYPE = '{http://www.jcp.org/jcr/1.0}mimeType';
/**
* A constant for the property name jcr:encoding (in extended form),
@@ -210,7 +210,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_ENCODING = '{http://www.jcp.org/jcr/1.0}encoding';
+ public const JCR_ENCODING = '{http://www.jcp.org/jcr/1.0}encoding';
/**
* A constant for the property name jcr:nodeTypeName (in extended form),
@@ -218,7 +218,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_NODE_TYPE_NAME = '{http://www.jcp.org/jcr/1.0}nodeTypeName';
+ public const JCR_NODE_TYPE_NAME = '{http://www.jcp.org/jcr/1.0}nodeTypeName';
/**
* A constant for the property name jcr:supertypes (in extended form),
@@ -226,7 +226,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_SUPERTYPES = '{http://www.jcp.org/jcr/1.0}supertypes';
+ public const JCR_SUPERTYPES = '{http://www.jcp.org/jcr/1.0}supertypes';
/**
* A constant for the property name jcr:isAbstract (in extended form),
@@ -234,7 +234,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_IS_ABSTRACT = '{http://www.jcp.org/jcr/1.0}isAbstract';
+ public const JCR_IS_ABSTRACT = '{http://www.jcp.org/jcr/1.0}isAbstract';
/**
* A constant for the property name jcr:isMixin (in extended form),
@@ -242,7 +242,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_IS_MIXIN = '{http://www.jcp.org/jcr/1.0}isMixin';
+ public const JCR_IS_MIXIN = '{http://www.jcp.org/jcr/1.0}isMixin';
/**
* A constant for the property name jcr:hasOrderableChildNodes (in extended form),
@@ -250,7 +250,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_HAS_ORDERABLE_CHILD_NODES = '{http://www.jcp.org/jcr/1.0}hasOrderableChildNodes';
+ public const JCR_HAS_ORDERABLE_CHILD_NODES = '{http://www.jcp.org/jcr/1.0}hasOrderableChildNodes';
/**
* A constant for the property name jcr:primaryItemName (in extended form),
@@ -258,7 +258,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PRIMARY_ITEM_NAME = '{http://www.jcp.org/jcr/1.0}primaryItemName';
+ public const JCR_PRIMARY_ITEM_NAME = '{http://www.jcp.org/jcr/1.0}primaryItemName';
/**
* A constant for the property name jcr:name (in extended form),
@@ -266,7 +266,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_NAME = '{http://www.jcp.org/jcr/1.0}name';
+ public const JCR_NAME = '{http://www.jcp.org/jcr/1.0}name';
/**
* A constant for the property name jcr:autoCreated (in extended form),
@@ -274,7 +274,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_AUTOCREATED = '{http://www.jcp.org/jcr/1.0}autoCreated';
+ public const JCR_AUTOCREATED = '{http://www.jcp.org/jcr/1.0}autoCreated';
/**
* A constant for the property name jcr:mandatory (in extended form),
@@ -282,7 +282,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_MANDATORY = '{http://www.jcp.org/jcr/1.0}mandatory';
+ public const JCR_MANDATORY = '{http://www.jcp.org/jcr/1.0}mandatory';
/**
* A constant for the property name jcr:protected (in extended form),
@@ -290,7 +290,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PROTECTED = '{http://www.jcp.org/jcr/1.0}protected';
+ public const JCR_PROTECTED = '{http://www.jcp.org/jcr/1.0}protected';
/**
* A constant for the property name jcr:onParentVersion (in extended form),
@@ -298,7 +298,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_ON_PARENT_VERSION = '{http://www.jcp.org/jcr/1.0}onParentVersion';
+ public const JCR_ON_PARENT_VERSION = '{http://www.jcp.org/jcr/1.0}onParentVersion';
/**
* A constant for the property name jcr:requiredType (in extended form),
@@ -306,7 +306,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_REQUIRED_TYPE = '{http://www.jcp.org/jcr/1.0}requiredType';
+ public const JCR_REQUIRED_TYPE = '{http://www.jcp.org/jcr/1.0}requiredType';
/**
* A constant for the property name jcr:valueConstraints (in extended form),
@@ -314,7 +314,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_VALUE_CONSTRAINTS = '{http://www.jcp.org/jcr/1.0}valueConstraints';
+ public const JCR_VALUE_CONSTRAINTS = '{http://www.jcp.org/jcr/1.0}valueConstraints';
/**
* A constant for the property name jcr:defaultValues (in extended form),
@@ -322,7 +322,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_DEFAULT_VALUES = '{http://www.jcp.org/jcr/1.0}defaultValues';
+ public const JCR_DEFAULT_VALUES = '{http://www.jcp.org/jcr/1.0}defaultValues';
/**
* A constant for the property name jcr:multiple (in extended form),
@@ -330,7 +330,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_MULTIPLE = '{http://www.jcp.org/jcr/1.0}multiple';
+ public const JCR_MULTIPLE = '{http://www.jcp.org/jcr/1.0}multiple';
/**
* A constant for the property name jcr:requiredPrimaryTypes (in extended form),
@@ -338,7 +338,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_REQUIRED_PRIMARY_TYPES = '{http://www.jcp.org/jcr/1.0}requiredPrimaryTypes';
+ public const JCR_REQUIRED_PRIMARY_TYPES = '{http://www.jcp.org/jcr/1.0}requiredPrimaryTypes';
/**
* A constant for the property name jcr:defaultPrimaryType (in extended form),
@@ -346,7 +346,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_DEFAULT_PRIMARY_TYPE = '{http://www.jcp.org/jcr/1.0}defaultPrimaryType';
+ public const JCR_DEFAULT_PRIMARY_TYPE = '{http://www.jcp.org/jcr/1.0}defaultPrimaryType';
/**
* A constant for the property name jcr:sameNameSiblings (in extended form),
@@ -354,7 +354,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_SAME_NAME_SIBLINGS = '{http://www.jcp.org/jcr/1.0}sameNameSiblings';
+ public const JCR_SAME_NAME_SIBLINGS = '{http://www.jcp.org/jcr/1.0}sameNameSiblings';
/**
* A constant for the property name jcr:lockOwner (in extended form),
@@ -362,7 +362,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_LOCK_OWNER = '{http://www.jcp.org/jcr/1.0}lockOwner';
+ public const JCR_LOCK_OWNER = '{http://www.jcp.org/jcr/1.0}lockOwner';
/**
* A constant for the property name jcr:lockIsDeep (in extended form),
@@ -370,7 +370,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_LOCK_IS_DEEP = '{http://www.jcp.org/jcr/1.0}lockIsDeep';
+ public const JCR_LOCK_IS_DEEP = '{http://www.jcp.org/jcr/1.0}lockIsDeep';
/**
* A constant for the property name jcr:lifecyclePolicy (in extended form),
@@ -378,7 +378,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_LIFECYCLE_POLICY = '{http://www.jcp.org/jcr/1.0}lifecyclePolicy';
+ public const JCR_LIFECYCLE_POLICY = '{http://www.jcp.org/jcr/1.0}lifecyclePolicy';
/**
* A constant for the property name jcr:currentLifecycleState (in extended form),
@@ -386,7 +386,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CURRENT_LIFECYCLE_STATE = '{http://www.jcp.org/jcr/1.0}currentLifecycleState';
+ public const JCR_CURRENT_LIFECYCLE_STATE = '{http://www.jcp.org/jcr/1.0}currentLifecycleState';
/**
* A constant for the property name jcr:isCheckedOut (in extended form),
@@ -394,7 +394,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_IS_CHECKED_OUT = '{http://www.jcp.org/jcr/1.0}isCheckedOut';
+ public const JCR_IS_CHECKED_OUT = '{http://www.jcp.org/jcr/1.0}isCheckedOut';
/**
* A constant for the property name jcr:frozenPrimaryType (in extended form),
@@ -402,7 +402,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_FROZEN_PRIMARY_TYPE = '{http://www.jcp.org/jcr/1.0}frozenPrimaryType';
+ public const JCR_FROZEN_PRIMARY_TYPE = '{http://www.jcp.org/jcr/1.0}frozenPrimaryType';
/**
* A constant for the property name jcr:frozenMixinTypes (in extended form),
@@ -410,7 +410,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_FROZEN_MIXIN_TYPES = '{http://www.jcp.org/jcr/1.0}frozenMixinTypes';
+ public const JCR_FROZEN_MIXIN_TYPES = '{http://www.jcp.org/jcr/1.0}frozenMixinTypes';
/**
* A constant for the property name jcr:frozenUuid (in extended form),
@@ -418,7 +418,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_FROZEN_UUID = '{http://www.jcp.org/jcr/1.0}frozenUuid';
+ public const JCR_FROZEN_UUID = '{http://www.jcp.org/jcr/1.0}frozenUuid';
/**
* A constant for the property name jcr:versionHistory (in extended form),
@@ -426,7 +426,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_VERSION_HISTORY = '{http://www.jcp.org/jcr/1.0}versionHistory';
+ public const JCR_VERSION_HISTORY = '{http://www.jcp.org/jcr/1.0}versionHistory';
/**
* A constant for the property name jcr:baseVersion (in extended form),
@@ -434,7 +434,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_BASE_VERSION = '{http://www.jcp.org/jcr/1.0}baseVersion';
+ public const JCR_BASE_VERSION = '{http://www.jcp.org/jcr/1.0}baseVersion';
/**
* A constant for the property name jcr:predecessors (in extended form),
@@ -442,7 +442,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_PREDECESSORS = '{http://www.jcp.org/jcr/1.0}predecessors';
+ public const JCR_PREDECESSORS = '{http://www.jcp.org/jcr/1.0}predecessors';
/**
* A constant for the property name jcr:mergeFailed (in extended form),
@@ -450,7 +450,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_MERGE_FAILED = '{http://www.jcp.org/jcr/1.0}mergeFailed';
+ public const JCR_MERGE_FAILED = '{http://www.jcp.org/jcr/1.0}mergeFailed';
/**
* A constant for the property name jcr:activity (in extended form),
@@ -458,7 +458,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_ACTIVITY = '{http://www.jcp.org/jcr/1.0}activity';
+ public const JCR_ACTIVITY = '{http://www.jcp.org/jcr/1.0}activity';
/**
* A constant for the property name jcr:configuration (in extended form),
@@ -466,7 +466,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CONFIGURATION = '{http://www.jcp.org/jcr/1.0}configuration';
+ public const JCR_CONFIGURATION = '{http://www.jcp.org/jcr/1.0}configuration';
/**
* A constant for the property name jcr:versionableUuid (in extended form),
@@ -474,7 +474,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_VERSIONABLE_UUID = '{http://www.jcp.org/jcr/1.0}versionableUuid';
+ public const JCR_VERSIONABLE_UUID = '{http://www.jcp.org/jcr/1.0}versionableUuid';
/**
* A constant for the property name jcr:copiedFrom (in extended form),
@@ -482,7 +482,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_COPIED_FROM = '{http://www.jcp.org/jcr/1.0}copiedFrom';
+ public const JCR_COPIED_FROM = '{http://www.jcp.org/jcr/1.0}copiedFrom';
/**
* A constant for the property name jcr:successors (in extended form),
@@ -490,7 +490,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_SUCCESSORS = '{http://www.jcp.org/jcr/1.0}successors';
+ public const JCR_SUCCESSORS = '{http://www.jcp.org/jcr/1.0}successors';
/**
* A constant for the property name jcr:childVersionHistory (in extended form),
@@ -498,7 +498,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_CHILD_VERSION_HISTORY = '{http://www.jcp.org/jcr/1.0}childVersionHistory';
+ public const JCR_CHILD_VERSION_HISTORY = '{http://www.jcp.org/jcr/1.0}childVersionHistory';
/**
* A constant for the property name jcr:root (in extended form),
@@ -506,7 +506,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_ROOT = '{http://www.jcp.org/jcr/1.0}root';
+ public const JCR_ROOT = '{http://www.jcp.org/jcr/1.0}root';
/**
* A constant for the property name jcr:statement (in extended form),
@@ -514,7 +514,7 @@ interface PropertyInterface extends ItemInterface, Traversable
*
* @api
*/
- const JCR_STATEMENT = '{http://www.jcp.org/jcr/1.0}statement';
+ public const JCR_STATEMENT = '{http://www.jcp.org/jcr/1.0}statement';
/**
* Sets the value of this property to the value.
diff --git a/src/PHPCR/PropertyType.php b/src/PHPCR/PropertyType.php
index becb821..f09c80b 100644
--- a/src/PHPCR/PropertyType.php
+++ b/src/PHPCR/PropertyType.php
@@ -58,50 +58,50 @@ final class PropertyType
* example, it will never be returned by Property#getType and it cannot be
* assigned as the type when creating a new property.
*/
- const UNDEFINED = 0;
+ public const UNDEFINED = 0;
/**
* The STRING property type is used to store strings.
*/
- const STRING = 1;
+ public const STRING = 1;
/**
* BINARY properties are used to store binary data.
*/
- const BINARY = 2;
+ public const BINARY = 2;
/**
* The LONG property type is used to store integers.
*/
- const LONG = 3;
+ public const LONG = 3;
/**
* The DOUBLE property type is used to store floating point numbers.
*/
- const DOUBLE = 4;
+ public const DOUBLE = 4;
/**
* The DATE property type is used to store time and date information.
*/
- const DATE = 5;
+ public const DATE = 5;
/**
* The BOOLEAN property type is used to store boolean values.
*/
- const BOOLEAN = 6;
+ public const BOOLEAN = 6;
/**
* A NAME is a pairing of a namespace and a local name. When read, the
* namespace is mapped to the current prefix.
*/
- const NAME = 7;
+ public const NAME = 7;
/**
* A PATH property is an ordered list of path elements. A path element is a
* NAME with an optional index. When read, the NAMEs within the path are
* mapped to their current prefix. A path may be absolute or relative.
*/
- const PATH = 8;
+ public const PATH = 8;
/**
* A REFERENCE property stores the identifier of a referenceable node (one
@@ -110,26 +110,26 @@ final class PropertyType
* enforces this referential integrity by preventing the removal of its
* target node.
*/
- const REFERENCE = 9;
+ public const REFERENCE = 9;
/**
* A WEAKREFERENCE property stores the identifier of a referenceable node
* (one having type mix:referenceable). A WEAKREFERENCE property does not
* enforce referential integrity.
*/
- const WEAKREFERENCE = 10;
+ public const WEAKREFERENCE = 10;
/**
* A URI property is identical to STRING property except that it only
* accepts values that conform to the syntax of a URI-reference as defined
* in RFC 3986.
*/
- const URI = 11;
+ public const URI = 11;
/**
* The DECIMAL property type is used to store precise decimal numbers.
*/
- const DECIMAL = 12;
+ public const DECIMAL = 12;
/**#@-*/
@@ -139,67 +139,67 @@ final class PropertyType
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_UNDEFINED = 'undefined';
+ public const TYPENAME_UNDEFINED = 'undefined';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_STRING = 'String';
+ public const TYPENAME_STRING = 'String';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_BINARY = 'Binary';
+ public const TYPENAME_BINARY = 'Binary';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_LONG = 'Long';
+ public const TYPENAME_LONG = 'Long';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_DOUBLE = 'Double';
+ public const TYPENAME_DOUBLE = 'Double';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_DATE = 'Date';
+ public const TYPENAME_DATE = 'Date';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_BOOLEAN = 'Boolean';
+ public const TYPENAME_BOOLEAN = 'Boolean';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_NAME = 'Name';
+ public const TYPENAME_NAME = 'Name';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_PATH = 'Path';
+ public const TYPENAME_PATH = 'Path';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_REFERENCE = 'Reference';
+ public const TYPENAME_REFERENCE = 'Reference';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_WEAKREFERENCE = 'WeakReference';
+ public const TYPENAME_WEAKREFERENCE = 'WeakReference';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_URI = 'URI';
+ public const TYPENAME_URI = 'URI';
/**
* String constant for type name as used in serialization.
*/
- const TYPENAME_DECIMAL = 'Decimal';
+ public const TYPENAME_DECIMAL = 'Decimal';
/**#@-*/
diff --git a/src/PHPCR/Query/QOM/QueryObjectModelConstantsInterface.php b/src/PHPCR/Query/QOM/QueryObjectModelConstantsInterface.php
index 8271ced..2ad9db6 100644
--- a/src/PHPCR/Query/QOM/QueryObjectModelConstantsInterface.php
+++ b/src/PHPCR/Query/QOM/QueryObjectModelConstantsInterface.php
@@ -21,84 +21,84 @@ interface QueryObjectModelConstantsInterface
*
* @api
*/
- const JCR_JOIN_TYPE_INNER = 'jcr.join.type.inner';
+ public const JCR_JOIN_TYPE_INNER = 'jcr.join.type.inner';
/**
* A left-outer join.
*
* @api
*/
- const JCR_JOIN_TYPE_LEFT_OUTER = 'jcr.join.type.left.outer';
+ public const JCR_JOIN_TYPE_LEFT_OUTER = 'jcr.join.type.left.outer';
/**
* A right-outer join.
*
* @api
*/
- const JCR_JOIN_TYPE_RIGHT_OUTER = 'jcr.join.type.right.outer';
+ public const JCR_JOIN_TYPE_RIGHT_OUTER = 'jcr.join.type.right.outer';
/**
* The '=' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_EQUAL_TO = 'jcr.operator.equal.to';
+ public const JCR_OPERATOR_EQUAL_TO = 'jcr.operator.equal.to';
/**
* The '!=' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_NOT_EQUAL_TO = 'jcr.operator.not.equal.to';
+ public const JCR_OPERATOR_NOT_EQUAL_TO = 'jcr.operator.not.equal.to';
/**
* The '<' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_LESS_THAN = 'jcr.operator.less.than';
+ public const JCR_OPERATOR_LESS_THAN = 'jcr.operator.less.than';
/**
* The '<=' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO = 'jcr.operator.less.than.or.equal.to';
+ public const JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO = 'jcr.operator.less.than.or.equal.to';
/**
* The '>' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_GREATER_THAN = 'jcr.operator.greater.than';
+ public const JCR_OPERATOR_GREATER_THAN = 'jcr.operator.greater.than';
/**
* The '>=' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO = 'jcr.operator.greater.than.or.equal.to';
+ public const JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO = 'jcr.operator.greater.than.or.equal.to';
/**
* The 'like' comparison operator.
*
* @api
*/
- const JCR_OPERATOR_LIKE = 'jcr.operator.like';
+ public const JCR_OPERATOR_LIKE = 'jcr.operator.like';
/**
* Ascending order.
*
* @api
*/
- const JCR_ORDER_ASCENDING = 'jcr.order.ascending';
+ public const JCR_ORDER_ASCENDING = 'jcr.order.ascending';
/**
* Descending order.
*
* @api
*/
- const JCR_ORDER_DESCENDING = 'jcr.order.descending';
+ public const JCR_ORDER_DESCENDING = 'jcr.order.descending';
/**#@-*/
}
diff --git a/src/PHPCR/Query/QueryInterface.php b/src/PHPCR/Query/QueryInterface.php
index cd2e86d..9650023 100644
--- a/src/PHPCR/Query/QueryInterface.php
+++ b/src/PHPCR/Query/QueryInterface.php
@@ -33,28 +33,28 @@ interface QueryInterface
*
* @api
*/
- const JCR_JQOM = 'JCR-JQOM';
+ public const JCR_JQOM = 'JCR-JQOM';
/**
* A string constant representing the JCR-SQL2 query language.
*
* @api
*/
- const JCR_SQL2 = 'JCR-SQL2';
+ public const JCR_SQL2 = 'JCR-SQL2';
/**
* A string constant representing the (deprecated in JSR-283) XPATH query language.
*
* @api
*/
- const XPATH = 'xpath';
+ public const XPATH = 'xpath';
/**
* A string constant representing the (deprecated in JSR-283) SQL query language.
*
* @api
*/
- const SQL = 'sql';
+ public const SQL = 'sql';
/**#@-*/
/**
diff --git a/src/PHPCR/RepositoryInterface.php b/src/PHPCR/RepositoryInterface.php
index d0e2d47..c5e7251 100644
--- a/src/PHPCR/RepositoryInterface.php
+++ b/src/PHPCR/RepositoryInterface.php
@@ -35,7 +35,7 @@ interface RepositoryInterface
*
* @api
*/
- const SPEC_VERSION_DESC = 'jcr.specification.version';
+ public const SPEC_VERSION_DESC = 'jcr.specification.version';
/**
* The descriptor key for the name of the specification this repository
@@ -46,7 +46,7 @@ interface RepositoryInterface
*
* @api
*/
- const SPEC_NAME_DESC = 'jcr.specification.name';
+ public const SPEC_NAME_DESC = 'jcr.specification.name';
/**
* The descriptor key for the name of the repository vendor.
@@ -55,7 +55,7 @@ interface RepositoryInterface
*
* @api
*/
- const REP_VENDOR_DESC = 'jcr.repository.vendor';
+ public const REP_VENDOR_DESC = 'jcr.repository.vendor';
/**
* The descriptor key for the URL of the repository vendor.
@@ -64,7 +64,7 @@ interface RepositoryInterface
*
* @api
*/
- const REP_VENDOR_URL_DESC = 'jcr.repository.vendor.url';
+ public const REP_VENDOR_URL_DESC = 'jcr.repository.vendor.url';
/**
* The descriptor key for the name of this repository implementation.
@@ -73,7 +73,7 @@ interface RepositoryInterface
*
* @api
*/
- const REP_NAME_DESC = 'jcr.repository.name';
+ public const REP_NAME_DESC = 'jcr.repository.name';
/**
* The descriptor key for the version of this repository implementation.
@@ -82,7 +82,7 @@ interface RepositoryInterface
*
* @api
*/
- const REP_VERSION_DESC = 'jcr.repository.version';
+ public const REP_VERSION_DESC = 'jcr.repository.version';
/**
* Key to a boolean descriptor. Returns true if and only if repository
@@ -91,7 +91,7 @@ interface RepositoryInterface
*
* @api
*/
- const WRITE_SUPPORTED = 'write.supported';
+ public const WRITE_SUPPORTED = 'write.supported';
/**
* Key to a String descriptor. Returns one of the following
@@ -108,7 +108,7 @@ interface RepositoryInterface
*
* @api
*/
- const IDENTIFIER_STABILITY = 'identifier.stability';
+ public const IDENTIFIER_STABILITY = 'identifier.stability';
/**
* One of four possible values for the descriptor IDENTIFIER_STABILITY.
@@ -116,7 +116,7 @@ interface RepositoryInterface
*
* @api
*/
- const IDENTIFIER_STABILITY_METHOD_DURATION = 'identifier.stability.method.duration';
+ public const IDENTIFIER_STABILITY_METHOD_DURATION = 'identifier.stability.method.duration';
/**
* One of four possible values for the descriptor IDENTIFIER_STABILITY.
@@ -125,7 +125,7 @@ interface RepositoryInterface
*
* @api
*/
- const IDENTIFIER_STABILITY_SAVE_DURATION = 'identifier.stability.save.duration';
+ public const IDENTIFIER_STABILITY_SAVE_DURATION = 'identifier.stability.save.duration';
/**
* One of four possible values for the descriptor IDENTIFIER_STABILITY.
@@ -134,7 +134,7 @@ interface RepositoryInterface
*
* @api
*/
- const IDENTIFIER_STABILITY_SESSION_DURATION = 'identifier.stability.session.duration';
+ public const IDENTIFIER_STABILITY_SESSION_DURATION = 'identifier.stability.session.duration';
/**
* One of four possible values for the descriptor IDENTIFIER_STABILITY.
@@ -142,7 +142,7 @@ interface RepositoryInterface
*
* @api
*/
- const IDENTIFIER_STABILITY_INDEFINITE_DURATION = 'identifier.stability.indefinite.duration';
+ public const IDENTIFIER_STABILITY_INDEFINITE_DURATION = 'identifier.stability.indefinite.duration';
/**
* Key to a boolean descriptor. Returns true if and only if XML export is
@@ -150,7 +150,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_XML_EXPORT_SUPPORTED = 'option.xml.export.supported';
+ public const OPTION_XML_EXPORT_SUPPORTED = 'option.xml.export.supported';
/**
* Key to a boolean descriptor. Returns true if and only if XML import is
@@ -158,7 +158,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_XML_IMPORT_SUPPORTED = 'option.xml.import.supported';
+ public const OPTION_XML_IMPORT_SUPPORTED = 'option.xml.import.supported';
/**
* Key to a boolean descriptor. Returns true if and only if unfiled content
@@ -166,7 +166,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_UNFILED_CONTENT_SUPPORTED = 'option.unfiled.content.supported';
+ public const OPTION_UNFILED_CONTENT_SUPPORTED = 'option.unfiled.content.supported';
/**
* Key to a boolean descriptor. Returns true if and only if full versioning
@@ -174,7 +174,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_VERSIONING_SUPPORTED = 'option.versioning.supported';
+ public const OPTION_VERSIONING_SUPPORTED = 'option.versioning.supported';
/**
* Key to a boolean descriptor. Returns true if and only if simple
@@ -182,7 +182,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_SIMPLE_VERSIONING_SUPPORTED = 'option.simple.versioning.supported';
+ public const OPTION_SIMPLE_VERSIONING_SUPPORTED = 'option.simple.versioning.supported';
/**
* Key to a boolean descriptor. Returns true if and only if activities are
@@ -190,7 +190,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_ACTIVITIES_SUPPORTED = 'option.activities.supported';
+ public const OPTION_ACTIVITIES_SUPPORTED = 'option.activities.supported';
/**
* Key to a boolean descriptor. Returns true if and only if configurations
@@ -198,7 +198,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_BASELINES_SUPPORTED = 'option.baselines.supported';
+ public const OPTION_BASELINES_SUPPORTED = 'option.baselines.supported';
/**
* Key to a boolean descriptor. Returns true if and only if access control
@@ -206,7 +206,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_ACCESS_CONTROL_SUPPORTED = 'option.access.control.supported';
+ public const OPTION_ACCESS_CONTROL_SUPPORTED = 'option.access.control.supported';
/**
* Key to a boolean descriptor. Returns true if and only if locking is
@@ -214,7 +214,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_LOCKING_SUPPORTED = 'option.locking.supported';
+ public const OPTION_LOCKING_SUPPORTED = 'option.locking.supported';
/**
* Key to a boolean descriptor. Returns true if and only if asynchronous
@@ -222,7 +222,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_OBSERVATION_SUPPORTED = 'option.observation.supported';
+ public const OPTION_OBSERVATION_SUPPORTED = 'option.observation.supported';
/**
* Key to a boolean descriptor. Returns true if and only if journaled
@@ -230,7 +230,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_JOURNALED_OBSERVATION_SUPPORTED = 'option.journaled.observation.supported';
+ public const OPTION_JOURNALED_OBSERVATION_SUPPORTED = 'option.journaled.observation.supported';
/**
* Key to a boolean descriptor. Returns true if and only if retention and
@@ -238,7 +238,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_RETENTION_SUPPORTED = 'option.retention.supported';
+ public const OPTION_RETENTION_SUPPORTED = 'option.retention.supported';
/**
* Key to a boolean descriptor. Returns true if and only if lifecycles are
@@ -246,7 +246,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_LIFECYCLE_SUPPORTED = 'option.lifecycle.supported';
+ public const OPTION_LIFECYCLE_SUPPORTED = 'option.lifecycle.supported';
/**
* Key to a boolean descriptor. Returns true if and only if transactions
@@ -254,7 +254,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_TRANSACTIONS_SUPPORTED = 'option.transactions.supported';
+ public const OPTION_TRANSACTIONS_SUPPORTED = 'option.transactions.supported';
/**
* Key to a boolean descriptor. Returns true if and only if workspace
@@ -262,7 +262,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_WORKSPACE_MANAGEMENT_SUPPORTED = 'option.workspace.management.supported';
+ public const OPTION_WORKSPACE_MANAGEMENT_SUPPORTED = 'option.workspace.management.supported';
/**
* Key to a boolean descriptor. Returns true if and only if the primary
@@ -270,7 +270,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_UPDATE_PRIMARY_NODETYPE_SUPPORTED = 'option.update.primary.nodetype.supported';
+ public const OPTION_UPDATE_PRIMARY_NODETYPE_SUPPORTED = 'option.update.primary.nodetype.supported';
/**
* Key to a boolean descriptor. Returns true if and only if the mixin node
@@ -278,7 +278,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_UPDATE_MIXIN_NODETYPES_SUPPORTED = 'option.update.mixin.nodetypes.supported';
+ public const OPTION_UPDATE_MIXIN_NODETYPES_SUPPORTED = 'option.update.mixin.nodetypes.supported';
/**
* Key to a boolean descriptor. Returns true if and only if the creation of
@@ -286,7 +286,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_SHAREABLE_NODES_SUPPORTED = 'option.shareable.nodes.supported';
+ public const OPTION_SHAREABLE_NODES_SUPPORTED = 'option.shareable.nodes.supported';
/**
* Key to a boolean descriptor. Returns true if and only if node type
@@ -294,7 +294,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_NODE_TYPE_MANAGEMENT_SUPPORTED = 'option.node.type.management.supported';
+ public const OPTION_NODE_TYPE_MANAGEMENT_SUPPORTED = 'option.node.type.management.supported';
/**
* Key to a boolean descriptor. Returns true if and only if node and
@@ -302,7 +302,7 @@ interface RepositoryInterface
*
* @api
*/
- const OPTION_NODE_AND_PROPERTY_WITH_SAME_NAME_SUPPORTED = 'option.node.and.property.with.same.name.supported';
+ public const OPTION_NODE_AND_PROPERTY_WITH_SAME_NAME_SUPPORTED = 'option.node.and.property.with.same.name.supported';
/**
* Key to string descriptor. Returns one of the following
@@ -324,7 +324,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_INHERITANCE = 'node.type.management.inheritance';
+ public const NODE_TYPE_MANAGEMENT_INHERITANCE = 'node.type.management.inheritance';
/**
* One of three possible values for the descriptor
@@ -336,7 +336,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_INHERITANCE_MINIMAL = 'node.type.management.inheritance.minimal';
+ public const NODE_TYPE_MANAGEMENT_INHERITANCE_MINIMAL = 'node.type.management.inheritance.minimal';
/**
* One of three possible values for the descriptor
@@ -348,7 +348,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_INHERITANCE_SINGLE = 'node.type.management.inheritance.single';
+ public const NODE_TYPE_MANAGEMENT_INHERITANCE_SINGLE = 'node.type.management.inheritance.single';
/**
* One of three possible values for the descriptor
@@ -360,7 +360,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_INHERITANCE_MULTIPLE = 'node.type.management.inheritance.multiple';
+ public const NODE_TYPE_MANAGEMENT_INHERITANCE_MULTIPLE = 'node.type.management.inheritance.multiple';
/**
* Key to a boolean descriptor. Returns true if and only if override of
@@ -368,7 +368,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_OVERRIDES_SUPPORTED = 'node.type.management.overrides.supported';
+ public const NODE_TYPE_MANAGEMENT_OVERRIDES_SUPPORTED = 'node.type.management.overrides.supported';
/**
* Key to a boolean descriptor. Returns true if and only if primary items
@@ -376,7 +376,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_PRIMARY_ITEM_NAME_SUPPORTED = 'node.type.management.primary.item.name.supported';
+ public const NODE_TYPE_MANAGEMENT_PRIMARY_ITEM_NAME_SUPPORTED = 'node.type.management.primary.item.name.supported';
/**
* Key to a boolean descriptor. Returns true if and only if preservation of
@@ -384,7 +384,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_ORDERABLE_CHILD_NODES_SUPPORTED = 'node.type.management.orderable.child.nodes.supported';
+ public const NODE_TYPE_MANAGEMENT_ORDERABLE_CHILD_NODES_SUPPORTED = 'node.type.management.orderable.child.nodes.supported';
/**
* Key to a boolean descriptor. Returns true if and only if residual
@@ -392,7 +392,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_RESIDUAL_DEFINITIONS_SUPPORTED = 'node.type.management.residual.definitions.supported';
+ public const NODE_TYPE_MANAGEMENT_RESIDUAL_DEFINITIONS_SUPPORTED = 'node.type.management.residual.definitions.supported';
/**
* Key to a boolean descriptor. Returns true if and only if autocreated
@@ -400,7 +400,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_AUTOCREATED_DEFINITIONS_SUPPORTED = 'node.type.management.autocreated.definitions.supported';
+ public const NODE_TYPE_MANAGEMENT_AUTOCREATED_DEFINITIONS_SUPPORTED = 'node.type.management.autocreated.definitions.supported';
/**
* Key to a boolean descriptor. Returns true if and only if same-name
@@ -408,7 +408,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_SAME_NAME_SIBLINGS_SUPPORTED = 'node.type.management.same.name.siblings.supported';
+ public const NODE_TYPE_MANAGEMENT_SAME_NAME_SIBLINGS_SUPPORTED = 'node.type.management.same.name.siblings.supported';
/**
* Key to an integer[] descriptor. Returns an array holding the
@@ -419,7 +419,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_PROPERTY_TYPES = 'node.type.management.property.types';
+ public const NODE_TYPE_MANAGEMENT_PROPERTY_TYPES = 'node.type.management.property.types';
/**
* Key to a boolean descriptor. Returns true if and only if multivalue
@@ -427,7 +427,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_MULTIVALUED_PROPERTIES_SUPPORTED = 'node.type.management.multivalued.properties.supported';
+ public const NODE_TYPE_MANAGEMENT_MULTIVALUED_PROPERTIES_SUPPORTED = 'node.type.management.multivalued.properties.supported';
/**
* Key to a boolean descriptor. Returns true if and only if registration of
@@ -435,7 +435,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_MULTIPLE_BINARY_PROPERTIES_SUPPORTED = 'node.type.management.multiple.binary.properties.supported';
+ public const NODE_TYPE_MANAGEMENT_MULTIPLE_BINARY_PROPERTIES_SUPPORTED = 'node.type.management.multiple.binary.properties.supported';
/**
* Key to a boolean descriptor. Returns true if and only value-constraints
@@ -443,7 +443,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_VALUE_CONSTRAINTS_SUPPORTED = 'node.type.management.value.constraints.supported';
+ public const NODE_TYPE_MANAGEMENT_VALUE_CONSTRAINTS_SUPPORTED = 'node.type.management.value.constraints.supported';
/**
* Key to boolean descriptor. Indicates that you can change node definitions
@@ -455,7 +455,7 @@ interface RepositoryInterface
*
* @api
*/
- const NODE_TYPE_MANAGEMENT_UPDATE_IN_USE_SUPPORTED = 'node.type.management.update.in.use.supported';
+ public const NODE_TYPE_MANAGEMENT_UPDATE_IN_USE_SUPPORTED = 'node.type.management.update.in.use.supported';
/**
* Key to a string[] descriptor. Returns an array holding the constants
@@ -464,7 +464,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_LANGUAGES = 'query.languages';
+ public const QUERY_LANGUAGES = 'query.languages';
/**
* Key to a boolean descriptor. Returns true if and only if stored queries
@@ -472,7 +472,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_STORED_QUERIES_SUPPORTED = 'query.stored.queries.supported';
+ public const QUERY_STORED_QUERIES_SUPPORTED = 'query.stored.queries.supported';
/**
* Key to a boolean descriptor. Returns true if and only if full-text
@@ -480,7 +480,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_FULL_TEXT_SEARCH_SUPPORTED = 'query.full.text.search.supported';
+ public const QUERY_FULL_TEXT_SEARCH_SUPPORTED = 'query.full.text.search.supported';
/**
* Key to String descriptor. Returns one of the following
@@ -494,7 +494,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_JOINS = 'query.joins';
+ public const QUERY_JOINS = 'query.joins';
/**
* One of three possible values for the descriptor QUERY_JOINS . Indicates
@@ -502,7 +502,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_JOINS_NONE = 'query.joins.none';
+ public const QUERY_JOINS_NONE = 'query.joins.none';
/**
* One of three possible values for the descriptor QUERY_JOINS . Indicates
@@ -510,7 +510,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_JOINS_INNER = 'query.joins.inner';
+ public const QUERY_JOINS_INNER = 'query.joins.inner';
/**
* One of three possible values for the descriptor QUERY_JOINS . Indicates
@@ -518,7 +518,7 @@ interface RepositoryInterface
*
* @api
*/
- const QUERY_JOINS_INNER_OUTER = 'query.joins.inner.outer';
+ public const QUERY_JOINS_INNER_OUTER = 'query.joins.inner.outer';
/**
* Key to a boolean descriptor. Returns true if
@@ -526,7 +526,7 @@ interface RepositoryInterface
*
* @since JCR 2.1
*/
- const QUERY_CANCEL_SUPPORTED = 'query.cancel.supported';
+ public const QUERY_CANCEL_SUPPORTED = 'query.cancel.supported';
/**
* Authenticates the user using the supplied credentials.
diff --git a/src/PHPCR/Security/PrivilegeInterface.php b/src/PHPCR/Security/PrivilegeInterface.php
index eaa734d..277060a 100644
--- a/src/PHPCR/Security/PrivilegeInterface.php
+++ b/src/PHPCR/Security/PrivilegeInterface.php
@@ -37,7 +37,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_READ = '{'.NS::NAMESPACE_JCR.'}read';
+ public const JCR_READ = '{'.NS::NAMESPACE_JCR.'}read';
/**
* A constant representing jcr:modifyProperties (in extended form), the
@@ -45,7 +45,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_MODIFY_PROPERTIES = '{'.NS::NAMESPACE_JCR.'}modifyProperties';
+ public const JCR_MODIFY_PROPERTIES = '{'.NS::NAMESPACE_JCR.'}modifyProperties';
/**
* A constant representing jcr:addChildNodes (in extended form), the
@@ -53,7 +53,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_ADD_CHILD_NODES = '{'.NS::NAMESPACE_JCR.'}addChildNodes';
+ public const JCR_ADD_CHILD_NODES = '{'.NS::NAMESPACE_JCR.'}addChildNodes';
/**
* A constant representing jcr:removeNode (in extended form), the privilege
@@ -70,7 +70,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_REMOVE_NODE = '{'.NS::NAMESPACE_JCR.'}removeNode';
+ public const JCR_REMOVE_NODE = '{'.NS::NAMESPACE_JCR.'}removeNode';
/**
* A constant representing jcr:removeChildNodes (in extended form), the
@@ -87,7 +87,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_REMOVE_CHILD_NODES = '{'.NS::NAMESPACE_JCR.'}removeChildNodes';
+ public const JCR_REMOVE_CHILD_NODES = '{'.NS::NAMESPACE_JCR.'}removeChildNodes';
/**
* A constant representing jcr:write (in extended form), an aggregate
@@ -100,7 +100,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_WRITE = '{'.NS::NAMESPACE_JCR.'}write';
+ public const JCR_WRITE = '{'.NS::NAMESPACE_JCR.'}write';
/**
* A constant representing jcr:readAccessControl (in extended form), the
@@ -108,7 +108,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_READ_ACCESS_CONTROL = '{'.NS::NAMESPACE_JCR.'}readAccessControl';
+ public const JCR_READ_ACCESS_CONTROL = '{'.NS::NAMESPACE_JCR.'}readAccessControl';
/**
* A constant representing jcr:modifyAccessControl (in extended form), the
@@ -116,7 +116,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_MODIFY_ACCESS_CONTROL = '{'.NS::NAMESPACE_JCR.'}modifyAccessControl';
+ public const JCR_MODIFY_ACCESS_CONTROL = '{'.NS::NAMESPACE_JCR.'}modifyAccessControl';
/**
* A constant representing jcr:lockManagement (in extended form), the
@@ -124,7 +124,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_LOCK_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}lockManagement';
+ public const JCR_LOCK_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}lockManagement';
/**
* A constant representing jcr:versionManagement (in extended form), the
@@ -132,7 +132,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_VERSION_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}versionManagement';
+ public const JCR_VERSION_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}versionManagement';
/**
* A constant representing jcr:nodeTypeManagement (in extended form), the
@@ -141,7 +141,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_NODE_TYPE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}nodeTypeManagement';
+ public const JCR_NODE_TYPE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}nodeTypeManagement';
/**
* A constant representing jcr:retentionManagement (in extended form), the
@@ -149,7 +149,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_RETENTION_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}retentionManagement';
+ public const JCR_RETENTION_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}retentionManagement';
/**
* A constant representing jcr:lifecycleManagement (in extended form), the
@@ -157,26 +157,26 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_LIFECYCLE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}lifecycleManagement';
+ public const JCR_LIFECYCLE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}lifecycleManagement';
/**
* A constant representing jcr:workspaceManagement
(in expanded
* form), the privilege to create and remove workspaces in the repository.
*/
- const JCR_WORKSPACE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}workspaceManagement';
+ public const JCR_WORKSPACE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}workspaceManagement';
/**
* A constant representing jcr:nodeTypeDefinitionManagement
(in expanded
* form), the privilege to register, unregister and change the definitions
* of node type in the repository.
*/
- const JCR_NODE_TYPE_DEFINITION_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}nodeTypeDefinitionManagement';
+ public const JCR_NODE_TYPE_DEFINITION_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}nodeTypeDefinitionManagement';
/**
* A constant representing jcr:namespaceManagement
(in expanded
* form), the privilege to register, unregister and modify namespace definitions.
*/
- const JCR_NAMESPACE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}namespaceManagement';
+ public const JCR_NAMESPACE_MANAGEMENT = '{'.NS::NAMESPACE_JCR.'}namespaceManagement';
/**
* A constant representing jcr:all (in extended form), an aggregate
@@ -199,7 +199,7 @@ interface PrivilegeInterface
*
* @api
*/
- const JCR_ALL = '{'.NS::NAMESPACE_JCR.'}all';
+ public const JCR_ALL = '{'.NS::NAMESPACE_JCR.'}all';
/**
* Returns the name of this privilege.
diff --git a/src/PHPCR/SessionInterface.php b/src/PHPCR/SessionInterface.php
index 4d04314..99cda8f 100644
--- a/src/PHPCR/SessionInterface.php
+++ b/src/PHPCR/SessionInterface.php
@@ -48,7 +48,7 @@ interface SessionInterface
*
* @api
*/
- const ACTION_ADD_NODE = 'add_node';
+ public const ACTION_ADD_NODE = 'add_node';
/**
* A constant representing the read action string, used to determine if
@@ -57,7 +57,7 @@ interface SessionInterface
*
* @api
*/
- const ACTION_READ = 'read';
+ public const ACTION_READ = 'read';
/**
* A constant representing the remove action string, used to determine if
@@ -65,7 +65,7 @@ interface SessionInterface
*
* @api
*/
- const ACTION_REMOVE = 'remove';
+ public const ACTION_REMOVE = 'remove';
/**
* A constant representing the set_property action string, used to
@@ -74,7 +74,7 @@ interface SessionInterface
*
* @api
*/
- const ACTION_SET_PROPERTY = 'set_property';
+ public const ACTION_SET_PROPERTY = 'set_property';
/**#@-*/
diff --git a/src/PHPCR/Version/OnParentVersionAction.php b/src/PHPCR/Version/OnParentVersionAction.php
index e52cfee..65cd1d6 100644
--- a/src/PHPCR/Version/OnParentVersionAction.php
+++ b/src/PHPCR/Version/OnParentVersionAction.php
@@ -37,42 +37,42 @@ final class OnParentVersionAction
*
* @api
*/
- const COPY = 1;
+ public const COPY = 1;
/**
* The VERSION action constant.
*
* @api
*/
- const VERSION = 2;
+ public const VERSION = 2;
/**
* The INITIALIZE action constant.
*
* @api
*/
- const INITIALIZE = 3;
+ public const INITIALIZE = 3;
/**
* The COMPUTE action constant.
*
* @api
*/
- const COMPUTE = 4;
+ public const COMPUTE = 4;
/**
* The IGNORE action constant.
*
* @api
*/
- const IGNORE = 5;
+ public const IGNORE = 5;
/**
* The ABORT action constant.
*
* @api
*/
- const ABORT = 6;
+ public const ABORT = 6;
/**#@-*/
/**#@+
@@ -84,42 +84,42 @@ final class OnParentVersionAction
*
* @api
*/
- const ACTIONNAME_COPY = 'COPY';
+ public const ACTIONNAME_COPY = 'COPY';
/**
* The name of the VERSION on-version action, as used in serialization.
*
* @api
*/
- const ACTIONNAME_VERSION = 'VERSION';
+ public const ACTIONNAME_VERSION = 'VERSION';
/**
* The name of the INITIALIZE on-version action, as used in serialization.
*
* @api
*/
- const ACTIONNAME_INITIALIZE = 'INITIALIZE';
+ public const ACTIONNAME_INITIALIZE = 'INITIALIZE';
/**
* The name of the COMPUTE on-version action, as used in serialization.
*
* @api
*/
- const ACTIONNAME_COMPUTE = 'COMPUTE';
+ public const ACTIONNAME_COMPUTE = 'COMPUTE';
/**
* The name of the IGNORE on-version action, as used in serialization.
*
* @api
*/
- const ACTIONNAME_IGNORE = 'IGNORE';
+ public const ACTIONNAME_IGNORE = 'IGNORE';
/**
* The name of the ABORT on-version action, as used in serialization.
*
* @api
*/
- const ACTIONNAME_ABORT = 'ABORT';
+ public const ACTIONNAME_ABORT = 'ABORT';
/**#@-*/
diff --git a/src/PHPCR/WorkspaceInterface.php b/src/PHPCR/WorkspaceInterface.php
index 7b91386..31a5be6 100644
--- a/src/PHPCR/WorkspaceInterface.php
+++ b/src/PHPCR/WorkspaceInterface.php
@@ -33,21 +33,21 @@ interface WorkspaceInterface
*
* @api
*/
- const NAME_WORKSPACE_ROOT = '';
+ public const NAME_WORKSPACE_ROOT = '';
/**
* A constant for the absolute path of the workspace root node.
*
* @api
*/
- const PATH_WORKSPACE_ROOT = '/';
+ public const PATH_WORKSPACE_ROOT = '/';
/**
* A constant for the name of the system node.
*
* @api
*/
- const NAME_SYSTEM_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system';
+ public const NAME_SYSTEM_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system';
/**
* A constant for the absolute path of the system node.
@@ -55,14 +55,14 @@ interface WorkspaceInterface
*
* @api
*/
- const PATH_SYSTEM_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system';
+ public const PATH_SYSTEM_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system';
/**
* A constant for the name of the node type definition storage node.
*
* @api
*/
- const NAME_NODE_TYPES_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}nodeTypes';
+ public const NAME_NODE_TYPES_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}nodeTypes';
/**
* A constant for the absolute path of the node type definition storage node.
@@ -70,14 +70,14 @@ interface WorkspaceInterface
*
* @api
*/
- const PATH_NODE_TYPES_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}nodeTypes';
+ public const PATH_NODE_TYPES_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}nodeTypes';
/**
* A constant for the name of the version storage node.
*
* @api
*/
- const NAME_VERSION_STORAGE_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}versionStorage';
+ public const NAME_VERSION_STORAGE_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}versionStorage';
/**
* A constant for the absolute path of the version storage node.
@@ -85,14 +85,14 @@ interface WorkspaceInterface
*
* @api
*/
- const PATH_VERSION_STORAGE_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}versionStorage';
+ public const PATH_VERSION_STORAGE_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}versionStorage';
/**
* A constant for the name of the activities node.
*
* @api
*/
- const NAME_ACTIVITIES_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}activities';
+ public const NAME_ACTIVITIES_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}activities';
/**
* A constant for the absolute path of the activities node.
@@ -100,14 +100,14 @@ interface WorkspaceInterface
*
* @api
*/
- const PATH_ACTIVITIES_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}activities';
+ public const PATH_ACTIVITIES_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}activities';
/**
* A constant for the name of the configurations node.
*
* @api
*/
- const NAME_CONFIGURATIONS_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}configurations';
+ public const NAME_CONFIGURATIONS_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}configurations';
/**
* A constant for the absolute path of the configurations node.
@@ -115,14 +115,14 @@ interface WorkspaceInterface
*
* @api
*/
- const PATH_CONFIGURATIONS_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{http://www.jcp.org/jcr/1.0}configurations';
+ public const PATH_CONFIGURATIONS_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{http://www.jcp.org/jcr/1.0}configurations';
/**
* A constant for the name of the unfiled storage node.
*
* @api
*/
- const NAME_UNFILED_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}unfiled';
+ public const NAME_UNFILED_NODE = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}unfiled';
/**
* A constant for the absolute path of the unfiled storage node.
@@ -130,21 +130,21 @@ interface WorkspaceInterface
*
* @api
*/
- const PATH_UNFILED_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}unfiled';
+ public const PATH_UNFILED_NODE = '/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}system/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}unfiled';
/**
* A constant for the name of the jcr:xmltext node produced on importXML().
*
* @api
*/
- const NAME_JCR_XMLTEXT = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmltext';
+ public const NAME_JCR_XMLTEXT = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmltext';
/**
* A constant for the name of the jcr:xmlcharacters property produced on importXML().
*
* @api
*/
- const NAME_JCR_XMLCHARACTERS = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmlcharacters';
+ public const NAME_JCR_XMLCHARACTERS = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmlcharacters';
/**
* A constant for the relative path from the node representing the imported XML element of
@@ -153,7 +153,7 @@ interface WorkspaceInterface
*
* @api
*/
- const RELPATH_JCR_XMLCHARACTERS = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmltext/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmlcharacters';
+ public const RELPATH_JCR_XMLCHARACTERS = '{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmltext/{'.NamespaceRegistryInterface::NAMESPACE_JCR.'}xmlcharacters';
/**#@-*/