Skip to content

Commit 039bb24

Browse files
committed
minor #117 Updating license headers & automating (weaverryan)
This PR was merged into the 1.0-dev branch. Discussion ---------- Updating license headers & automating Just a chore :). Now `php-cs-fixer` can add these headers. Also fixed the name of the package. Commits ------- 91e6ce0 updating license headers
2 parents 30d2a0c + 91e6ce0 commit 039bb24

35 files changed

+82
-34
lines changed

.php_cs.dist

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,23 @@ return PhpCsFixer\Config::create()
77
->setRules(array(
88
'@Symfony' => true,
99
'@Symfony:risky' => true,
10-
'array_syntax' => array('syntax' => 'short'),
10+
'array_syntax' => ['syntax' => 'short'],
1111
'protected_to_private' => false,
1212
'semicolon_after_instruction' => false,
13+
'header_comment' => [
14+
'header' => <<<EOF
15+
This file is part of the Symfony MakerBundle package.
16+
17+
(c) Fabien Potencier <[email protected]>
18+
19+
For the full copyright and license information, please view the LICENSE
20+
file that was distributed with this source code.
21+
EOF
22+
]
1323
))
1424
->setRiskyAllowed(true)
1525
->setFinder(
1626
PhpCsFixer\Finder::create()
1727
->in(__DIR__.'/src')
1828
)
19-
;
29+
;

src/ApplicationAwareMakerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/Command/MakerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/ConsoleStyle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/DependencyBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/DependencyInjection/CompilerPass/MakeCommandRegistrationPass.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony MakerBundle package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Bundle\MakerBundle\DependencyInjection\CompilerPass;
413

514
use Symfony\Bundle\MakerBundle\Command\MakerCommand;

src/DependencyInjection/MakerExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/Event/ConsoleErrorSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/EventRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

src/Exception/RuntimeCommandException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the Symfony MakerBundle package.
55
*
66
* (c) Fabien Potencier <[email protected]>
77
*

0 commit comments

Comments
 (0)