Changed dev namespace
This commit is contained in:
1 parent
b8a5f3538f
commit
193064a83a
63 files changed
+143
-138
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Development\Application;
|
||||
|
||||
return Application::make(
|
||||
realpath(__DIR__ . '/../../')
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Excludes;
|
||||
use LaravelLang\Development\Processors\Excludes;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Excludes::make());
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Keys;
|
||||
use LaravelLang\Development\Processors\Keys;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Keys::make());
|
||||
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang;
|
||||
namespace LaravelLang\Development;
|
||||
|
||||
use Dotenv\Dotenv;
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
use LaravelLang\Lang\Contracts\Application as ApplicationContract;
|
||||
use LaravelLang\Lang\Contracts\Processable;
|
||||
use LaravelLang\Lang\Facades\Env;
|
||||
use LaravelLang\Development\Contracts\Application as ApplicationContract;
|
||||
use LaravelLang\Development\Contracts\Processable;
|
||||
use LaravelLang\Development\Facades\Env;
|
||||
|
||||
class Application implements ApplicationContract
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
namespace LaravelLang\Development\Concerns;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Constants\Locales;
|
||||
use LaravelLang\Development\Constants\Locales;
|
||||
|
||||
trait Contains
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
namespace LaravelLang\Development\Concerns;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Digit;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Services\Counter;
|
||||
use LaravelLang\Development\Services\Counter;
|
||||
|
||||
trait Countable
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
namespace LaravelLang\Development\Concerns;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File as PrettyFile;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
/** @mixin \LaravelLang\Lang\Processors\Processor */
|
||||
/** @mixin \LaravelLang\Development\Processors\Processor */
|
||||
trait Excludes
|
||||
{
|
||||
protected static array $excludes = [];
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
namespace LaravelLang\Development\Concerns;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Instance;
|
||||
use DragonCode\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
|
||||
trait Storable
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Concerns;
|
||||
namespace LaravelLang\Development\Concerns;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
namespace LaravelLang\Development\Constants;
|
||||
|
||||
class Locales
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
namespace LaravelLang\Development\Constants;
|
||||
|
||||
class Machines
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
namespace LaravelLang\Development\Constants;
|
||||
|
||||
class Referents
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Constants;
|
||||
namespace LaravelLang\Development\Constants;
|
||||
|
||||
class Resource
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
namespace LaravelLang\Development\Contracts;
|
||||
|
||||
interface Application
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
namespace LaravelLang\Development\Contracts;
|
||||
|
||||
use DragonCode\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Development\Application;
|
||||
|
||||
interface Filesystem
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
namespace LaravelLang\Development\Contracts;
|
||||
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Development\Application;
|
||||
|
||||
interface Processable
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Contracts;
|
||||
namespace LaravelLang\Development\Contracts;
|
||||
|
||||
interface Stringable
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Facades;
|
||||
namespace LaravelLang\Development\Facades;
|
||||
|
||||
use Dotenv\Repository\AdapterRepository;
|
||||
use Dotenv\Repository\RepositoryInterface;
|
||||
use DragonCode\Support\Facades\Facade;
|
||||
use LaravelLang\Lang\Support\Env as Support;
|
||||
use LaravelLang\Development\Support\Env as Support;
|
||||
|
||||
/**
|
||||
* @method static mixed get(string $key, mixed $default = null)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Facades;
|
||||
namespace LaravelLang\Development\Facades;
|
||||
|
||||
use DragonCode\Support\Facades\Facade;
|
||||
use LaravelLang\Lang\Support\Finder;
|
||||
use LaravelLang\Lang\Support\Package as Support;
|
||||
use LaravelLang\Lang\Support\Parser;
|
||||
use LaravelLang\Development\Support\Finder;
|
||||
use LaravelLang\Development\Support\Package as Support;
|
||||
use LaravelLang\Development\Support\Parser;
|
||||
use Symfony\Component\Finder\Finder as SymfonyFinder;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Facades;
|
||||
namespace LaravelLang\Development\Facades;
|
||||
|
||||
use DragonCode\Support\Facades\Facade;
|
||||
use LaravelLang\Lang\Services\Translate as Service;
|
||||
use LaravelLang\Development\Services\Translate as Service;
|
||||
|
||||
/**
|
||||
* @method static string translate(string $locale, string $text)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Models;
|
||||
namespace LaravelLang\Development\Models;
|
||||
|
||||
use LaravelLang\Lang\Constants\Machines;
|
||||
use LaravelLang\Development\Constants\Machines;
|
||||
|
||||
class Locale extends Model
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Models;
|
||||
namespace LaravelLang\Development\Models;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
namespace LaravelLang\Development\Processors;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Arr;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
namespace LaravelLang\Development\Processors;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
namespace LaravelLang\Development\Processors;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File;
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
namespace LaravelLang\Development\Processors;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Arr;
|
||||
use LaravelLang\Lang\Facades\Package;
|
||||
use LaravelLang\Development\Facades\Package;
|
||||
|
||||
class Packages extends Processor
|
||||
{
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
namespace LaravelLang\Development\Processors;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
use DragonCode\Support\Facades\Helpers\Arr;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File;
|
||||
use DragonCode\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Lang\Concerns\Contains;
|
||||
use LaravelLang\Lang\Contracts\Filesystem;
|
||||
use LaravelLang\Lang\Contracts\Processable;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Filesystem\Base;
|
||||
use LaravelLang\Lang\Services\Filesystem\Json as JsonFilesystem;
|
||||
use LaravelLang\Lang\Services\Filesystem\Markdown as MarkdownFilesystem;
|
||||
use LaravelLang\Lang\Services\Filesystem\Php as PhpFilesystem;
|
||||
use LaravelLang\Development\Application;
|
||||
use LaravelLang\Development\Concerns\Contains;
|
||||
use LaravelLang\Development\Contracts\Filesystem;
|
||||
use LaravelLang\Development\Contracts\Processable;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
use LaravelLang\Development\Services\Filesystem\Base;
|
||||
use LaravelLang\Development\Services\Filesystem\Json as JsonFilesystem;
|
||||
use LaravelLang\Development\Services\Filesystem\Markdown as MarkdownFilesystem;
|
||||
use LaravelLang\Development\Services\Filesystem\Php as PhpFilesystem;
|
||||
|
||||
abstract class Processor implements Processable
|
||||
{
|
||||
@@ -28,7 +28,7 @@ abstract class Processor implements Processable
|
||||
|
||||
protected string $target_path;
|
||||
|
||||
/** @var \LaravelLang\Lang\Contracts\Filesystem[]|array */
|
||||
/** @var \LaravelLang\Development\Contracts\Filesystem[]|array */
|
||||
protected array $filesystems = [];
|
||||
|
||||
public function application(Application $app): Processable
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors;
|
||||
namespace LaravelLang\Development\Processors;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use LaravelLang\Lang\Concerns\Template;
|
||||
use LaravelLang\Lang\Constants\Referents as Constants;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Compilers\Referents as Compilator;
|
||||
use LaravelLang\Development\Concerns\Template;
|
||||
use LaravelLang\Development\Constants\Referents as Constants;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
use LaravelLang\Development\Services\Compilers\Referents as Compilator;
|
||||
use ReflectionClass;
|
||||
use ReflectionClassConstant;
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
namespace LaravelLang\Development\Processors\Statuses;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Compilers\Collection;
|
||||
use LaravelLang\Lang\Services\Compilers\Locale;
|
||||
use LaravelLang\Development\Constants\Resource;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
use LaravelLang\Development\Services\Compilers\Collection;
|
||||
use LaravelLang\Development\Services\Compilers\Locale;
|
||||
|
||||
class Locales extends Processor
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
namespace LaravelLang\Development\Processors\Statuses;
|
||||
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Lang\Services\Compilers\Status;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
use LaravelLang\Development\Services\Compilers\Status;
|
||||
|
||||
class Main extends Processor
|
||||
{
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
namespace LaravelLang\Development\Processors\Statuses;
|
||||
|
||||
use DragonCode\Support\Facades\Callbacks\Sorter;
|
||||
use DragonCode\Support\Facades\Helpers\Arr;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File;
|
||||
use LaravelLang\Lang\Concerns\Countable;
|
||||
use LaravelLang\Lang\Concerns\Excludes;
|
||||
use LaravelLang\Lang\Concerns\Template;
|
||||
use LaravelLang\Lang\Processors\Processor as BaseProcessor;
|
||||
use LaravelLang\Development\Concerns\Countable;
|
||||
use LaravelLang\Development\Concerns\Excludes;
|
||||
use LaravelLang\Development\Concerns\Template;
|
||||
use LaravelLang\Development\Processors\Processor as BaseProcessor;
|
||||
|
||||
abstract class Processor extends BaseProcessor
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Processors\Statuses;
|
||||
namespace LaravelLang\Development\Processors\Statuses;
|
||||
|
||||
use LaravelLang\Lang\Facades\Translate;
|
||||
use LaravelLang\Development\Facades\Translate;
|
||||
use Throwable;
|
||||
|
||||
class Translator extends Processor
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
namespace LaravelLang\Development\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Development\Constants\Resource;
|
||||
|
||||
class Collection extends Compiler
|
||||
{
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
namespace LaravelLang\Development\Services\Compilers;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
use LaravelLang\Lang\Concerns\Contains;
|
||||
use LaravelLang\Lang\Concerns\Template;
|
||||
use LaravelLang\Lang\Contracts\Application;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Development\Concerns\Contains;
|
||||
use LaravelLang\Development\Concerns\Template;
|
||||
use LaravelLang\Development\Contracts\Application;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
|
||||
abstract class Compiler implements Stringable
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
namespace LaravelLang\Development\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Development\Constants\Resource;
|
||||
|
||||
class Locale extends Compiler
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
namespace LaravelLang\Development\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Development\Constants\Resource;
|
||||
|
||||
class Referents extends Compiler
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
namespace LaravelLang\Development\Services\Compilers;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Lang\Models\Locale;
|
||||
use LaravelLang\Development\Constants\Resource;
|
||||
use LaravelLang\Development\Models\Locale;
|
||||
|
||||
class Status extends Compiler
|
||||
{
|
||||
@@ -59,7 +59,7 @@ class Status extends Compiler
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \LaravelLang\Lang\Models\Locale[]|array $items
|
||||
* @param \LaravelLang\Development\Models\Locale[]|array $items
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Compilers;
|
||||
namespace LaravelLang\Development\Services\Compilers;
|
||||
|
||||
use LaravelLang\Lang\Constants\Resource;
|
||||
use LaravelLang\Development\Constants\Resource;
|
||||
|
||||
class Table extends Compiler
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services;
|
||||
namespace LaravelLang\Development\Services;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
namespace LaravelLang\Development\Services\Filesystem;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
use DragonCode\Support\Facades\Helpers\Ables\Arrayable;
|
||||
use LaravelLang\Lang\Application;
|
||||
use LaravelLang\Lang\Concerns\Storable;
|
||||
use LaravelLang\Lang\Contracts\Filesystem;
|
||||
use LaravelLang\Development\Application;
|
||||
use LaravelLang\Development\Concerns\Storable;
|
||||
use LaravelLang\Development\Contracts\Filesystem;
|
||||
|
||||
abstract class Base implements Filesystem
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
namespace LaravelLang\Development\Services\Filesystem;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File as Pretty;
|
||||
use DragonCode\Support\Facades\Helpers\Arr;
|
||||
use DragonCode\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
|
||||
class Json extends Base
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
namespace LaravelLang\Development\Services\Filesystem;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File;
|
||||
use DragonCode\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
|
||||
class Markdown extends Base
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services\Filesystem;
|
||||
namespace LaravelLang\Development\Services\Filesystem;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File as Pretty;
|
||||
use DragonCode\PrettyArray\Services\Formatter;
|
||||
use DragonCode\Support\Tools\Stub;
|
||||
use LaravelLang\Lang\Contracts\Stringable;
|
||||
use LaravelLang\Development\Contracts\Stringable;
|
||||
|
||||
class Php extends Base
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Services;
|
||||
namespace LaravelLang\Development\Services;
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\RequestOptions;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Support;
|
||||
namespace LaravelLang\Development\Support;
|
||||
|
||||
use Dotenv\Repository\AdapterRepository;
|
||||
use Dotenv\Repository\RepositoryBuilder;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Support;
|
||||
namespace LaravelLang\Development\Support;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
use Symfony\Component\Finder\Finder as SymfonyFinder;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Support;
|
||||
namespace LaravelLang\Development\Support;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace LaravelLang\Lang\Support;
|
||||
namespace LaravelLang\Development\Support;
|
||||
|
||||
use DragonCode\Support\Concerns\Makeable;
|
||||
use DragonCode\Support\Facades\Helpers\Arr;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Facades\Env;
|
||||
use LaravelLang\Development\Facades\Env;
|
||||
|
||||
if (! function_exists('env')) {
|
||||
/**
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Packages;
|
||||
use LaravelLang\Development\Processors\Packages;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Packages::make());
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Git;
|
||||
use LaravelLang\Development\Processors\Git;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Git::make());
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Referents;
|
||||
use LaravelLang\Development\Processors\Referents;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Referents::make());
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Statuses\Locales;
|
||||
use LaravelLang\Lang\Processors\Statuses\Main;
|
||||
use LaravelLang\Development\Processors\Statuses\Locales;
|
||||
use LaravelLang\Development\Processors\Statuses\Main;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Main::make());
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use LaravelLang\Lang\Processors\Statuses\Translator;
|
||||
use LaravelLang\Development\Processors\Statuses\Translator;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/bootstrap/autoload.php';
|
||||
|
||||
/** @var \LaravelLang\Lang\Application $app */
|
||||
/** @var \LaravelLang\Development\Application $app */
|
||||
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||
|
||||
$app->processor(Translator::make());
|
||||
+2
-2
@@ -36,8 +36,8 @@
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"LaravelLang\\Lang\\": "app/main",
|
||||
"Tests\\": "app/tests"
|
||||
"LaravelLang\\Development\\": "app/main",
|
||||
"Tests\\": "tests"
|
||||
},
|
||||
"files": [
|
||||
"app/main/helpers.php"
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Test Suite">
|
||||
<directory suffix="Test.php">./app/tests</directory>
|
||||
<directory suffix="Test.php">./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Concerns;
|
||||
namespace Tests\Development\Concerns;
|
||||
|
||||
trait Messages
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
namespace Tests\Development;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File as Pretty;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
namespace Tests\Development;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File as Pretty;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
namespace Tests\Development;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
namespace Tests\Development;
|
||||
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
namespace Tests\Development;
|
||||
|
||||
use DragonCode\PrettyArray\Services\File;
|
||||
use DragonCode\Support\Facades\Helpers\Ables\Arrayable;
|
||||
@@ -8,9 +8,9 @@ use DragonCode\Support\Facades\Helpers\Arr;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
|
||||
use DragonCode\Support\Facades\Helpers\Filesystem\File as Filesystem;
|
||||
use DragonCode\Support\Facades\Helpers\Str;
|
||||
use LaravelLang\Lang\Constants\Locales;
|
||||
use LaravelLang\Development\Constants\Locales;
|
||||
use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||
use Tests\Concerns\Messages;
|
||||
use Tests\Development\Concerns\Messages;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
Reference in new issue
Block a user