GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( de963c...2c0924 )
by Anton
02:43
created

LaravelTemplate::getExtraContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 11
rs 9.4285
1
<?php
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer\Initializer\Template;
9
10
/**
11
 * Generate a Laravel deployer configuration.
12
 *
13
 * @author Anton Medvedev <[email protected]>
14
 */
15
class LaravelTemplate extends FrameworkTemplate
16
{
17
    protected function getRecipe()
18
    {
19
        return 'laravel';
20
    }
21
22
    protected function getExtraContent()
23
    {
24
        return <<<PHP
25
26
// Migrate database before symlink new release.
27
28
before('deploy:symlink', 'artisan:migrate');
29
30
PHP;
31
32
    }
33
}
34