diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-19 15:53:03 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-19 15:53:03 +0200 |
commit | 65eae43ab122bf1d04a5d6f8bee8e8b5ec439276 (patch) | |
tree | 70479bc8e0b15dea81a7d787baba32f1bdac1481 | |
parent | f42cdec4c4bc040496df9436a83e932cb1b66c75 (diff) | |
parent | 893204ef4a286a77289eeafda7291f95789aea42 (diff) | |
download | nextcloud-server-65eae43ab122bf1d04a5d6f8bee8e8b5ec439276.tar.gz nextcloud-server-65eae43ab122bf1d04a5d6f8bee8e8b5ec439276.zip |
Merge pull request #24721 from owncloud/public_psr4
Move \OCP to PSR-4
-rw-r--r-- | lib/base.php | 2 | ||||
-rw-r--r-- | lib/private/DB/Connection.php | 6 | ||||
-rw-r--r-- | lib/public/API.php (renamed from lib/public/api.php) | 0 | ||||
-rw-r--r-- | lib/public/App.php (renamed from lib/public/app.php) | 0 | ||||
-rw-r--r-- | lib/public/AutoloadNotAllowedException.php (renamed from lib/public/autoloadnotallowedexception.php) | 0 | ||||
-rw-r--r-- | lib/public/BackgroundJob.php (renamed from lib/public/backgroundjob.php) | 0 | ||||
-rw-r--r-- | lib/public/Config.php (renamed from lib/public/config.php) | 0 | ||||
-rw-r--r-- | lib/public/Constants.php (renamed from lib/public/constants.php) | 0 | ||||
-rw-r--r-- | lib/public/Contacts.php (renamed from lib/public/contacts.php) | 0 | ||||
-rw-r--r-- | lib/public/DB.php (renamed from lib/public/db.php) | 0 | ||||
-rw-r--r-- | lib/public/Defaults.php (renamed from lib/public/defaults.php) | 0 | ||||
-rw-r--r-- | lib/public/Files.php (renamed from lib/public/files.php) | 0 | ||||
-rw-r--r-- | lib/public/GroupInterface.php (renamed from lib/public/groupinterface.php) | 0 | ||||
-rw-r--r-- | lib/public/IAddressBook.php (renamed from lib/public/iaddressbook.php) | 0 | ||||
-rw-r--r-- | lib/public/IAppConfig.php (renamed from lib/public/iappconfig.php) | 0 | ||||
-rw-r--r-- | lib/public/IAvatar.php (renamed from lib/public/iavatar.php) | 0 | ||||
-rw-r--r-- | lib/public/IAvatarManager.php (renamed from lib/public/iavatarmanager.php) | 0 | ||||
-rw-r--r-- | lib/public/ICache.php (renamed from lib/public/icache.php) | 0 | ||||
-rw-r--r-- | lib/public/ICacheFactory.php (renamed from lib/public/icachefactory.php) | 0 | ||||
-rw-r--r-- | lib/public/ICertificate.php (renamed from lib/public/icertificate.php) | 0 | ||||
-rw-r--r-- | lib/public/ICertificateManager.php (renamed from lib/public/icertificatemanager.php) | 0 | ||||
-rw-r--r-- | lib/public/IConfig.php (renamed from lib/public/iconfig.php) | 0 | ||||
-rw-r--r-- | lib/public/IContainer.php (renamed from lib/public/icontainer.php) | 0 | ||||
-rw-r--r-- | lib/public/IDBConnection.php (renamed from lib/public/idbconnection.php) | 0 | ||||
-rw-r--r-- | lib/public/IDateTimeFormatter.php (renamed from lib/public/idatetimeformatter.php) | 0 | ||||
-rw-r--r-- | lib/public/IDateTimeZone.php (renamed from lib/public/idatetimezone.php) | 0 | ||||
-rw-r--r-- | lib/public/IDb.php (renamed from lib/public/idb.php) | 0 | ||||
-rw-r--r-- | lib/public/IEventSource.php (renamed from lib/public/ieventsource.php) | 0 | ||||
-rw-r--r-- | lib/public/IGroup.php (renamed from lib/public/igroup.php) | 0 | ||||
-rw-r--r-- | lib/public/IGroupManager.php (renamed from lib/public/igroupmanager.php) | 0 | ||||
-rw-r--r-- | lib/public/IHelper.php (renamed from lib/public/ihelper.php) | 0 | ||||
-rw-r--r-- | lib/public/IImage.php (renamed from lib/public/iimage.php) | 0 | ||||
-rw-r--r-- | lib/public/IL10N.php (renamed from lib/public/il10n.php) | 0 | ||||
-rw-r--r-- | lib/public/ILogger.php (renamed from lib/public/ilogger.php) | 0 | ||||
-rw-r--r-- | lib/public/IMemcache.php (renamed from lib/public/imemcache.php) | 0 | ||||
-rw-r--r-- | lib/public/IMemcacheTTL.php (renamed from lib/public/imemcachettl.php) | 0 | ||||
-rw-r--r-- | lib/public/INavigationManager.php (renamed from lib/public/inavigationmanager.php) | 0 | ||||
-rw-r--r-- | lib/public/IPreview.php (renamed from lib/public/ipreview.php) | 0 | ||||
-rw-r--r-- | lib/public/IRequest.php (renamed from lib/public/irequest.php) | 0 | ||||
-rw-r--r-- | lib/public/ISearch.php (renamed from lib/public/isearch.php) | 0 | ||||
-rw-r--r-- | lib/public/ISession.php (renamed from lib/public/isession.php) | 0 | ||||
-rw-r--r-- | lib/public/ITagManager.php (renamed from lib/public/itagmanager.php) | 0 | ||||
-rw-r--r-- | lib/public/ITags.php (renamed from lib/public/itags.php) | 0 | ||||
-rw-r--r-- | lib/public/ITempManager.php (renamed from lib/public/itempmanager.php) | 0 | ||||
-rw-r--r-- | lib/public/IURLGenerator.php (renamed from lib/public/iurlgenerator.php) | 0 | ||||
-rw-r--r-- | lib/public/IUser.php (renamed from lib/public/iuser.php) | 0 | ||||
-rw-r--r-- | lib/public/IUserBackend.php (renamed from lib/public/iuserbackend.php) | 0 | ||||
-rw-r--r-- | lib/public/IUserManager.php (renamed from lib/public/iusermanager.php) | 0 | ||||
-rw-r--r-- | lib/public/IUserSession.php (renamed from lib/public/iusersession.php) | 0 | ||||
-rw-r--r-- | lib/public/Image.php (renamed from lib/public/image.php) | 0 | ||||
-rw-r--r-- | lib/public/JSON.php (renamed from lib/public/json.php) | 0 | ||||
-rw-r--r-- | lib/public/PreConditionNotMetException.php (renamed from lib/public/preconditionnotmetexception.php) | 0 | ||||
-rw-r--r-- | lib/public/Response.php (renamed from lib/public/response.php) | 0 | ||||
-rw-r--r-- | lib/public/SabrePluginEvent.php (renamed from lib/public/sabrepluginevent.php) | 0 | ||||
-rw-r--r-- | lib/public/SabrePluginException.php (renamed from lib/public/sabrepluginexception.php) | 0 | ||||
-rw-r--r-- | lib/public/Share.php (renamed from lib/public/share.php) | 0 | ||||
-rw-r--r-- | lib/public/Share_Backend.php (renamed from lib/public/share_backend.php) | 0 | ||||
-rw-r--r-- | lib/public/Share_Backend_Collection.php (renamed from lib/public/share_backend_collection.php) | 0 | ||||
-rw-r--r-- | lib/public/Share_Backend_File_Dependent.php (renamed from lib/public/share_backend_file_dependent.php) | 0 | ||||
-rw-r--r-- | lib/public/User.php (renamed from lib/public/user.php) | 0 | ||||
-rw-r--r-- | lib/public/UserInterface.php (renamed from lib/public/userinterface.php) | 0 | ||||
-rw-r--r-- | lib/public/Util.php (renamed from lib/public/util.php) | 0 |
62 files changed, 4 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php index 1fdcf44f4d0..eddcec97b1f 100644 --- a/lib/base.php +++ b/lib/base.php @@ -53,7 +53,7 @@ * */ -require_once 'public/constants.php'; +require_once 'public/Constants.php'; /** * Class that is a namespace for all global OC variables diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php index 7904fab0726..7cdc13a7c6d 100644 --- a/lib/private/DB/Connection.php +++ b/lib/private/DB/Connection.php @@ -33,7 +33,7 @@ use Doctrine\Common\EventManager; use OC\DB\QueryBuilder\QueryBuilder; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDBConnection; -use OCP\PreconditionNotMetException; +use OCP\PreConditionNotMetException; class Connection extends \Doctrine\DBAL\Connection implements IDBConnection { /** @@ -262,7 +262,7 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection { * @param array $updatePreconditionValues ensure values match preconditions (column name => value) * @return int number of new rows * @throws \Doctrine\DBAL\DBALException - * @throws PreconditionNotMetException + * @throws PreConditionNotMetException */ public function setValues($table, array $keys, array $values, array $updatePreconditionValues = []) { try { @@ -294,7 +294,7 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection { $affected = $updateQb->execute(); if ($affected === 0 && !empty($updatePreconditionValues)) { - throw new PreconditionNotMetException(); + throw new PreConditionNotMetException(); } return 0; diff --git a/lib/public/api.php b/lib/public/API.php index 4d68bef6f29..4d68bef6f29 100644 --- a/lib/public/api.php +++ b/lib/public/API.php diff --git a/lib/public/app.php b/lib/public/App.php index c3ba90cea41..c3ba90cea41 100644 --- a/lib/public/app.php +++ b/lib/public/App.php diff --git a/lib/public/autoloadnotallowedexception.php b/lib/public/AutoloadNotAllowedException.php index f0028b7d49d..f0028b7d49d 100644 --- a/lib/public/autoloadnotallowedexception.php +++ b/lib/public/AutoloadNotAllowedException.php diff --git a/lib/public/backgroundjob.php b/lib/public/BackgroundJob.php index f532a97c747..f532a97c747 100644 --- a/lib/public/backgroundjob.php +++ b/lib/public/BackgroundJob.php diff --git a/lib/public/config.php b/lib/public/Config.php index 5b5dcb0e78e..5b5dcb0e78e 100644 --- a/lib/public/config.php +++ b/lib/public/Config.php diff --git a/lib/public/constants.php b/lib/public/Constants.php index abf5f95eb96..abf5f95eb96 100644 --- a/lib/public/constants.php +++ b/lib/public/Constants.php diff --git a/lib/public/contacts.php b/lib/public/Contacts.php index 590fd9af1bd..590fd9af1bd 100644 --- a/lib/public/contacts.php +++ b/lib/public/Contacts.php diff --git a/lib/public/db.php b/lib/public/DB.php index 4706c5e95ee..4706c5e95ee 100644 --- a/lib/public/db.php +++ b/lib/public/DB.php diff --git a/lib/public/defaults.php b/lib/public/Defaults.php index 58b25d5914a..58b25d5914a 100644 --- a/lib/public/defaults.php +++ b/lib/public/Defaults.php diff --git a/lib/public/files.php b/lib/public/Files.php index f7f0b30bf86..f7f0b30bf86 100644 --- a/lib/public/files.php +++ b/lib/public/Files.php diff --git a/lib/public/groupinterface.php b/lib/public/GroupInterface.php index 628bc2f42ef..628bc2f42ef 100644 --- a/lib/public/groupinterface.php +++ b/lib/public/GroupInterface.php diff --git a/lib/public/iaddressbook.php b/lib/public/IAddressBook.php index 63e7e061448..63e7e061448 100644 --- a/lib/public/iaddressbook.php +++ b/lib/public/IAddressBook.php diff --git a/lib/public/iappconfig.php b/lib/public/IAppConfig.php index 1406e8a56d6..1406e8a56d6 100644 --- a/lib/public/iappconfig.php +++ b/lib/public/IAppConfig.php diff --git a/lib/public/iavatar.php b/lib/public/IAvatar.php index 7b811b26b68..7b811b26b68 100644 --- a/lib/public/iavatar.php +++ b/lib/public/IAvatar.php diff --git a/lib/public/iavatarmanager.php b/lib/public/IAvatarManager.php index ef6b00ffd13..ef6b00ffd13 100644 --- a/lib/public/iavatarmanager.php +++ b/lib/public/IAvatarManager.php diff --git a/lib/public/icache.php b/lib/public/ICache.php index a1ce068d819..a1ce068d819 100644 --- a/lib/public/icache.php +++ b/lib/public/ICache.php diff --git a/lib/public/icachefactory.php b/lib/public/ICacheFactory.php index 233a4f5525d..233a4f5525d 100644 --- a/lib/public/icachefactory.php +++ b/lib/public/ICacheFactory.php diff --git a/lib/public/icertificate.php b/lib/public/ICertificate.php index c3a003fbf0a..c3a003fbf0a 100644 --- a/lib/public/icertificate.php +++ b/lib/public/ICertificate.php diff --git a/lib/public/icertificatemanager.php b/lib/public/ICertificateManager.php index 27eebcf0491..27eebcf0491 100644 --- a/lib/public/icertificatemanager.php +++ b/lib/public/ICertificateManager.php diff --git a/lib/public/iconfig.php b/lib/public/IConfig.php index 8dac390a99c..8dac390a99c 100644 --- a/lib/public/iconfig.php +++ b/lib/public/IConfig.php diff --git a/lib/public/icontainer.php b/lib/public/IContainer.php index d23ee5ea3b5..d23ee5ea3b5 100644 --- a/lib/public/icontainer.php +++ b/lib/public/IContainer.php diff --git a/lib/public/idbconnection.php b/lib/public/IDBConnection.php index 780fcd26364..780fcd26364 100644 --- a/lib/public/idbconnection.php +++ b/lib/public/IDBConnection.php diff --git a/lib/public/idatetimeformatter.php b/lib/public/IDateTimeFormatter.php index e8d357ae50f..e8d357ae50f 100644 --- a/lib/public/idatetimeformatter.php +++ b/lib/public/IDateTimeFormatter.php diff --git a/lib/public/idatetimezone.php b/lib/public/IDateTimeZone.php index 3df705a2413..3df705a2413 100644 --- a/lib/public/idatetimezone.php +++ b/lib/public/IDateTimeZone.php diff --git a/lib/public/idb.php b/lib/public/IDb.php index f21fedd1f54..f21fedd1f54 100644 --- a/lib/public/idb.php +++ b/lib/public/IDb.php diff --git a/lib/public/ieventsource.php b/lib/public/IEventSource.php index b643d1c9da7..b643d1c9da7 100644 --- a/lib/public/ieventsource.php +++ b/lib/public/IEventSource.php diff --git a/lib/public/igroup.php b/lib/public/IGroup.php index 02f2ef201fd..02f2ef201fd 100644 --- a/lib/public/igroup.php +++ b/lib/public/IGroup.php diff --git a/lib/public/igroupmanager.php b/lib/public/IGroupManager.php index cda40606f9d..cda40606f9d 100644 --- a/lib/public/igroupmanager.php +++ b/lib/public/IGroupManager.php diff --git a/lib/public/ihelper.php b/lib/public/IHelper.php index 4ad1d5704fd..4ad1d5704fd 100644 --- a/lib/public/ihelper.php +++ b/lib/public/IHelper.php diff --git a/lib/public/iimage.php b/lib/public/IImage.php index db0ca0f93be..db0ca0f93be 100644 --- a/lib/public/iimage.php +++ b/lib/public/IImage.php diff --git a/lib/public/il10n.php b/lib/public/IL10N.php index f1954eeb4b9..f1954eeb4b9 100644 --- a/lib/public/il10n.php +++ b/lib/public/IL10N.php diff --git a/lib/public/ilogger.php b/lib/public/ILogger.php index fa947612fcd..fa947612fcd 100644 --- a/lib/public/ilogger.php +++ b/lib/public/ILogger.php diff --git a/lib/public/imemcache.php b/lib/public/IMemcache.php index b5c0cef923d..b5c0cef923d 100644 --- a/lib/public/imemcache.php +++ b/lib/public/IMemcache.php diff --git a/lib/public/imemcachettl.php b/lib/public/IMemcacheTTL.php index f2d03dcdf40..f2d03dcdf40 100644 --- a/lib/public/imemcachettl.php +++ b/lib/public/IMemcacheTTL.php diff --git a/lib/public/inavigationmanager.php b/lib/public/INavigationManager.php index 243f6ea3eea..243f6ea3eea 100644 --- a/lib/public/inavigationmanager.php +++ b/lib/public/INavigationManager.php diff --git a/lib/public/ipreview.php b/lib/public/IPreview.php index cfcbebd8639..cfcbebd8639 100644 --- a/lib/public/ipreview.php +++ b/lib/public/IPreview.php diff --git a/lib/public/irequest.php b/lib/public/IRequest.php index 296c70f4ecc..296c70f4ecc 100644 --- a/lib/public/irequest.php +++ b/lib/public/IRequest.php diff --git a/lib/public/isearch.php b/lib/public/ISearch.php index ec6673dabbd..ec6673dabbd 100644 --- a/lib/public/isearch.php +++ b/lib/public/ISearch.php diff --git a/lib/public/isession.php b/lib/public/ISession.php index 7bc8654a1b9..7bc8654a1b9 100644 --- a/lib/public/isession.php +++ b/lib/public/ISession.php diff --git a/lib/public/itagmanager.php b/lib/public/ITagManager.php index e6d67ddd02c..e6d67ddd02c 100644 --- a/lib/public/itagmanager.php +++ b/lib/public/ITagManager.php diff --git a/lib/public/itags.php b/lib/public/ITags.php index cbc178c37bf..cbc178c37bf 100644 --- a/lib/public/itags.php +++ b/lib/public/ITags.php diff --git a/lib/public/itempmanager.php b/lib/public/ITempManager.php index 025e43d8563..025e43d8563 100644 --- a/lib/public/itempmanager.php +++ b/lib/public/ITempManager.php diff --git a/lib/public/iurlgenerator.php b/lib/public/IURLGenerator.php index a702ca47bfc..a702ca47bfc 100644 --- a/lib/public/iurlgenerator.php +++ b/lib/public/IURLGenerator.php diff --git a/lib/public/iuser.php b/lib/public/IUser.php index 16617a2f2f6..16617a2f2f6 100644 --- a/lib/public/iuser.php +++ b/lib/public/IUser.php diff --git a/lib/public/iuserbackend.php b/lib/public/IUserBackend.php index 5cd7945dd7a..5cd7945dd7a 100644 --- a/lib/public/iuserbackend.php +++ b/lib/public/IUserBackend.php diff --git a/lib/public/iusermanager.php b/lib/public/IUserManager.php index 00c0bbc8721..00c0bbc8721 100644 --- a/lib/public/iusermanager.php +++ b/lib/public/IUserManager.php diff --git a/lib/public/iusersession.php b/lib/public/IUserSession.php index 2196f2c8ce0..2196f2c8ce0 100644 --- a/lib/public/iusersession.php +++ b/lib/public/IUserSession.php diff --git a/lib/public/image.php b/lib/public/Image.php index 4a7ffe8bc9a..4a7ffe8bc9a 100644 --- a/lib/public/image.php +++ b/lib/public/Image.php diff --git a/lib/public/json.php b/lib/public/JSON.php index fceffa0001e..fceffa0001e 100644 --- a/lib/public/json.php +++ b/lib/public/JSON.php diff --git a/lib/public/preconditionnotmetexception.php b/lib/public/PreConditionNotMetException.php index 212efc08ded..212efc08ded 100644 --- a/lib/public/preconditionnotmetexception.php +++ b/lib/public/PreConditionNotMetException.php diff --git a/lib/public/response.php b/lib/public/Response.php index a2a7667684a..a2a7667684a 100644 --- a/lib/public/response.php +++ b/lib/public/Response.php diff --git a/lib/public/sabrepluginevent.php b/lib/public/SabrePluginEvent.php index 11d939aee47..11d939aee47 100644 --- a/lib/public/sabrepluginevent.php +++ b/lib/public/SabrePluginEvent.php diff --git a/lib/public/sabrepluginexception.php b/lib/public/SabrePluginException.php index 2c5a799c4f7..2c5a799c4f7 100644 --- a/lib/public/sabrepluginexception.php +++ b/lib/public/SabrePluginException.php diff --git a/lib/public/share.php b/lib/public/Share.php index 9c62ec703e4..9c62ec703e4 100644 --- a/lib/public/share.php +++ b/lib/public/Share.php diff --git a/lib/public/share_backend.php b/lib/public/Share_Backend.php index 110403c1f49..110403c1f49 100644 --- a/lib/public/share_backend.php +++ b/lib/public/Share_Backend.php diff --git a/lib/public/share_backend_collection.php b/lib/public/Share_Backend_Collection.php index 185cf32ce3e..185cf32ce3e 100644 --- a/lib/public/share_backend_collection.php +++ b/lib/public/Share_Backend_Collection.php diff --git a/lib/public/share_backend_file_dependent.php b/lib/public/Share_Backend_File_Dependent.php index 64b3bf43319..64b3bf43319 100644 --- a/lib/public/share_backend_file_dependent.php +++ b/lib/public/Share_Backend_File_Dependent.php diff --git a/lib/public/user.php b/lib/public/User.php index 64ac92d2100..64ac92d2100 100644 --- a/lib/public/user.php +++ b/lib/public/User.php diff --git a/lib/public/userinterface.php b/lib/public/UserInterface.php index 954c2d68133..954c2d68133 100644 --- a/lib/public/userinterface.php +++ b/lib/public/UserInterface.php diff --git a/lib/public/util.php b/lib/public/Util.php index 45df62ac735..45df62ac735 100644 --- a/lib/public/util.php +++ b/lib/public/Util.php |