Skip to content

Commit

Permalink
Merge branch '9.x' into 10.x
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Feb 18, 2025
2 parents 8665e96 + b819e54 commit b02a13b
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"illuminate/filesystem": "^12.0",
"illuminate/support": "^12.0",
"orchestra/canvas-core": "^10.0",
"orchestra/sidekick": "^1.0",
"orchestra/testbench-core": "^10.0",
"symfony/polyfill-php83": "^1.31",
"symfony/yaml": "^7.0.3"
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Orchestra\Canvas\Core\PresetManager;
use Symfony\Component\Yaml\Yaml;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class CanvasServiceProvider extends ServiceProvider implements DeferrableProvider
{
Expand Down
2 changes: 1 addition & 1 deletion src/Console/FactoryMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Orchestra\Canvas\Core\Concerns\UsesGeneratorOverrides;
use Symfony\Component\Console\Attribute\AsCommand;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

/**
* @see https://github.com/laravel/framework/blob/11.x/src/Illuminate/Database/Console/Factories/FactoryMakeCommand.php
Expand Down
2 changes: 1 addition & 1 deletion src/Console/GeneratorMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Input\InputOption;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

#[AsCommand(name: 'make:generator', description: 'Create a new generator command')]
class GeneratorMakeCommand extends GeneratorCommand
Expand Down
2 changes: 1 addition & 1 deletion src/Console/PresetMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

use function Illuminate\Filesystem\join_paths;
use function Laravel\Prompts\select;
use function Orchestra\Sidekick\join_paths;
use function Orchestra\Testbench\package_path;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Console/TestMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Orchestra\Canvas\GeneratorPreset;
use Symfony\Component\Console\Attribute\AsCommand;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

/**
* @see https://github.com/laravel/framework/blob/11.x/src/Illuminate/Foundation/Console/TestMakeCommand.php
Expand Down
2 changes: 1 addition & 1 deletion src/Console/UserFactoryMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Input\InputOption;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

#[AsCommand(name: 'make:user-factory', description: 'Create the User factory class')]
class UserFactoryMakeCommand extends GeneratorCommand
Expand Down
2 changes: 1 addition & 1 deletion src/Console/UserModelMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Input\InputOption;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

#[AsCommand(name: 'make:user-model', description: 'Create the User model class')]
class UserModelMakeCommand extends GeneratorCommand
Expand Down
2 changes: 1 addition & 1 deletion src/Console/ViewMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Orchestra\Canvas\GeneratorPreset;
use Symfony\Component\Console\Attribute\AsCommand;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

#[AsCommand(name: 'make:view', description: 'Create a new view')]
class ViewMakeCommand extends \Illuminate\Foundation\Console\ViewMakeCommand
Expand Down
2 changes: 1 addition & 1 deletion src/GeneratorPreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Orchestra\Canvas\Core\Presets\Preset;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class GeneratorPreset extends Preset
{
Expand Down
2 changes: 1 addition & 1 deletion src/Presets/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Orchestra\Canvas\Presets;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class Laravel extends Preset
{
Expand Down
2 changes: 1 addition & 1 deletion src/Presets/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use InvalidArgumentException;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class Package extends Preset
{
Expand Down
2 changes: 1 addition & 1 deletion src/Presets/Preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Support\Arr;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

abstract class Preset
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/GeneratorPresetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Orchestra\Testbench\TestCase;
use PHPUnit\Framework\Attributes\Test;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class GeneratorPresetTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Presets/LaravelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PHPUnit\Framework\Attributes\Test;
use PHPUnit\Framework\TestCase;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class LaravelTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Presets/PackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PHPUnit\Framework\Attributes\Test;
use PHPUnit\Framework\TestCase;

use function Illuminate\Filesystem\join_paths;
use function Orchestra\Sidekick\join_paths;

class PackageTest extends TestCase
{
Expand Down

0 comments on commit b02a13b

Please sign in to comment.