Skip to content

Commit 67b15eb

Browse files
committed
add file header
1 parent 0e54d54 commit 67b15eb

31 files changed

Lines changed: 163 additions & 0 deletions

.php_cs.dist

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
return PhpCsFixer\Config::create()
4+
->setRules([
5+
'@PSR2' => true,
6+
'array_syntax' => ['syntax' => 'short'],
7+
'header_comment' => [
8+
'comment_type' => 'PHPDoc',
9+
'header' => <<<COMMENT
10+
@copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
11+
@license https://github.com/cebe/php-openapi/blob/master/LICENSE
12+
COMMENT
13+
]
14+
])
15+
;
16+

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ check-style:
66

77
fix-style:
88
vendor/bin/indent --tabs composer.json
9+
vendor/bin/indent --spaces .php_cs.dist
910
vendor/bin/php-cs-fixer fix src/ --diff
1011

1112
install:

src/Reader.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi;
49

510
use cebe\openapi\spec\OpenApi;

src/SpecBaseObject.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi;
49

510
use cebe\openapi\exceptions\ReadonlyPropertyException;

src/exceptions/ReadonlyPropertyException.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi\exceptions;
49

510
/**

src/exceptions/UnknownPropertyException.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi\exceptions;
49

510
/**

src/spec/Callback.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi\spec;
49

510
use cebe\openapi\SpecBaseObject;

src/spec/Components.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi\spec;
49

510
use cebe\openapi\SpecBaseObject;

src/spec/Contact.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi\spec;
49

510
use cebe\openapi\SpecBaseObject;

src/spec/Discriminator.php

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

3+
/**
4+
* @copyright Copyright (c) 2018 Carsten Brandt <mail@cebe.cc> and contributors
5+
* @license https://github.com/cebe/php-openapi/blob/master/LICENSE
6+
*/
7+
38
namespace cebe\openapi\spec;
49

510
use cebe\openapi\SpecBaseObject;

0 commit comments

Comments
 (0)