8000 [9.x] Add config create command by otilor · Pull Request #40221 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content
  • Insights
  • [9.x] Add config create command #40221

    New issue

    Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

    By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

    Already on GitHub? Sign in to your account

    Closed
    wants to merge 403 commits into from
    Closed
    Show file tree
    Hide file tree
    Changes from 1 commit
    Commits
    8000
    Show all changes
    403 commits
    Select commit Hold shift + click to select a range
    2eb476b
    Merge branch '8.x'
    driesvints Feb 15, 2021
    347dc5b
    [9.x] Fixing the Error : Class "League\Flysystem\Adapter\Local" not f…
    arcanedev-maroc Mar 1, 2021
    3bcd999
    Merge branch '8.x'
    GrahamCampbell Mar 2, 2021
    0758ec1
    Merge branch '8.x'
    GrahamCampbell Mar 2, 2021
    77f543a
    Merge branch '8.x'
    driesvints Mar 4, 2021
    7b5c521
    Date
    driesvints Mar 4, 2021
    71803be
    Merge branch '8.x'
    driesvints Mar 9, 2021
    f6a4217
    [9.x] Update to EmailValidator v3 (#36525)
    driesvints Mar 9, 2021
    217b934
    Merge branch '8.x'
    GrahamCampbell Mar 9, 2021
    ac0e133
    Delete CHANGELOG-6.x.md
    GrahamCampbell Mar 9, 2021
    1762bd9
    Bumped symfony version to ^5.3 (#36529)
    GrahamCampbell Mar 10, 2021
    e16f4b6
    Drop pusher/pusher-php-server 4.x (#36528)
    GrahamCampbell Mar 10, 2021
    84c78b9
    Change exception's handler ignore method to public (#36550)
    smujaddid Mar 11, 2021
    6d7661d
    Merge branch '8.x'
    driesvints Mar 11, 2021
    3aabbb7
    fixes restrictive type declaration in InteractsWithViews (#36575)
    rbarden Mar 12, 2021
    e9e91b0
    Add Faker as dev dependency (#36586)
    driesvints Mar 12, 2021
    41bb7f2
    Merge branch '8.x'
    driesvints Mar 22, 2021
    f8b0c09
    Rename $conn to meaningful name $connection (#36713)
    4m1n0s Mar 23, 2021
    b11ffe3
    Merge branch '8.x'
    GrahamCampbell Mar 24, 2021
    b132b09
    Fixed merge
    GrahamCampbell Mar 24, 2021
    76762f9
    add age option to flush failed jobs command
    Mar 26, 2021
    6daecf4
    use hours
    taylorotwell Mar 26, 2021
    8b40e8b
    [9.x] Add key support to FormRequest validated method (#36807)
    benholmen Mar 30, 2021
    d71ea5e
    Merge branch '8.x'
    GrahamCampbell Mar 30, 2021
    20a78b9
    Merge branch '8.x'
    GrahamCampbell Mar 30, 2021
    6f41768
    - Merge wrap differences into base grammar (#36510)
    LarsGrevelink Apr 1, 2021
    c61c862
    formatting
    taylorotwell Apr 1, 2021
    f7cd47a
    [9.x] Iterable value type for whereBetween (#36933)
    hebinet Apr 11, 2021
    8bdd75b
    [9.x] allow for named global class scopes (#36934)
    lupinitylabs Apr 12, 2021
    eb17d56
    allow passing an array of params to ignore in original while validati…
    introwit Apr 13, 2021
    0ac0ef5
    Merge branch '8.x'
    GrahamCampbell Apr 13, 2021
    7994795
    formatting
    taylorotwell Apr 14, 2021
    e3a1518
    Merge branch 'signature-param'
    taylorotwell Apr 14, 2021
    8f31b64
    Apply fixes from StyleCI (#36983)
    taylorotwell Apr 14, 2021
    6e13421
    [9.x] Update Container\Util::unwrapIfClosure to match value helper (#…
    netpok Apr 15, 2021
    c0a3169
    Merge branch '8.x'
    GrahamCampbell Apr 15, 2021
    e769e3d
    [9.x] Add sole() to Enumerable contract. (#37066)
    ash-jc-allen Apr 21, 2021
    18e9c8f
    fix conflicts
    taylorotwell Apr 21, 2021
    7a5672a
    Merge branch '8.x'
    GrahamCampbell May 2, 2021
    accf9db
    Implement having null (#37228)
    amir9480 May 3, 2021
    1e5662a
    Merge branch '8.x'
    driesvints May 10, 2021
    bc54ad9
    Add option to ignore case in `Str::contains` and `Str::containsAll` (…
    ksassnowski May 10, 2021
    d923676
    Fix the return type on the password broker factory (#37355)
    axlon May 12, 2021
    e0ae5fc
    [9.x] Set anonymous migration (#37352)
    lloricode May 12, 2021
    699abd0
    Consistent BelongsToMany#firstOrCreate behaviour (#37337)
    tw99 May 12, 2021
    201f501
    Merge branch '8.x'
    GrahamCampbell May 12, 2021
    d39c6c1
    Merge branch '8.x'
    GrahamCampbell May 16, 2021
    4590d55
    Replace Whoops interface with generic ExceptionRenderer interface
    AlexVanderbist May 19, 2021
    b688269
    Fix code style
    AlexVanderbist May 19, 2021
    b701d95
    Add WhoopsExceptionRenderer
    AlexVanderbist May 21, 2021
    9213d30
    Code style fixes
    AlexVanderbist May 21, 2021
    fd56f1b
    Code style
    AlexVanderbist May 21, 2021
    a7970f7
    Support iterables objects on data_get nested arrays (#37453)
    marcoocram May 24, 2021
    fe93d99
    formatting
    taylorotwell May 26, 2021
    be221e5
    Merge branch 'registerable-exception-renderer'
    taylorotwell May 26, 2021
    95b1899
    [9.x] Move to anonymous migrations (#37598)
    driesvints Jun 4, 2021
    b20f8d0
    Combine signed url verification fix from 8.x with excepted parameters…
    Krisell Jun 4, 2021
    fce9dce
    Handle special cases for signed url validation exceptions
    Krisell Jun 6, 2021
    b7dda6b
    Allow signed url excepted parameters to be a prefix or suffix of anot…
    Krisell Jun 6, 2021
    932f6ba
    Replace regexp with split to filter out ignored query parameters
    Krisell Jun 7, 2021
    895dca9
    Update UrlGenerator.php
    taylorotwell Jun 7, 2021
    4c2c181
    Update FoundationServiceProvider.php
    taylorotwell Jun 7, 2021
    ce27f30
    formatting
    taylorotwell Jun 7, 2021
    fc46309
    Apply fixes from StyleCI (#37620)
    taylorotwell Jun 7, 2021
    0e89f3e
    Merge branch '8.x'
    driesvints Jun 7, 2021
    77ed2c7
    fix test
    driesvints Jun 7, 2021
    d49e821
    [9.x] Universal HigherOrderWhenProxy (#37632)
    inxilpro Jun 10, 2021
    d8fddb1
    Merge branch '8.x'
    driesvints Jun 11, 2021
    a590739
    Simplify `Conditionable` tests (#37657)
    JosephSilber Jun 11, 2021
    2c096ac
    Merge branch '8.x'
    driesvints Jun 14, 2021
    075b6b2
    [9.x] Adds the `scoped` method to the container contract (#37679)
    tonysm Jun 14, 2021
    691fe57
    Merge branch '8.x'
    driesvints Jun 14, 2021
    b7f0359
    [9.x] Add `Conditionable` support for callback conditions (#37667)
    JosephSilber Jun 17, 2021
    24dc91d
    Merge branch '8.x'
    driesvints Jun 21, 2021
    cc84229
    Fix merge conflicts
    driesvints Jun 21, 2021
    850182e
    allow to call BelongsToMany::firstOrNew/Create without parameters (#3…
    caugner Jun 24, 2021
    b52f82c
    Merge branch '8.x'
    driesvints Jun 28, 2021
    fb33213
    [9.x] Sesv2client (#37878)
    fideloper Jul 1, 2021
    8a1a7b5
    [9.x] Bug fix: Use correct parameters to send email through SES via S…
    fideloper Jul 2, 2021
    08728a3
    Merge branch '8.x'
    driesvints Jul 6, 2021
    03fa6a2
    [9.x] Update to Symfony v6 and drop PHP 7.4 support (#37941)
    driesvints Jul 7, 2021
    892163c
    Merge branch '8.x'
    GrahamCampbell Jul 7, 2021
    4b16b78
    Merge branch 'master' of github.com:laravel/framework
    GrahamCampbell Jul 7, 2021
    f15b9ae
    Fixed typo in `PruneCommand`
    GrahamCampbell Jul 7, 2021
    85ceb55
    Merge branch '8.x'
    driesvints Jul 8, 2021
    4186af1
    Merge branch '8.x'
    driesvints Jul 9, 2021
    32a0e8e
    [9.x] Drop CommonMark v1 support (#37953)
    driesvints Jul 10, 2021
    3145df6
    Merge branch '8.x'
    driesvints Jul 13, 2021
    7bfc315
    Remove CursorPaginationException (#37995)
    driesvints Jul 13, 2021
    8059b39
    Use string based accessor for Schema facade
    driesvints Jul 15, 2021
    67f6542
    Update Facade.php
    driesvints Jul 15, 2021
    5d57904
    Update Facade.php
    driesvints Jul 15, 2021
    331e53a
    [9.x] PHP8 string functions for Str class (#38011)
    tomschlick Jul 15, 2021
    014a00a
    Merge branch '8.x'
    driesvints Jul 15, 2021
    f62e503
    formatting
    taylorotwell Jul 16, 2021
    9a28b8b
    Merge branch 'refactor-schema-facade'
    taylorotwell Jul 16, 2021
    3ec5bdc
    [9.x] Query builder interface (#37956)
    inxilpro Jul 16, 2021
    ab5fd4b
    update php8 string function (#38071)
    shuvroroy Jul 19, 2021
    709714d
    TrimString middleware adds invisible characters (#38117)
    allowing Jul 23, 2021
    9581cd6
    Remove ext-json from composer.json (#38202)
    Jubeki Aug 2, 2021
    76b3417
    Merge branch '8.x'
    driesvints Aug 9, 2021
    13e4a7f
    [9.x] Manually populate POST request body with JSON data only when re…
    LukeTowers Aug 9, 2021
    0ec3e78
    [9.x] Use CarbonImmutable by default (#38258)
    michaeldyrynda Aug 10, 2021
    3a8888c
    Merge branch '8.x'
    driesvints Aug 12, 2021
    94c1b8a
    Fix incorrect type
    driesvints Aug 12, 2021
    8defbc6
    Make BuildsQueries::tap consistent with other versions of tap (#38359)
    axlon Aug 12, 2021
    34771cb
    BelongsToMany firstOrCreate and firstOrNew should merge attributes co…
    JayBizzle Aug 13, 2021
    2c3c533
    Merge branch '8.x'
    driesvints Aug 13, 2021
    128614b
    Merge branch '8.x'
    GrahamCampbell Aug 14, 2021
    d5c054b
    Merge branch '8.x'
    driesvints Aug 16, 2021
    cdf73f2
    Merge branch '8.x'
    driesvints Aug 16, 2021
    585b604
    [9.x] Fix Symfony v6 breaking changes (#38376)
    driesvints Aug 16, 2021
    edbbcdb
    Make Application@handle() meet Symfony 6's updated interface (#38413)
    derekmd Aug 17, 2021
    93883ae
    Merge branch '8.x'
    driesvints Aug 19, 2021
    c95392a
    DB queries containing JSON paths support array index references (#38391)
    derekmd Aug 19, 2021
    f409e04
    Update firstOrFail logic (#38470)
    chu121su12 Aug 20, 2021
    67f0a12
    Merge branch '8.x'
    driesvints Aug 20, 2021
    1f07d75
    [9.x] Lazy load queue commands (#38479)
    chu121su12 Aug 20, 2021
    081f467
    Dump specific key of the response (#38468)
    chrysanthos Aug 20, 2021
    078ae5c
    Update namespaces in docblocks
    driesvints Aug 23, 2021
    908c4e4
    Merge branch '8.x'
    driesvints Aug 23, 2021
    792e42c
    [9.x] Split Conditionable into package (#38457)
    inxilpro Aug 24, 2021
    da9116b
    [9.x] Adjust PHP 8 and Symfony 6 constraints in all composer.json fil…
    X-Coder264 Aug 24, 2021
    14c2b25
    minor grammar fix (#38529)
    browner12 Aug 24, 2021
    89b68c7
    Update constraint
    driesvints Aug 26, 2021
    81527e7
    bump
    driesvints Aug 26, 2021
    b1de554
    [9.x] Improves `Support\Collection` and `Database\Eloquent\Collection…
    nunomaduro Aug 27, 2021
    932e601
    [9.x] Allow for null handling in custom casts (#38039)
    jnoordsij Aug 27, 2021
    d69e2e0
    Merge branch '8.x'
    driesvints Sep 2, 2021
    a3cd40a
    Merge branch '8.x'
    GrahamCampbell Sep 6, 2021
    bd7a519
    [9.x] Support the latest psr/container versions (#38692)
    GrahamCampbell Sep 6, 2021
    dc7563c
    Merge branch '8.x'
    GrahamCampbell Sep 6, 2021
    63052ae
    Merge branch '8.x'
    driesvints Sep 7, 2021
    b34ce62
    Merge branch '8.x'
    GrahamCampbell Sep 8, 2021
    60a958c
    Merge branch '8.x'
    GrahamCampbell Sep 8, 2021
    9ee0a4b
    CS fixes
    GrahamCampbell Sep 8, 2021
    05bba7c
    Merge branch '8.x'
    GrahamCampbell Sep 8, 2021
    73ac595
    Fixed phpdoc
    GrahamCampbell Sep 8, 2021
    01b7c08
    Merge branch '8.x'
    GrahamCampbell Sep 8, 2021
    75969f7
    Add firstOr methods to relationship classes (#38694)
    ganyicz Sep 8, 2021
    016265b
    Merge branch '8.x'
    GrahamCampbell Sep 9, 2021
    e62401b
    Merge branch '8.x'
    GrahamCampbell Sep 9, 2021
    531c051
    Merge branch '8.x'
    GrahamCampbell Sep 9, 2021
    c1b38ea
    CS fixes
    GrahamCampbell Sep 9, 2021
    4e6e235
    CS fixes
    GrahamCampbell Sep 9, 2021
    3234a8d
    Merge branch '8.x'
    driesvints Sep 13, 2021
    097107a
    [9.x] Implement Symfony Mailer (#38481)
    driesvints Sep 14, 2021
    3eb951d
    Fixes invalid PHPDoc syntax
    canvural Sep 15, 2021
    2832ecc
    Update PHPDocs
    canvural Sep 15, 2021
    b0a0d66
    Merge pull request #38821 from canvural/patch-3
    nunomaduro Sep 15, 2021
    2b2420b
    [9.x] Update psr/log version (#38852)
    kylekatarnls Sep 18, 2021
    818d736
    [9.x] Add support for 4xx/5xx fallback error views (#38877)
    SjorsO Sep 20, 2021
    fcdd3a5
    [9.x] Only throws BroadcastException on all drivers (#38862)
    xiCO2k Sep 20, 2021
    53ac152
    add method to contract
    taylorotwell Sep 20, 2021
    8d53ebe
    [9.x] Non-breaking forwardDecoratedCallTo refactor (#38908)
    inxilpro Sep 22, 2021
    5ea1f91
    Add `saveQuietly` convenience methods to relations (#38934)
    dobrakmato Sep 24, 2021
    747032b
    [9.x] Revert "[9.x] Update psr/log version" and fix properly (#38952)
    GrahamCampbell Sep 26, 2021
    f43d32a
    Merge branch '8.x'
    driesvints Sep 29, 2021
    42f2b93
    Re-add predis
    driesvints Sep 29, 2021
    4f685f0
    Fix test
    driesvints Sep 29, 2021
    12d6652
    Fail on error for now for PHP 8.1 tests
    driesvints Sep 29, 2021
    d6fd27c
    Remove password rule (#39030)
    netpok Sep 29, 2021
    45113cf
    Merge branch '8.x'
    driesvints Sep 29, 2021
    ae0ef69
    Re-enable PHP 8.1 tests
    driesvints Sep 29, 2021
    2232263
    Removes `opis/closure` package (#39087)
    nunomaduro Oct 5, 2021
    b25f211
    [9.x] Prevent calling count() on LazyCollection in Blade loops (#39141)
    devfrey Oct 8, 2021
    c7278f1
    Apply fixes from StyleCI
    taylorotwell Oct 8, 2021
    438eba7
    [9.x] Add `hasUser` method to Guard contract (#39167)
    mpyw Oct 12, 2021
    760d705
    Makes database factories generic (#39169)
    nunomaduro Oct 12, 2021
    40e6536
    Do not let SetCacheHeaders override the eTag. (#39166)
    lucasmichot Oct 12, 2021
    161098d
    Makes HasFactory generic (#39171)
    nunomaduro Oct 13, 2021
    a3e7f48
    Remove TrustHosts reliance on config helper (#39294)
    axlon Oct 21, 2021
    477ca40
    Merge branch '8.x'
    driesvints Oct 22, 2021
    7708c10
    [9.x] Auto close pull requests on illuminate repositories (#39318)
    driesvints Oct 22, 2021
    f3aedf2
    Add auto close for PRs to sub splits
    driesvints Oct 22, 2021
    ec8f88b
    Fixes `Collection::unique` types (#39323)
    nunomaduro Oct 22, 2021
    ceadf6e
    Uses `"phpstan/phpstan": "^1.0"` (#39479)
    nunomaduro Nov 4, 2021
    ef1eb4d
    Merge branch '8.x'
    driesvints Nov 6, 2021
    417d5fc
    Resolve merge conflicts
    driesvints Nov 6, 2021
    7f6fb00
    remove test
    driesvints Nov 6, 2021
    fcb7acb
    [9.0] Change some switch to match (#39504)
    KennedyTedesco Nov 6, 2021
    1795c8c
    [9.0] Change some strpos to str_contains (#39503)
    KennedyTedesco Nov 6, 2021
    2d1fa2f
    wip
    driesvints Nov 6, 2021
    5869c9d
    Disable postgres build for now
    driesvints Nov 6, 2021
    0565d94
    [9.x] Improve `Support\LazyCollection` type definitions (#39506)
    Nov 7, 2021
    481cd52
    Apply fixes from StyleCI
    taylorotwell Nov 7, 2021
    ba2e05f
    Merge branch '8.x'
    driesvints Nov 8, 2021
    535f184
    Remove minimum versions in builds
    driesvints Nov 8, 2021
    032c69a
    [9.x] Use request isMethod instead of method comparison (#39526)
    seriquynh Nov 8, 2021
    4baf4f7
    Makes `with` generic (#39615)
    nunomaduro Nov 15, 2021
    23cdfcf
    [9.x] Use match expression where possible (#39583)
    seriquynh Nov 15, 2021
    5dc64fd
    Check types only in stable versions of PHP (#39617)
    nunomaduro Nov 15, 2021
    c46d735
    Exclude PHPStan related files from distributions (#39622)
    axlon Nov 15, 2021
    2534e00
    Modify DatabaseRule to accept Arrayable instance inside where methods…
    amaelftah Nov 15, 2021
    5e0b273
    use jsonb type for pgsql whereJsonLength (#39619)
    tpetry Nov 15, 2021
    e13132b
    [9.x] Fix postgresql build (#39531)
    driesvints Nov 16, 2021
    8f9ddea
    [9.x] Fix \Illuminate\Support\Facades\App::storagePath() method ignor…
    afilippov1985 Nov 17, 2021
    aa2a02d
    [9.x] Use Relative View Path Name When Hashing Compiled Views (#39642)
    bogdankharchenko Nov 17, 2021
    5646989
    Merge branch '8.x'
    GrahamCampbell Nov 17, 2021
    156cc09
    Merge branch 'master' of https://github.com/laravel/framework
    GrahamCampbell Nov 17, 2021
    cea563d
    Merge branch '8.x'
    GrahamCampbell Nov 17, 2021
    9894c2c
    [9.x] Remove `assertDeleted` (#39661)
    jasonmccreary Nov 18, 2021
    ae39757
    Disable PostgreSQL build for now
    driesvints Nov 29, 2021
    de98bd0
    Merge branch '8.x'
    driesvints Nov 29, 2021
    ee5efbc
    [9.x] Improve Collection's callable default return types (#39805)
    MatanYadaev Nov 29, 2021
    63bb589
    Add callOnce to Seeder (#39812)
    sebastiandedeyne Nov 29, 2021
    49aac46
    Use Laravel call for retrieving Session (#39830)
    driesvints Nov 30, 2021
    8d7c7a4
    Add giveConfig to ContextualBindingBuilder (#39819)
    simensen Nov 30, 2021
    6cb52b2
    Replace foreach by collection contains in Request class (#39857)
    seriquynh Dec 1, 2021
    68db4e2
    Merge branch '8.x'
    driesvints Dec 2, 2021
    1d6380d
    wip
    driesvints Dec 2, 2021
    9c88e7c
    wip
    driesvints Dec 2, 2021
    4a57b48
    wip
    driesvints Dec 2, 2021
    940b18f
    Merge branch '8.x'
    driesvints Dec 3, 2021
    faa56bd
    Re-enable PostgreSQL build (#39890)
    driesvints Dec 3, 2021
    eb66b96
    Remove parameter from DecoratesQueryBuilder::delete() (#39900)
    staudenmeir Dec 6, 2021
    dc768b4
    Merge branch '8.x'
    GrahamCampbell Dec 7, 2021
    d8bea92
    [9.x] Refactor scheduled event lifecycle (#39539)
    inxilpro Dec 7, 2021
    1873d2a
    [9.x] Refactor ExceptionHandler render method (#39930)
    seriquynh Dec 8, 2021
    c892c2c
    [9.x] Pusher Client instance initialization (#39924)
    rennokki Dec 8, 2021
    8bbe427
    [9.x] Adds `WithoutModelEvents` trait for running seeds without Model…
    nunomaduro Dec 8, 2021
    985b2cf
    Fix ThrottleRequestsException (#39951)
    seriquynh Dec 9, 2021
    bb1f59b
    Imports without model events trait on seeds (#39974)
    nunomaduro Dec 10, 2021
    e70cb9d
    Merge branch '8.x'
    GrahamCampbell Dec 13, 2021
    b11f946
    case when '0' passed (#40013)
    afilippov1985 Dec 13, 2021
    ad2141f
    [9.x] Support x-forwarded-prefix in TrustProxies.php (#40014)
    ppodds Dec 13, 2021
    f00a541
    refactor getTrustedHeaderNames with match function (#40019)
    ppodds Dec 13, 2021
    8dde758
    Update composer.json
    driesvints Dec 14, 2021
    94e846b
    [9.x] Allows to remove the `server.php` file (#40034)
    nunomaduro Dec 14, 2021
    c7d6fe5
    Merge branch '8.x'
    GrahamCampbell Dec 14, 2021
    96d2b48
    Proper fix when provided path is '0' (#40050)
    vlakoff Dec 15, 2021
    a1f66ba
    [9.x] Fix array to string conversion when using custom validation mes…
    mateusjunges Dec 16, 2021
    77b0e11
    Merge branch '8.x'
    driesvints Dec 17, 2021
    3202603
    [9.x] PSR Log v3 (#40087)
    driesvints Dec 17, 2021
    bcf9ed1
    Fix vendor publish command (#40081)
    driesvints Dec 17, 2021
    8e46f9c
    Restore psr/log v1 support (#40093)
    GrahamCampbell Dec 17, 2021
    ec7045e
    [9.x] Allow HTTP client requests with retries to optionally throw Req…
    mattkingshott Dec 17, 2021
    dc47126
    [9.x] Move maintenance mode logic (#40070)
    wimulkeman Dec 17, 2021
    66e69a2
    Apply fixes from StyleCI
    taylorotwell Dec 17, 2021
    703f87b
    Skip unnecessary check before calling openssl_encrypt (#40108)
    Krisell Dec 20, 2021
    ca53127
    Add observer mapping
    punyflash Dec 20, 2021
    3ad64c5
    [9.x] Removes core class aliases from the skeleton (#40062)
    nunomaduro Dec 20, 2021
    61e3e25
    Skip unnecessary check before calling openssl_encrypt (#40108)
    Krisell Dec 20, 2021
    a5f21d6
    [9.x] Removes core class aliases from the skeleton (#40062)
    nunomaduro Dec 20, 2021
    102df66
    formatting
    taylorotwell Dec 20, 2021
    e7237f9
    Merge branch 'punyflash-master'
    taylorotwell Dec 20, 2021
    79952ac
    [9.x] Add cache-based maintenance mode support (#40102)
    axlon Dec 21, 2021
    2beec5d
    [9.x] Used str_contains instead of strpos. (#40207)
    selcukcukur Dec 30, 2021
    7aedd91
    Add config file stub
    otilor Jan 1, 2022
    31a8baf
    Add config create command
    otilor Jan 1, 2022
    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
    Prev Previous commit
    Next Next commit
    [9.x] Removes core class aliases from the skeleton (#40062)
    * Allows to remove core class `app.aliases` from the skeleton
    
    * Removes `Redis` alias
    
    * Merges configurations
    
    * Reverts changes on Register Facades
    
    * Adds `Facade::defaultAliases`
    
    * Apply fixes from StyleCI
    
    Co-authored-by: Taylor Otwell <taylorotwell@users.noreply.github.com>
    • Loading branch information
    nunomaduro and taylorotwell committed Dec 20, 2021
    commit a5f21d60e04511c31c3851bfb2dd1f3ba812b216
    53 changes: 53 additions & 0 deletions src/Illuminate/Support/Facades/Facade.php
    Original file line number Diff line number Diff line change
    Expand Up @@ -3,6 +3,10 @@
    namespace Illuminate\Support\Facades;

    use Closure;
    use Illuminate\Database\Eloquent\Model;
    use Illuminate\Support\Arr;
    use Illuminate\Support\Js;
    use Illuminate\Support\Str;
    use Mockery;
    use Mockery\LegacyMockInterface;
    use RuntimeException;
    Expand Down Expand Up @@ -243,6 +247,55 @@ public static function clearResolvedInstances()
    static::$resolvedInstance = [];
    }

    /**
    * Get the application default aliases.
    *
    * @return array
    */
    public static function defaultAliases()
    {
    return [
    'App' => App::class,
    'Arr' => Arr::class,
    'Artisan' => Artisan::class,
    'Auth' => Auth::class,
    'Blade' => Blade::class,
    'Broadcast' => Broadcast::class,
    'Bus' => Bus::class,
    'Cache' => Cache::class,
    'Config' => Config::class,
    'Cookie' => Cookie::class,
    'Crypt' => Crypt::class,
    'Date' => Date::class,
    'DB' => DB::class,
    'Eloquent' => Model::class,
    'Event' => Event::class,
    'File' => File::class,
    'Gate' => Gate::class,
    'Hash' => Hash::class,
    'Http' => Http::class,
    'Js' => Js::class,
    'Lang' => Lang::class,
    'Log' => Log::class,
    'Mail' => Mail::class,
    'Notification' => Notification::class,
    'Password' => Password::class,
    'Queue' => Queue::class,
    'RateLimiter' => RateLimiter::class,
    'Redirect' => Redirect::class,
    'Request' => Request::class,
    'Response' => Response::class,
    'Route' => Route::class,
    'Schema' => Schema::class,
    'Session' => Session::class,
    'Storage' => Storage::class,
    'Str' => Str::class,
    'URL' => URL::class,
    'Validator' => Validator::class,
    'View' => View::class,
    ];
    }

    /**
    * Get the application instance behind the facade.
    *
    Expand Down
    15 changes: 15 additions & 0 deletions tests/Integration/Support/FacadesTest.php
    Original file line number Diff line number Diff line change
    Expand Up @@ -3,7 +3,9 @@
    namespace Illuminate\Tests\Integration\Support;

    use Illuminate\Support\Facades\Auth;
    use Illuminate\Support\Facades\Facade;
    use Orchestra\Testbench\TestCase;
    use ReflectionClass;

    class FacadesTest extends TestCase
    {
    Expand Down Expand Up @@ -39,4 +41,17 @@ public function testFacadeResolvedCanResolveCallbackAfterAccessRootHasBeenResolv

    $this->assertTrue(isset($_SERVER['__laravel.authResolved']));
    }

    public function testDefaultAliases()
    {
    $defaultAliases = Facade::defaultAliases();

    foreach ($defaultAliases as $alias => $abstract) {
    $this->assertTrue(class_exists($alias));
    $this->assertTrue(class_exists($abstract));

    $reflection = new ReflectionClass($alias);
    $this->assertSame($abstract, $reflection->getName());
    }
    }
    }
    0