PMC-878 Make the necessary changes in the core according to the "Laravel" upgrade guide (From v5.4 to v5.5.0)

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-06-25 08:17:57 -04:00
committed by Julio Cesar Laura Avendaño
parent fbe09def63
commit efc38c9400
4 changed files with 1074 additions and 475 deletions

View File

@@ -13,7 +13,6 @@ class Kernel extends ConsoleKernel
* @var array * @var array
*/ */
protected $commands = [ protected $commands = [
Commands\PMTranslationsPlugins::class
]; ];
/** /**
@@ -34,6 +33,6 @@ class Kernel extends ConsoleKernel
*/ */
protected function commands() protected function commands()
{ {
$this->load(__DIR__ . '/Commands');
} }
} }

View File

@@ -27,8 +27,8 @@
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,
"require": { "require": {
"php": ">=5.6", "php": ">=7.1",
"laravel/framework": "5.4.*", "laravel/framework": "5.5.*",
"luracast/restler": "^3.0", "luracast/restler": "^3.0",
"bshaffer/oauth2-server-php": "v1.0", "bshaffer/oauth2-server-php": "v1.0",
"colosa/pmUI": "release/3.3.1-dev", "colosa/pmUI": "release/3.3.1-dev",
@@ -43,7 +43,7 @@
"phpmailer/phpmailer": "5.2.27", "phpmailer/phpmailer": "5.2.27",
"pear/archive_tar": "1.4.*", "pear/archive_tar": "1.4.*",
"pear/console_getopt": "1.4.*", "pear/console_getopt": "1.4.*",
"TYPO3/class-alias-loader": "^1.0", "typo3/class-alias-loader": "^1.0",
"ralouphie/getallheaders": "^2.0", "ralouphie/getallheaders": "^2.0",
"smarty/smarty": "2.6.30", "smarty/smarty": "2.6.30",
"pdepend/pdepend": "@stable", "pdepend/pdepend": "@stable",
@@ -55,6 +55,7 @@
"fzaninotto/faker": "^1.7", "fzaninotto/faker": "^1.7",
"guzzlehttp/guzzle": "^6.3", "guzzlehttp/guzzle": "^6.3",
"phpunit/phpunit": "~5.7", "phpunit/phpunit": "~5.7",
"filp/whoops": "~2.0",
"lmc/steward": "^2.2", "lmc/steward": "^2.2",
"behat/behat": "^3.3", "behat/behat": "^3.3",
"behat/mink-selenium2-driver": "^1.3", "behat/mink-selenium2-driver": "^1.3",
@@ -101,7 +102,11 @@
}, },
"scripts": { "scripts": {
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wimg/php-compatibility", "post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wimg/php-compatibility",
"post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wimg/php-compatibility" "post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wimg/php-compatibility",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"
]
}, },
"extra": { "extra": {
"typo3/class-alias-loader": { "typo3/class-alias-loader": {

1493
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -80,7 +80,7 @@
* @access public * @access public
* @return void * @return void
*/ */
public function pakeYAMLNode() { public function __construct() {
$this->id = uniqid(''); $this->id = uniqid('');
} }
} }