-
Notifications
You must be signed in to change notification settings - Fork 240
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
WIP: Laravel upgrade 5.8 #760
Changes from 3 commits
1cee927
28c2aea
f1c1083
79fe076
c582ce2
ec9dc36
170d76e
6ee8766
d4ed865
cfbbc20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/node_modules | ||
/public/hot | ||
/public/storage | ||
/public/modules/* | ||
/storage/*.key | ||
/vendor | ||
Homestead.json | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Activity/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please don't commit this file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, I will remove this and modified compose.json before committing finally because these are our internal companies module. I will adjust it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah no worries, I guess as much 😄 |
||
Contact/ | ||
CourierTracking/ | ||
Faq/ | ||
Location/ | ||
Rarv/ | ||
StationaryPrint/ | ||
Task/ | ||
Transaction/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,21 @@ | |
], | ||
"license": "MIT", | ||
"type": "project", | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/dakshhmehta/Menu.git" | ||
}, | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/dakshhmehta/Core.git" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1.3", | ||
"fideloper/proxy": "^4.0", | ||
"laravel/framework": "5.7.*", | ||
"laravel/framework": "5.8.*", | ||
"laravel/tinker": "^1.0", | ||
"nwidart/laravel-modules": "^4.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs to be here for auto-discovery to work. Otherwise, you have to manually load the service provider and facade for Laravel Modules in the app config.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, I guess I removed it unintentionally. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have reverted to 4.0, 5.0 seems to be incompatible with other module or am I missing anything? |
||
"cartalyst/sentinel": "^2.0", | ||
"idavoll/adminlte-theme": "4.0.x-dev", | ||
"idavoll/core-module": "4.0.x-dev", | ||
|
@@ -38,11 +47,14 @@ | |
"league/commonmark": "^0.18.3", | ||
"league/flysystem-aws-s3-v3": "^1.0", | ||
"mockery/mockery": "^1.0", | ||
"nunomaduro/collision": "^2.0", | ||
"orchestra/testbench": "3.7.*", | ||
"phpunit/phpunit": "^7.0", | ||
"nunomaduro/collision": "^3.0", | ||
"orchestra/testbench": "3.8.*", | ||
"phpunit/phpunit": "^7.5", | ||
"predis/predis": "^1.1", | ||
"roave/security-advisories": "dev-master" | ||
"roave/security-advisories": "dev-master", | ||
|
||
"tormjens/eventy": "^0.6", | ||
"spatie/laravel-activitylog": "3.9.1" | ||
}, | ||
"autoload": { | ||
"classmap": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
<testsuite name="Core"> | ||
<directory>./Modules/Core/Tests/</directory> | ||
</testsuite> | ||
<testsuite name="Dashboard"> | ||
<!-- <testsuite name="Dashboard"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are these commented? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am refactoring each of them and uncommenting manually to make it compatible for 3.8 testbench. Mostly setUp and tearDown are protected and return void strictly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All are done and file is reverted to its original form |
||
<directory>./Modules/Dashboard/Tests/</directory> | ||
</testsuite> | ||
<testsuite name="Media"> | ||
|
@@ -35,7 +35,7 @@ | |
</testsuite> | ||
<testsuite name="User"> | ||
<directory>./Modules/User/Tests/</directory> | ||
</testsuite> | ||
</testsuite> --> | ||
<testsuite name="Workshop"> | ||
<directory>./Modules/Workshop/Tests/</directory> | ||
</testsuite> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, again when we publish module, it just copied file from the module assets to public, we dont need I guess. Take a final call and I will remove it if there is intention to copy assets from modules to public.