Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions app/Commands/AnalyzeCommand.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace App\Commands;

use App\Commands\Concerns\AnalyzesImages;
use App\Support\BaselineFile;
use App\Support\ImageFinder;
use App\Support\Paths;
use GlimpseImg\ApiException;
use GlimpseImg\Client;
use GlimpseImg\ImageFormat;
use GlimpseImg\SampleProbe;
namespace MathiasGrimm\GlimpseCli\Commands;

use Illuminate\Support\Str;
use MathiasGrimm\GlimpseCli\Commands\Concerns\AnalyzesImages;
use MathiasGrimm\GlimpseCli\Support\BaselineFile;
use MathiasGrimm\GlimpseCli\Support\ImageFinder;
use MathiasGrimm\GlimpseCli\Support\Paths;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\Client;
use MathiasGrimm\GlimpsePhp\ImageFormat;
use MathiasGrimm\GlimpsePhp\SampleProbe;
use Symfony\Component\Console\Helper\TableSeparator;

class AnalyzeCommand extends GlimpseCommand
Expand All @@ -34,7 +34,7 @@
*/
private const HEADER_EVERY = 24;

public function handle(Client $client, SampleProbe $probe): int

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\Client.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\Client.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\Client.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 37 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handle() has invalid type MathiasGrimm\GlimpsePhp\Client.
{
return $this->runGuarded(function () use ($client, $probe) {
$input = $this->inputArgument();
Expand All @@ -42,11 +42,11 @@
$quality = $this->intOption('quality');

if ($quality !== null && ! $this->option('optimize')) {
throw new ApiException('--quality requires --optimize.');

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 45 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.
}

if ($this->option('update-baseline') && ! is_dir($input)) {
throw new ApiException('--update-baseline requires a directory input.');

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Throwing object of an unknown class MathiasGrimm\GlimpsePhp\ApiException.

Check failure on line 49 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Instantiated class MathiasGrimm\GlimpsePhp\ApiException not found.
}

return is_dir($input)
Expand All @@ -55,11 +55,11 @@
});
}

private function handleFile(Client $client, SampleProbe $probe, string $input, ?ImageFormat $target, ?int $quality): int

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Parameter $target of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\Client.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Parameter $target of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\Client.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Parameter $target of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\Client.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Parameter $target of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Parameter $probe of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\SampleProbe.

Check failure on line 58 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Parameter $client of method MathiasGrimm\GlimpseCli\Commands\AnalyzeCommand::handleFile() has invalid type MathiasGrimm\GlimpsePhp\Client.
{
$bytes = $this->readImage($input, limitBytes: false);

$format = ImageFormat::tryFromBinary($bytes)

Check failure on line 62 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.3)

Call to static method tryFromBinary() on an unknown class MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 62 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.4)

Call to static method tryFromBinary() on an unknown class MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 62 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.5)

Call to static method tryFromBinary() on an unknown class MathiasGrimm\GlimpsePhp\ImageFormat.

Check failure on line 62 in app/Commands/AnalyzeCommand.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

Call to static method tryFromBinary() on an unknown class MathiasGrimm\GlimpsePhp\ImageFormat.
?? throw new ApiException('Unrecognized image format. Supported: jpg, png, webp, gif, avif.');

[$width, $height, $sampleBpp] = $this->measure($probe, $bytes);
Expand Down
10 changes: 5 additions & 5 deletions app/Commands/AuthCommand.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\GuardsApiErrors;
use App\Glimpse\Config;
use GlimpseImg\AuthException;
use GlimpseImg\Client;
use LaravelZero\Framework\Commands\Command;
use MathiasGrimm\GlimpseCli\Commands\Concerns\GuardsApiErrors;
use MathiasGrimm\GlimpseCli\Glimpse\Config;
use MathiasGrimm\GlimpsePhp\AuthException;
use MathiasGrimm\GlimpsePhp\Client;

class AuthCommand extends Command
{
Expand Down
4 changes: 2 additions & 2 deletions app/Commands/AuthLogoutCommand.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Glimpse\Config;
use LaravelZero\Framework\Commands\Command;
use MathiasGrimm\GlimpseCli\Glimpse\Config;

class AuthLogoutCommand extends Command
{
Expand Down
8 changes: 4 additions & 4 deletions app/Commands/AuthStatusCommand.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\GuardsApiErrors;
use App\Glimpse\Config;
use GlimpseImg\Client;
use LaravelZero\Framework\Commands\Command;
use MathiasGrimm\GlimpseCli\Commands\Concerns\GuardsApiErrors;
use MathiasGrimm\GlimpseCli\Glimpse\Config;
use MathiasGrimm\GlimpsePhp\Client;

class AuthStatusCommand extends Command
{
Expand Down
18 changes: 9 additions & 9 deletions app/Commands/CheckCommand.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace App\Commands;

use App\Commands\Concerns\AnalyzesImages;
use App\Support\BaselineFile;
use App\Support\ImageFinder;
use App\Support\Paths;
use GlimpseImg\ApiException;
use GlimpseImg\Client;
use GlimpseImg\SampleProbe;
namespace MathiasGrimm\GlimpseCli\Commands;

use Illuminate\Support\Str;
use MathiasGrimm\GlimpseCli\Commands\Concerns\AnalyzesImages;
use MathiasGrimm\GlimpseCli\Support\BaselineFile;
use MathiasGrimm\GlimpseCli\Support\ImageFinder;
use MathiasGrimm\GlimpseCli\Support\Paths;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\Client;
use MathiasGrimm\GlimpsePhp\SampleProbe;

class CheckCommand extends GlimpseCommand
{
Expand Down
26 changes: 13 additions & 13 deletions app/Commands/Concerns/AnalyzesImages.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?php

namespace App\Commands\Concerns;
namespace MathiasGrimm\GlimpseCli\Commands\Concerns;

use App\Support\BaselineFile;
use App\Support\Paths;
use App\Support\Sleeper;
use Closure;
use GlimpseImg\ApiException;
use GlimpseImg\AuthException;
use GlimpseImg\Client;
use GlimpseImg\ForbiddenException;
use GlimpseImg\FrameCounter;
use GlimpseImg\ImageFormat;
use GlimpseImg\RateLimitException;
use GlimpseImg\SampleProbe;
use GlimpseImg\SizeEstimate;
use Illuminate\Support\Str;
use MathiasGrimm\GlimpseCli\Support\BaselineFile;
use MathiasGrimm\GlimpseCli\Support\Paths;
use MathiasGrimm\GlimpseCli\Support\Sleeper;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\AuthException;
use MathiasGrimm\GlimpsePhp\Client;
use MathiasGrimm\GlimpsePhp\ForbiddenException;
use MathiasGrimm\GlimpsePhp\FrameCounter;
use MathiasGrimm\GlimpsePhp\ImageFormat;
use MathiasGrimm\GlimpsePhp\RateLimitException;
use MathiasGrimm\GlimpsePhp\SampleProbe;
use MathiasGrimm\GlimpsePhp\SizeEstimate;

trait AnalyzesImages
{
Expand Down
14 changes: 7 additions & 7 deletions app/Commands/Concerns/GuardsApiErrors.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace App\Commands\Concerns;
namespace MathiasGrimm\GlimpseCli\Commands\Concerns;

use App\Glimpse\Config;
use Closure;
use GlimpseImg\ApiException;
use GlimpseImg\AuthException;
use GlimpseImg\ForbiddenException;
use GlimpseImg\RateLimitException;
use GlimpseImg\ValidationException;
use Illuminate\Http\Client\ConnectionException;
use MathiasGrimm\GlimpseCli\Glimpse\Config;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\AuthException;
use MathiasGrimm\GlimpsePhp\ForbiddenException;
use MathiasGrimm\GlimpsePhp\RateLimitException;
use MathiasGrimm\GlimpsePhp\ValidationException;

trait GuardsApiErrors
{
Expand Down
10 changes: 5 additions & 5 deletions app/Commands/Concerns/UpdatesBaseline.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace App\Commands\Concerns;
namespace MathiasGrimm\GlimpseCli\Commands\Concerns;

use App\Support\BaselineFile;
use App\Support\IgnoreFile;
use App\Support\Paths;
use GlimpseImg\ApiException;
use MathiasGrimm\GlimpseCli\Support\BaselineFile;
use MathiasGrimm\GlimpseCli\Support\IgnoreFile;
use MathiasGrimm\GlimpseCli\Support\Paths;
use MathiasGrimm\GlimpsePhp\ApiException;

trait UpdatesBaseline
{
Expand Down
10 changes: 5 additions & 5 deletions app/Commands/ConvertCommand.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\UpdatesBaseline;
use GlimpseImg\ApiException;
use GlimpseImg\Client;
use GlimpseImg\ImageFormat;
use MathiasGrimm\GlimpseCli\Commands\Concerns\UpdatesBaseline;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\Client;
use MathiasGrimm\GlimpsePhp\ImageFormat;

class ConvertCommand extends GlimpseCommand
{
Expand Down
10 changes: 5 additions & 5 deletions app/Commands/GlimpseCommand.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\GuardsApiErrors;
use App\Glimpse\Config;
use GlimpseImg\ApiException;
use GlimpseImg\ImageResult;
use LaravelZero\Framework\Commands\Command;
use MathiasGrimm\GlimpseCli\Commands\Concerns\GuardsApiErrors;
use MathiasGrimm\GlimpseCli\Glimpse\Config;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\ImageResult;

abstract class GlimpseCommand extends Command
{
Expand Down
6 changes: 3 additions & 3 deletions app/Commands/InfoCommand.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use GlimpseImg\Client;
use GlimpseImg\ImageInfo;
use MathiasGrimm\GlimpsePhp\Client;
use MathiasGrimm\GlimpsePhp\ImageInfo;

class InfoCommand extends GlimpseCommand
{
Expand Down
12 changes: 6 additions & 6 deletions app/Commands/InitCommand.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\GuardsApiErrors;
use App\Support\BaselineFile;
use App\Support\IgnoreFile;
use App\Support\Paths;
use App\Support\ScaffoldFile;
use LaravelZero\Framework\Commands\Command;
use MathiasGrimm\GlimpseCli\Commands\Concerns\GuardsApiErrors;
use MathiasGrimm\GlimpseCli\Support\BaselineFile;
use MathiasGrimm\GlimpseCli\Support\IgnoreFile;
use MathiasGrimm\GlimpseCli\Support\Paths;
use MathiasGrimm\GlimpseCli\Support\ScaffoldFile;

class InitCommand extends Command
{
Expand Down
6 changes: 3 additions & 3 deletions app/Commands/OptimizeCommand.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\UpdatesBaseline;
use GlimpseImg\Client;
use MathiasGrimm\GlimpseCli\Commands\Concerns\UpdatesBaseline;
use MathiasGrimm\GlimpsePhp\Client;

class OptimizeCommand extends GlimpseCommand
{
Expand Down
8 changes: 4 additions & 4 deletions app/Commands/ResizeCommand.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\UpdatesBaseline;
use GlimpseImg\ApiException;
use GlimpseImg\Client;
use MathiasGrimm\GlimpseCli\Commands\Concerns\UpdatesBaseline;
use MathiasGrimm\GlimpsePhp\ApiException;
use MathiasGrimm\GlimpsePhp\Client;

class ResizeCommand extends GlimpseCommand
{
Expand Down
6 changes: 3 additions & 3 deletions app/Commands/SummaryCommand.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Support\Banner;
use App\Support\BannerDescriber;
use Illuminate\Console\Application;
use Illuminate\Contracts\Container\Container;
use MathiasGrimm\GlimpseCli\Support\Banner;
use MathiasGrimm\GlimpseCli\Support\BannerDescriber;
use NunoMaduro\LaravelConsoleSummary\SummaryCommand as BaseSummaryCommand;
use Symfony\Component\Console\Command\ListCommand;
use Symfony\Component\Console\Input\InputInterface;
Expand Down
6 changes: 3 additions & 3 deletions app/Commands/ThumbnailCommand.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use App\Commands\Concerns\UpdatesBaseline;
use GlimpseImg\Client;
use MathiasGrimm\GlimpseCli\Commands\Concerns\UpdatesBaseline;
use MathiasGrimm\GlimpsePhp\Client;

class ThumbnailCommand extends GlimpseCommand
{
Expand Down
6 changes: 3 additions & 3 deletions app/Commands/UsageCommand.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace App\Commands;
namespace MathiasGrimm\GlimpseCli\Commands;

use GlimpseImg\Client;
use GlimpseImg\UsageSummary;
use MathiasGrimm\GlimpsePhp\Client;
use MathiasGrimm\GlimpsePhp\UsageSummary;

class UsageCommand extends GlimpseCommand
{
Expand Down
2 changes: 1 addition & 1 deletion app/Glimpse/Config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Glimpse;
namespace MathiasGrimm\GlimpseCli\Glimpse;

final class Config
{
Expand Down
6 changes: 3 additions & 3 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace App\Providers;
namespace MathiasGrimm\GlimpseCli\Providers;

use App\Glimpse\Config;
use GlimpseImg\Client;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Http\Client\Factory;
use Illuminate\Support\ServiceProvider;
use MathiasGrimm\GlimpseCli\Glimpse\Config;
use MathiasGrimm\GlimpsePhp\Client;

class AppServiceProvider extends ServiceProvider
{
Expand Down
2 changes: 1 addition & 1 deletion app/Support/Banner.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Terminal;
Expand Down
2 changes: 1 addition & 1 deletion app/Support/BannerDescriber.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use Illuminate\Console\Application;
use NunoMaduro\LaravelConsoleSummary\Contracts\DescriberContract;
Expand Down
4 changes: 2 additions & 2 deletions app/Support/BaselineFile.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use GlimpseImg\ApiException;
use MathiasGrimm\GlimpsePhp\ApiException;
use stdClass;

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Support/IgnoreFile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use Symfony\Component\Finder\Gitignore;

Expand Down
4 changes: 2 additions & 2 deletions app/Support/ImageFinder.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use FilesystemIterator;
use GlimpseImg\ImageFormat;
use MathiasGrimm\GlimpsePhp\ImageFormat;
use RecursiveCallbackFilterIterator;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
Expand Down
2 changes: 1 addition & 1 deletion app/Support/Paths.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use InvalidArgumentException;

Expand Down
4 changes: 2 additions & 2 deletions app/Support/ScaffoldFile.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace App\Support;
namespace MathiasGrimm\GlimpseCli\Support;

use GlimpseImg\ApiException;
use MathiasGrimm\GlimpsePhp\ApiException;

/**
* Writes the files init scaffolds from its templates, safely in both
Expand Down
Loading
Loading