Skip to content

Commit

Permalink
Fix class naming / file names to comply with PSR-4 autoloader
Browse files Browse the repository at this point in the history
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
  • Loading branch information
dkgroot committed Apr 10, 2020
1 parent 146af82 commit ff02d15
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/PAMI/Message/Action/ConfbridgeListAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfBridgeListAction extends ActionMessage
class ConfbridgeListAction extends ActionMessage
{
/**
* Constructor.
Expand Down
2 changes: 1 addition & 1 deletion src/PAMI/Message/Action/SCCPCallForwardAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class SCCPCallforwardAction extends ActionMessage
class SCCPCallForwardAction extends ActionMessage
{
/**
* Constructor.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/PAMI/Message/Event/ListDialplanEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ListDialPlanEvent extends EventMessage
class ListDialplanEvent extends EventMessage
{
/**
* Returns key: 'Context'.
Expand Down
2 changes: 1 addition & 1 deletion src/PAMI/Message/Event/NewExtenEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class NewextenEvent extends EventMessage
class NewExtenEvent extends EventMessage
{
/**
* Returns key: 'Privilege'.
Expand Down
6 changes: 3 additions & 3 deletions test/events/Test_Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function can_report_events()
'NewAccountCode',
'NewCallerid',
'Newchannel',
'Newexten',
'NewExten',
'Newstate',
'OriginateResponse',
'OutboundRegistrationDetail',
Expand Down Expand Up @@ -584,7 +584,7 @@ public function can_report_events()
'Privilege' => 'Privilege',
'LinkedId' => 'LinkedId',
),
'Newexten' => array(
'NewExten' => array(
'Channel' => 'Channel',
'Privilege' => 'Privilege',
'AppData' => 'AppData',
Expand Down Expand Up @@ -2071,7 +2071,7 @@ public function can_report_events()
'CID-CallingPres' => 'CallerIdPres'
),
'Newchannel' => array('Exten' => 'Extension'),
'Newexten' => array(
'NewExten' => array(
'AppData' => 'ApplicationData',
),
'QueueMemberStatus' => array(
Expand Down
4 changes: 2 additions & 2 deletions test/sccp_actions/SCCP_Test_Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ private function _testActionResponse($actionName, array $getters, array $values,
/**
* @test
*/
public function can_get_SCCPCallforwardNone()
public function can_get_SCCPCallForwardNone()
{
$write = array(implode("\r\n", array(
'action: SCCPCallforward',
Expand All @@ -2122,7 +2122,7 @@ public function can_get_SCCPCallforwardNone()
'type: none',
''
)));
$action = new \PAMI\Message\Action\SCCPCallforwardAction('1122', 'SEP001122334455');
$action = new \PAMI\Message\Action\SCCPCallForwardAction('1122', 'SEP001122334455');
$client = $this->_start($write, $action);
}

Expand Down

0 comments on commit ff02d15

Please sign in to comment.