Skip to content

Commit 0a1836a

Browse files
committed
PHPCS fixes
1 parent 0ea14c7 commit 0a1836a

File tree

4 files changed

+65
-14
lines changed

4 files changed

+65
-14
lines changed

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "ohmybrew/shopify-app",
3-
"description": "Shopify App helper for Laravel",
4-
"keywords": ["laravel", "shopify"],
2+
"name": "ohmybrew/laravel-shopify",
3+
"description": "Shopify package for Laravel to aide in app development",
4+
"keywords": ["laravel", "shopify", "shopify-api", "api"],
55
"license": "MIT",
66
"minimum-stability": "dev",
77
"authors": [
@@ -20,7 +20,8 @@
2020
"orchestra/database": "~3.1",
2121
"orchestra/testbench": "~3.0",
2222
"phpunit/phpunit": "~5.7",
23-
"satooshi/php-coveralls": "~1.0"
23+
"satooshi/php-coveralls": "~1.0",
24+
"squizlabs/php_codesniffer": "^3.0"
2425
},
2526
"autoload": {
2627
"psr-4": {

composer.lock

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

src/ShopifyApp/ShopifyApp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public function __construct(Application $app)
3636
*
3737
* @return \OhMyBrew\Models\Shop
3838
*/
39-
public function shop() {
39+
public function shop()
40+
{
4041
$shopifyDomain = session('shopify_domain');
4142
if (!$this->shop && $shopifyDomain) {
4243
// Grab shop from database here

src/ShopifyApp/ShopifyAppProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ public function boot()
3434
public function register()
3535
{
3636
// Merge options with published config
37-
$this->mergeConfigFrom(
38-
__DIR__.'/resources/config/shopify-app.php', 'shopify-app'
39-
);
37+
$this->mergeConfigFrom(__DIR__.'/resources/config/shopify-app.php', 'shopify-app');
4038

4139
// ShopifyApp facade
4240
$this->app->bind('shopifyapp', function ($app) {

0 commit comments

Comments
 (0)