Skip to content

Commit 94a1d14

Browse files
committed
add(phpcs) copyright header
1 parent e191702 commit 94a1d14

File tree

871 files changed

+3925
-1636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

871 files changed

+3925
-1636
lines changed

.php-cs-fixer.dist.php

+19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
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
use PhpCsFixer\Config;
413
use PhpCsFixer\Finder;
514

@@ -29,6 +38,16 @@
2938
'import_symbols' => true,
3039
'leading_backslash_in_global_namespace' => true,
3140
],
41+
'header_comment' => [
42+
'header' => <<<'EOF'
43+
This file is part of the Symfony1 package.
44+
45+
(c) Fabien Potencier <fabien@symfony.com>
46+
47+
For the full copyright and license information, please view the LICENSE
48+
file that was distributed with this source code.
49+
EOF
50+
],
3251
'modernize_strpos' => true,
3352
])
3453
->setRiskyAllowed(true)

data/bin/changelog.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

data/bin/check_configuration.php

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
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
function is_cli()
413
{
514
return !isset($_SERVER['HTTP_HOST']);

data/bin/release.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2007 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

data/bin/sandbox_installer.php

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
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
$this->installDir(__DIR__.'/sandbox_skeleton');
413

514
$this->logSection('install', 'add symfony CLI for Windows users');

lib/action/sfAction.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6-
* (c) 2004-2006 Sean Kerr <sean@code-box.org>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

lib/action/sfActionStack.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6-
* (c) 2004-2006 Sean Kerr <sean@code-box.org>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

lib/action/sfActionStackEntry.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6-
* (c) 2004-2006 Sean Kerr <sean@code-box.org>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

lib/action/sfActions.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6-
* (c) 2004-2006 Sean Kerr <sean@code-box.org>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

lib/action/sfComponent.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/action/sfComponents.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/addon/sfData.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/addon/sfPager.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/autoload/sfAutoload.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/autoload/sfAutoloadAgain.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/autoload/sfCoreAutoload.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/autoload/sfSimpleAutoload.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfAPCCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfAPCuCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfEAcceleratorCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfFileCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfFunctionCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfMemcacheCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfNoCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfSQLiteCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/cache/sfXCacheCache.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/command/cli.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/command/sfAnsiColorFormatter.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

lib/command/sfCommandApplication.class.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
/*
4-
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
4+
* This file is part of the Symfony1 package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
67
*
78
* For the full copyright and license information, please view the LICENSE
89
* file that was distributed with this source code.

0 commit comments

Comments
 (0)