adds namespace declarations to files

This commit is contained in:
Tristan 2025-01-09 15:33:45 +01:00
parent edd8a7eb70
commit 9dad5a4aa7
8 changed files with 15 additions and 3 deletions

View file

@ -4,7 +4,7 @@
"type": "library",
"autoload": {
"psr-4": {
"Thedevstack\\PhpXmpp\\": "src/"
"thedevstack\\phpxmpp\\": "src/"
}
},
"authors": [

Binary file not shown.

View file

@ -37,5 +37,7 @@
* @copyright 2008 Nathanael C. Fritz
* @version $Id$
*/
namespace thedevstack\phpxmpp;
class XMPPException extends \Exception {
}

View file

@ -37,6 +37,8 @@
* @copyright 2008 Nathanael C. Fritz
* @version $Id$
*/
namespace thedevstack\phpxmpp;
class Roster {
/**
* Roster array, handles contacts and presence. Indexed by jid.

View file

@ -37,6 +37,8 @@
* @copyright 2008 Nathanael C. Fritz
* @version $Id$
*/
namespace thedevstack\phpxmpp;
class XMLObj {
/**
* Tag name

View file

@ -37,6 +37,8 @@
* @copyright 2008 Nathanael C. Fritz
* @version $Id$
*/
namespace thedevstack\phpxmpp;
class XMLStream {
/**
* @var resource

View file

@ -37,6 +37,8 @@
* @copyright 2008 Nathanael C. Fritz
* @version $Id$
*/
namespace thedevstack\phpxmpp;
class XMPP extends XMLStream {
/**
* @var string

View file

@ -37,6 +37,8 @@
* @copyright 2008 Nathanael C. Fritz
* @version $Id$
*/
namespace thedevstack\phpxmpp;
class XMPPLog {
const LEVEL_ERROR = 0;