Skip to content

Commit 4d0e743

Browse files
committed
Merge branch 'main' of github.com:alleyinteractive/mantle
2 parents ff62a60 + 874cd2b commit 4d0e743

File tree

8 files changed

+36
-40
lines changed

8 files changed

+36
-40
lines changed

app/exceptions/class-handler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
namespace App\Exceptions;
99

10-
use Mantle\Framework\Exceptions\Handler as ExceptionHandler;
10+
use Mantle\Framework\Exceptions\Handler as Base_Handler;
1111
use Throwable;
1212

1313
/**
1414
* Application Error Handler
1515
*/
16-
class Handler extends ExceptionHandler {
16+
class Handler extends Base_Handler {
1717

1818
/**
1919
* A list of the exception types that are not reported.

app/providers/class-app-service-provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace App\Providers;
99

10-
use Mantle\Framework\Providers\App_Service_Provider as Service_Provider;
10+
use Mantle\Application\App_Service_Provider as Service_Provider;
1111

1212
/**
1313
* Application Service Provider

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
use Mantle\Contracts;
9-
use Mantle\Framework\Application;
9+
use Mantle\Application\Application;
1010

1111
/**
1212
* Instantiate the application

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
"authors": [
77
{
88
"name": "Alley",
9-
"email": "info@alley.co"
9+
"email": "mantle@alley.com"
1010
}
1111
],
1212
"require": {
1313
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
14-
"alleyinteractive/mantle-framework": "^0.9",
14+
"alleyinteractive/mantle-framework": "^0.10",
1515
"fakerphp/faker": "^1.9"
1616
},
1717
"require-dev": {
18-
"alleyinteractive/alley-coding-standards": "^0.3",
18+
"alleyinteractive/alley-coding-standards": "^1.0",
1919
"nunomaduro/collision": "^5.0",
2020
"phpunit/phpunit": "^9.3.3"
2121
},

config/app.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@
3131
// Framework Providers.
3232
Mantle\Filesystem\Filesystem_Service_Provider::class,
3333
Mantle\Database\Factory_Service_Provider::class,
34-
Mantle\Framework\Providers\Console_Service_Provider::class,
3534
Mantle\Framework\Providers\Error_Service_Provider::class,
36-
Mantle\Framework\Providers\Model_Service_Provider::class,
35+
Mantle\Database\Model_Service_Provider::class,
3736
Mantle\Queue\Queue_Service_Provider::class,
3837
Mantle\Query_Monitor\Query_Monitor_Service_Provider::class,
39-
Mantle\Framework\Providers\New_Relic_Service_Provider::class,
38+
Mantle\New_Relic\New_Relic_Service_Provider::class,
4039
Mantle\Database\Pagination\Paginator_Service_Provider::class,
4140
Mantle\Cache\Cache_Service_Provider::class,
4241

package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,10 @@
2121
<exclude-pattern>storage/framework/views</exclude-pattern>
2222

2323
<rule ref="Alley-Interactive">
24-
<!-- todo: port to alley coding standards -->
2524
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
2625
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
2726
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
28-
</rule>
29-
30-
<rule ref="WordPress">
27+
<exclude name="PHPCompatibility.FunctionDeclarations.NewClosure.ThisFoundOutsideClass" />
3128
<exclude name="WordPress.NamingConventions.ValidPostTypeSlug.NotStringLiteral" />
3229
</rule>
3330

tests/trait-create-application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace App\Tests;
99

1010
use App\Http\Kernel;
11-
use Mantle\Framework\Application;
11+
use Mantle\Application\Application;
1212

1313
/**
1414
* Concern for creating the application instance.
@@ -17,7 +17,7 @@ trait Create_Application {
1717
/**
1818
* Creates the application from the application instance.
1919
*
20-
* @return \Mantle\Framework\Application
20+
* @return \Mantle\Application\Application
2121
*/
2222
public function create_application(): \Mantle\Contracts\Application {
2323
// Allow non-mantle-site usage.

0 commit comments

Comments
 (0)