mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Fix CS
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||||
* @link www.phraseanet.com
|
* @link www.phraseanet.com
|
||||||
*/
|
*/
|
||||||
class API_OAuth2_Exception_Redirect_Unauthorized extends API_OAuth2_Exception_Redirect
|
class API_OAuth2_Exception_Redirect_TemporaryUnavailable extends API_OAuth2_Exception_Redirect
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -39,7 +39,7 @@ class API_OAuth2_Exception_Redirect_Unauthorized extends API_OAuth2_Exception_Re
|
|||||||
* @param string $redirect_uri
|
* @param string $redirect_uri
|
||||||
* @param string $state
|
* @param string $state
|
||||||
* @param string $error_uri
|
* @param string $error_uri
|
||||||
* @return API_OAuth2_Exception_Redirect_Unauthorized
|
* @return API_OAuth2_Exception_Redirect_TemporaryUnavailable
|
||||||
*/
|
*/
|
||||||
public function __construct($redirect_uri, $state = null, $error_uri = null)
|
public function __construct($redirect_uri, $state = null, $error_uri = null)
|
||||||
{
|
{
|
||||||
|
@@ -370,7 +370,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
|||||||
);
|
);
|
||||||
|
|
||||||
if ( ! $this->is_valid_object_id($object_id))
|
if ( ! $this->is_valid_object_id($object_id))
|
||||||
throw new Bridge_Exception_InvalidObjectId($object_id);
|
throw new Bridge_Exception_ActionInvalidObjectId($object_id);
|
||||||
|
|
||||||
switch ($object) {
|
switch ($object) {
|
||||||
case self::ELEMENT_TYPE_VIDEO :
|
case self::ELEMENT_TYPE_VIDEO :
|
||||||
|
@@ -304,7 +304,7 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( ! $this->is_valid_object_id($object_id))
|
if ( ! $this->is_valid_object_id($object_id))
|
||||||
throw new Bridge_Exception_InvalidObjectId($object_id);
|
throw new Bridge_Exception_ActionInvalidObjectId($object_id);
|
||||||
|
|
||||||
switch ($object) {
|
switch ($object) {
|
||||||
case "video" :
|
case "video" :
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||||
* @link www.phraseanet.com
|
* @link www.phraseanet.com
|
||||||
*/
|
*/
|
||||||
class Bridge_Exception_InvalidObjectId extends Bridge_Exception
|
class Bridge_Exception_ActionInvalidObjectId extends Bridge_Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -10,7 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use Alchemy\Phrasea\Application;
|
use Alchemy\Phrasea\Application;
|
||||||
use Symfony\Component\Process\ExecutableFinder;
|
|
||||||
|
|
||||||
class patch_3819 implements patchInterface
|
class patch_3819 implements patchInterface
|
||||||
{
|
{
|
||||||
|
@@ -10,7 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use Alchemy\Phrasea\Application;
|
use Alchemy\Phrasea\Application;
|
||||||
use Symfony\Component\Process\ExecutableFinder;
|
|
||||||
|
|
||||||
class patch_3820 implements patchInterface
|
class patch_3820 implements patchInterface
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Alchemy\Phrasea\Border\File;
|
|
||||||
|
|
||||||
class Feed_Entry_ItemTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
class Feed_Entry_ItemTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user