Skip to content

Commit 4ec4734

Browse files
committed
Updated PHPDoc
1 parent d712489 commit 4ec4734

11 files changed

+150
-26
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [PHP] Ultra Small Proxy 2
2-
PHP: **7.2.5+**, current release: **2.1** build 2022-04-23
2+
PHP: **7.2.5+**, current release: **2.1.1** build 2022-04-25
33

44
**Ultra Small Proxy is a light-weight proxy written in PHP.**
55

@@ -170,7 +170,9 @@ Other methods:
170170

171171
### Changelog
172172

173-
- `2.1` -- package was added to packagist (2022-04-23)
173+
- `2.1.0` -- package was added to packagist (2022-04-23)
174+
175+
- `2.1.1` -- updated PHPDoc (2022-04-25)
174176

175177
### Ultra Small Proxy is free to use but if you liked then you can donate project via BTC:
176178

index.php

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

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
require __DIR__ . '/vendor/autoload.php';
413

14+
/**
15+
* @package szczyglis/php-ultra-small-proxy
16+
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
17+
* @copyright 2022 Marcin Szczyglinski
18+
* @license http://www.opensource.org/licenses/MIT The MIT License
19+
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
20+
*/
21+
522
use Szczyglis\UltraSmallProxy\UltraSmallProxy;
623
use Szczyglis\UltraSmallProxy\Config;
724

loopback.php

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

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
session_start();
413

14+
/**
15+
* @package szczyglis/php-ultra-small-proxy
16+
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
17+
* @copyright 2022 Marcin Szczyglinski
18+
* @license http://www.opensource.org/licenses/MIT The MIT License
19+
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
20+
*/
21+
522
echo '<h1>ULTRA SMALL PROXY - LOOPBACK TEST</h1><hr>';
623
echo '<h1>URLS REWRITE TEST</h1>';
724
echo '<h5>(check the page source here)</h5>';

src/Cache.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Cache
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Cache

src/Config.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Config
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Config

src/Cookie.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Cookie
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Cookie

src/Debug.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Debug
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Debug

src/Http.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Http
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Http

src/Parser.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Parser
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Parser

src/Toolbar.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* Toolbar
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223

1324
class Toolbar

src/UltraSmallProxy.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
<?php
22

3+
/**
4+
* This file is part of szczyglis/php-ultra-small-proxy.
5+
*
6+
* (c) Marcin Szczyglinski <szczyglis@protonmail.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
namespace Szczyglis\UltraSmallProxy;
413

514
/**
6-
* @package UltraSmallProxy
15+
* UltraSmallProxy
16+
*
17+
* @package szczyglis/php-ultra-small-proxy
718
* @author Marcin Szczyglinski <szczyglis@protonmail.com>
19+
* @copyright 2022 Marcin Szczyglinski
20+
* @license http://www.opensource.org/licenses/MIT The MIT License
821
* @link https://github.com/szczyglis-dev/php-ultra-small-proxy
9-
* @license MIT
10-
* @version 2.1 | 2022.04.23
1122
*/
1223
class UltraSmallProxy
1324
{

0 commit comments

Comments
 (0)