mirror of https://github.com/nextcloud/photos
Chore(deps-dev): Bump nextcloud/coding-standard from 1.0.0 to 1.1.1
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.0.0 to 1.1.1. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.0.0...v1.1.1) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
add39f5ac1
commit
435fd992e8
|
@ -29,7 +29,7 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.8",
|
||||
"nextcloud/coding-standard": "1.0",
|
||||
"nextcloud/coding-standard": "1.1.1",
|
||||
"nextcloud/ocp": "dev-master",
|
||||
"phpunit/phpunit": "^9",
|
||||
"sabre/dav": "^4.2.1",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -28,11 +28,11 @@ use OCA\Photos\Exception\AlreadyInAlbumException;
|
|||
use OCP\AppFramework\Utility\ITimeFactory;
|
||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||
use OCP\Files\IMimeTypeLoader;
|
||||
use OCP\Security\ISecureRandom;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IL10N;
|
||||
use OCP\IUserManager;
|
||||
use OCP\Security\ISecureRandom;
|
||||
|
||||
class AlbumMapper {
|
||||
private IDBConnection $connection;
|
||||
|
|
|
@ -25,22 +25,22 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCA\Photos\AppInfo;
|
||||
|
||||
use OCA\DAV\Events\SabrePluginAuthInitEvent;
|
||||
use OCA\Photos\Listener\SabrePluginAuthInitListener;
|
||||
use OCA\DAV\Connector\Sabre\Principal;
|
||||
use OCA\Photos\Listener\TagListener;
|
||||
use OCA\Photos\Listener\PlaceManagerEventListener;
|
||||
use OCA\DAV\Events\SabrePluginAuthInitEvent;
|
||||
use OCA\Photos\Listener\AlbumsManagementEventListener;
|
||||
use OCA\Photos\Listener\PlaceManagerEventListener;
|
||||
use OCA\Photos\Listener\SabrePluginAuthInitListener;
|
||||
use OCA\Photos\Listener\TagListener;
|
||||
use OCP\AppFramework\App;
|
||||
use OCP\AppFramework\Bootstrap\IBootContext;
|
||||
use OCP\AppFramework\Bootstrap\IBootstrap;
|
||||
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
||||
use OCP\Files\Events\Node\NodeDeletedEvent;
|
||||
use OCP\SystemTag\MapperEvent;
|
||||
use OCP\Group\Events\UserRemovedEvent;
|
||||
use OCP\Group\Events\GroupDeletedEvent;
|
||||
use OCP\Files\Events\Node\NodeWrittenEvent;
|
||||
use OCP\Group\Events\GroupDeletedEvent;
|
||||
use OCP\Group\Events\UserRemovedEvent;
|
||||
use OCP\Share\Events\ShareDeletedEvent;
|
||||
use OCP\SystemTag\MapperEvent;
|
||||
use OCP\User\Events\UserDeletedEvent;
|
||||
|
||||
class Application extends App implements IBootstrap {
|
||||
|
|
|
@ -24,11 +24,11 @@ declare(strict_types=1);
|
|||
*/
|
||||
namespace OCA\Photos\Command;
|
||||
|
||||
use OCA\Photos\Service\MediaPlaceManager;
|
||||
use OCP\Files\Folder;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\IConfig;
|
||||
use OCP\IUserManager;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\Folder;
|
||||
use OCA\Photos\Service\MediaPlaceManager;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
|
|
@ -29,9 +29,9 @@ use OCA\Photos\AppInfo\Application;
|
|||
use OCA\Photos\Service\UserConfigService;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http;
|
||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCP\AppFramework\Http\StreamResponse;
|
||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||
use OCP\IConfig;
|
||||
use OCP\IRequest;
|
||||
use OCP\IUserSession;
|
||||
|
|
|
@ -36,8 +36,8 @@ use OCA\Viewer\Event\LoadViewer;
|
|||
use OCP\App\IAppManager;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||
use OCP\IL10N;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCP\AppFramework\Services\IInitialState;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use OCP\Files\InvalidPathException;
|
||||
use OCP\Files\IRootFolder;
|
||||
|
@ -48,7 +48,7 @@ use OCP\Files\Search\ISearchBinaryOperator;
|
|||
use OCP\Files\Search\ISearchComparison;
|
||||
use OCP\ICache;
|
||||
use OCP\ICacheFactory;
|
||||
use OCP\AppFramework\Services\IInitialState;
|
||||
use OCP\IL10N;
|
||||
use OCP\IRequest;
|
||||
use OCP\IUserSession;
|
||||
use OCP\Util;
|
||||
|
|
|
@ -25,8 +25,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCA\Photos\Controller;
|
||||
|
||||
use OCA\Photos\AppInfo\Application;
|
||||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCA\Photos\AppInfo\Application;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http;
|
||||
use OCP\AppFramework\Http\DataResponse;
|
||||
|
@ -36,9 +36,9 @@ use OCP\Files\Folder;
|
|||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\NotFoundException;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IPreview;
|
||||
use OCP\IRequest;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IUserSession;
|
||||
|
||||
class PreviewController extends Controller {
|
||||
|
|
|
@ -24,13 +24,13 @@
|
|||
|
||||
namespace OCA\Photos\Controller;
|
||||
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCA\Photos\AppInfo\Application;
|
||||
use OCA\Viewer\Event\LoadViewer;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||
use OCP\AppFramework\Http\Template\PublicTemplateResponse;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use OCP\AppFramework\Services\IInitialState;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use OCP\IRequest;
|
||||
use OCP\Util;
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
namespace OCA\Photos\Listener;
|
||||
|
||||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCP\Files\File;
|
||||
use OCP\Files\Folder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\EventDispatcher\Event;
|
||||
use OCP\EventDispatcher\IEventListener;
|
||||
use OCP\Files\Events\Node\NodeDeletedEvent;
|
||||
use OCP\Files\File;
|
||||
use OCP\Files\Folder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Group\Events\GroupDeletedEvent;
|
||||
use OCP\Group\Events\UserRemovedEvent;
|
||||
use OCP\Share\Events\ShareDeletedEvent;
|
||||
|
|
|
@ -28,10 +28,10 @@ namespace OCA\Photos\Listener;
|
|||
use OCA\Photos\Jobs\MapMediaToPlaceJob;
|
||||
use OCA\Photos\Service\MediaPlaceManager;
|
||||
use OCP\BackgroundJob\IJobList;
|
||||
use OCP\IConfig;
|
||||
use OCP\EventDispatcher\Event;
|
||||
use OCP\EventDispatcher\IEventListener;
|
||||
use OCP\Files\Events\Node\NodeWrittenEvent;
|
||||
use OCP\IConfig;
|
||||
|
||||
/**
|
||||
* Listener to add place info from the database.
|
||||
|
|
|
@ -24,8 +24,8 @@ declare(strict_types=1);
|
|||
namespace OCA\Photos\Migration;
|
||||
|
||||
use Closure;
|
||||
use OCP\DB\Types;
|
||||
use OCP\DB\ISchemaWrapper;
|
||||
use OCP\DB\Types;
|
||||
use OCP\Migration\IOutput;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@ declare(strict_types=1);
|
|||
namespace OCA\Photos\Migration;
|
||||
|
||||
use Closure;
|
||||
use OCP\DB\Types;
|
||||
use OCP\DB\ISchemaWrapper;
|
||||
use OCP\DB\Types;
|
||||
use OCP\Migration\IOutput;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
||||
|
|
|
@ -27,10 +27,10 @@ declare(strict_types=1);
|
|||
namespace OCA\Photos\Migration;
|
||||
|
||||
use Closure;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\DB\Types;
|
||||
use OCP\DB\ISchemaWrapper;
|
||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||
use OCP\DB\Types;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\Migration\IOutput;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
||||
|
|
|
@ -27,10 +27,10 @@ use OCA\Photos\Album\AlbumFile;
|
|||
use OCA\Photos\Album\AlbumInfo;
|
||||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCA\Photos\Sabre\CollectionPhoto;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\File;
|
||||
use OCP\Files\Folder;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\NotFoundException;
|
||||
use Sabre\DAV\IFile;
|
||||
|
||||
|
|
|
@ -23,13 +23,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCA\Photos\Sabre\Album;
|
||||
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
use Sabre\DAV\Exception\Conflict;
|
||||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCA\Photos\Album\AlbumWithFiles;
|
||||
use OCA\Photos\Service\UserConfigService;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\IUserManager;
|
||||
use Sabre\DAV\Exception\Conflict;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
|
||||
class SharedAlbumRoot extends AlbumRoot {
|
||||
private IUserManager $userManager;
|
||||
|
|
|
@ -23,13 +23,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCA\Photos\Sabre\Album;
|
||||
|
||||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCA\Photos\Album\AlbumWithFiles;
|
||||
use OCA\Photos\Service\UserConfigService;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IGroupManager;
|
||||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IUserManager;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
|
||||
class SharedAlbumsHome extends AlbumsHome {
|
||||
private IUserManager $userManager;
|
||||
|
|
|
@ -24,9 +24,9 @@ declare(strict_types=1);
|
|||
namespace OCA\Photos\Sabre;
|
||||
|
||||
use OCA\Photos\DB\PhotosFile;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\File;
|
||||
use OCP\Files\Folder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\NotFoundException;
|
||||
use OCP\ITags;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
|
|
|
@ -31,8 +31,8 @@ use OCA\Photos\Sabre\Place\PlacesHome;
|
|||
use OCA\Photos\Service\ReverseGeoCoderService;
|
||||
use OCA\Photos\Service\UserConfigService;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IUserManager;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
use Sabre\DAV\Exception\NotFound;
|
||||
use Sabre\DAV\ICollection;
|
||||
|
|
|
@ -28,10 +28,10 @@ namespace OCA\Photos\Sabre\Place;
|
|||
use OCA\Photos\DB\Place\PlaceFile;
|
||||
use OCA\Photos\DB\Place\PlaceInfo;
|
||||
use OCA\Photos\Sabre\CollectionPhoto;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\File;
|
||||
use OCP\Files\Folder;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\Node;
|
||||
use OCP\Files\NotFoundException;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
use Sabre\DAV\IFile;
|
||||
|
|
|
@ -25,10 +25,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCA\Photos\Sabre\Place;
|
||||
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCA\Photos\DB\Place\PlaceInfo;
|
||||
use OCA\Photos\DB\Place\PlaceMapper;
|
||||
use OCA\Photos\Service\ReverseGeoCoderService;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\Files\NotFoundException;
|
||||
use Sabre\DAV\Exception\Forbidden;
|
||||
use Sabre\DAV\Exception\NotFound;
|
||||
|
|
|
@ -31,9 +31,9 @@ use OCA\Photos\Sabre\Album\AlbumRoot;
|
|||
use OCA\Photos\Sabre\Place\PlacePhoto;
|
||||
use OCA\Photos\Sabre\Place\PlaceRoot;
|
||||
use OCP\Files\DavUtil;
|
||||
use OCP\Files\NotFoundException;
|
||||
use OCP\IConfig;
|
||||
use OCP\IPreview;
|
||||
use OCP\Files\NotFoundException;
|
||||
use Sabre\DAV\INode;
|
||||
use Sabre\DAV\PropFind;
|
||||
use Sabre\DAV\PropPatch;
|
||||
|
|
|
@ -27,11 +27,11 @@ use OC\Security\Bruteforce\Throttler;
|
|||
use OCA\Photos\Album\AlbumMapper;
|
||||
use OCA\Photos\Sabre\Album\PublicAlbumRoot;
|
||||
use OCA\Photos\Service\UserConfigService;
|
||||
use OCP\IRequest;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\IRequest;
|
||||
use Sabre\DAV\Exception\NotFound;
|
||||
use Sabre\DAVACL\AbstractPrincipalCollection;
|
||||
use Sabre\DAVACL\PrincipalBackend;
|
||||
use Sabre\DAV\Exception\NotFound;
|
||||
|
||||
class PublicRootCollection extends AbstractPrincipalCollection {
|
||||
private const BRUTEFORCE_ACTION = 'publicphotos_webdav_auth';
|
||||
|
|
|
@ -28,11 +28,11 @@ use OCA\Photos\DB\Place\PlaceMapper;
|
|||
use OCA\Photos\Service\ReverseGeoCoderService;
|
||||
use OCA\Photos\Service\UserConfigService;
|
||||
use OCP\Files\IRootFolder;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IUserSession;
|
||||
use Sabre\DAVACL\AbstractPrincipalCollection;
|
||||
use Sabre\DAVACL\PrincipalBackend;
|
||||
use OCP\IUserManager;
|
||||
use OCP\IGroupManager;
|
||||
|
||||
class RootCollection extends AbstractPrincipalCollection {
|
||||
public function __construct(
|
||||
|
|
|
@ -24,18 +24,18 @@ declare(strict_types=1);
|
|||
*/
|
||||
namespace OCA\Photos\Service;
|
||||
|
||||
use OCP\Files\IAppData;
|
||||
use OCP\Files\SimpleFS\ISimpleFolder;
|
||||
use OCP\Files\NotFoundException;
|
||||
use OCP\Http\Client\IClientService;
|
||||
use Hexogen\KDTree\FSTreePersister;
|
||||
use Hexogen\KDTree\FSKDTree;
|
||||
use Hexogen\KDTree\KDTree;
|
||||
use Hexogen\KDTree\FSTreePersister;
|
||||
use Hexogen\KDTree\Item;
|
||||
use Hexogen\KDTree\ItemList;
|
||||
use Hexogen\KDTree\ItemFactory;
|
||||
use Hexogen\KDTree\ItemList;
|
||||
use Hexogen\KDTree\KDTree;
|
||||
use Hexogen\KDTree\NearestSearch;
|
||||
use Hexogen\KDTree\Point;
|
||||
use OCP\Files\IAppData;
|
||||
use OCP\Files\NotFoundException;
|
||||
use OCP\Files\SimpleFS\ISimpleFolder;
|
||||
use OCP\Http\Client\IClientService;
|
||||
|
||||
class ReverseGeoCoderService {
|
||||
private ISimpleFolder $geoNameFolder;
|
||||
|
|
Loading…
Reference in New Issue