Skip to content

Commit

Permalink
fix: make commande to remove phpspec adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinArtus committed Oct 27, 2023
1 parent dcfb86a commit f450c6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 33 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@ docker.php-cs-fix: ## Run CS fixer
remove-phpspec: ## Remove adapter specs (allows you to run test suite without adapters deps)
rm spec/Gaufrette/Adapter/AsyncAwsS3Spec.php
rm spec/Gaufrette/Adapter/AwsS3Spec.php
rm spec/Gaufrette/Adapter/GoogleCloudStorageSpec.php
rm spec/Gaufrette/Adapter/AzureBlobStorageSpec.php
rm spec/Gaufrette/Adapter/DoctrineDbalSpec.php
rm spec/Gaufrette/Adapter/FlysystemSpec.php
rm -r spec/Gaufrette/Adapter/AzureBlobStorage
rm spec/Gaufrette/Adapter/GoogleCloudStorageSpec.php
rm spec/Gaufrette/Adapter/GridFSSpec.php
rm spec/Gaufrette/Adapter/InMemorySpec.php
rm spec/Gaufrette/Adapter/LocalSpec.php
rm spec/Gaufrette/Adapter/PhpseclibSftpSpec.php
rm spec/Gaufrette/Adapter/SafeLocalSpec.php

require-all-legacy: # kept for compatibility with the old CI config, to be removed at some point
composer require --no-update \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use WindowsAzure\Blob\Models\Blob;
use WindowsAzure\Common\ServiceException;

class AzureBlobStorage extends ObjectBehavior
class AzureBlobStorageSpec extends ObjectBehavior
{
/**
* @param \Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface $blobProxyFactory
Expand Down
13 changes: 1 addition & 12 deletions spec/Gaufrette/Adapter/PhpseclibSftpSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,10 @@
}

use Gaufrette\Filesystem;
use phpseclib\Net\SFTP as Base;
use PhpSpec\ObjectBehavior;

class SFTP extends Base
{
public function __construct()
{
}
}
use phpseclib\Net\SFTP;

class PhpseclibSftpSpec extends ObjectBehavior
{
/**
* @param \spec\Gaufrette\Adapter\SFTP $sftp
*/
function let(SFTP $sftp)
{
$this->beConstructedWith($sftp, '/home/l3l0', false, 'l3lo', 'password');
Expand Down
18 changes: 0 additions & 18 deletions spec/Gaufrette/Adapter/ZipSpec.php

This file was deleted.

0 comments on commit f450c6b

Please sign in to comment.