File tree 20 files changed +77
-112
lines changed
20 files changed +77
-112
lines changed Original file line number Diff line number Diff line change 1
- #
2
- # Tests Ignore
3
- #
4
- /tests export-ignore
5
- phpunit.xml export-ignore
1
+ * text =auto
6
2
7
- #
8
- # System Files
9
- #
10
3
/.github export-ignore
4
+ /tests export-ignore
11
5
.editorconfig export-ignore
12
6
.gitattributes export-ignore
13
7
.gitignore export-ignore
14
8
.travis.yml export-ignore
9
+ phpunit.xml export-ignore
10
+ CHANGELOG- * export-ignore
11
+ CONTRIBUTING.md export-ignore
12
+ CODE_OF_CONDUCT.md export-ignore
Original file line number Diff line number Diff line change 1
1
.idea /
2
+ * .iml
3
+
2
4
vendor /
3
5
composer.phar
6
+
7
+ .DS_Store
8
+ Thumbs.db
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- <p align =" center " >
2
- <h1>Pipe</h1>
3
- </p >
4
- <p align =" center " >
5
- <a href="https://travis-ci.org/SerafimArts/Pipe"><img src="https://travis-ci.org/SerafimArts/Pipe.svg" alt="Travis CI" /></a>
6
- <a href="https://codeclimate.com/github/SerafimArts/Pipe/test_coverage"><img src="https://api.codeclimate.com/v1/badges/1fb35ca43960c5421349/test_coverage" /></a>
7
- <a href="https://codeclimate.com/github/SerafimArts/Pipe/maintainability"><img src="https://api.codeclimate.com/v1/badges/1fb35ca43960c5421349/maintainability" /></a>
8
- </p >
9
- <p align =" center " >
10
- <a href="https://packagist.org/packages/serafim/pipe"><img src="https://img.shields.io/badge/PHP-7.1+-6f4ca5.svg" alt="PHP 7.1+"></a>
11
- <a href="https://packagist.org/packages/serafim/pipe"><img src="https://poser.pugx.org/serafim/pipe/version" alt="Latest Stable Version"></a>
12
- <a href="https://packagist.org/packages/serafim/pipe"><img src="https://poser.pugx.org/serafim/pipe/downloads" alt="Total Downloads"></a>
13
- <a href="https://raw.githubusercontent.com/SerafimArts/Pipe/master/LICENSE.md"><img src="https://poser.pugx.org/serafim/pipe/license" alt="License MIT"></a>
14
- </p >
1
+ # Pipe
15
2
16
3
Object-oriented pipe operator implementation based
17
4
on [ RFC Pipe Operator] ( https://wiki.php.net/rfc/pipe-operator ) .
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ declare(strict_types=1);
11
11
12
12
use Composer \Autoload \ClassLoader ;
13
13
use Symfony \Component \Console \Application ;
14
- use Serafim \Pipe \Console \BuildAutocompleteCommand ;
14
+ use Fun \Pipe \Console \BuildAutocompleteCommand ;
15
15
16
16
17
17
/*
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " serafim /pipe" ,
2
+ "name" : " phpfn /pipe" ,
3
3
"type" : " library" ,
4
4
"description" : " Library for implementing function call chains" ,
5
5
"license" : " MIT" ,
10
10
" curry" ,
11
11
" partial application"
12
12
],
13
- "homepage" : " https://github.com/SerafimArts/Pipe " ,
13
+ "homepage" : " https://github.com/phpfn/pipe " ,
14
14
"support" : {
15
- "issues" : " https://github.com/SerafimArts/Pipe /issues" ,
16
- "source" : " https://github.com/SerafimArts/Pipe "
15
+ "issues" : " https://github.com/phpfn/pipe /issues" ,
16
+ "source" : " https://github.com/phpfn/pipe "
17
17
},
18
18
"authors" : [
19
19
{
22
22
}
23
23
],
24
24
"require" : {
25
- "php" : " ^7.1.3 " ,
26
- "serafim /placeholder" : " ~1 .0"
25
+ "php" : " >=7.4 " ,
26
+ "phpfn /placeholder" : " ^2 .0"
27
27
},
28
28
"autoload" : {
29
29
"psr-4" : {
30
- "Serafim \\ Pipe\\ " : " src/ "
30
+ "Fun \\ Pipe\\ " : " src"
31
31
},
32
32
"files" : [
33
- " ./ src/helpers.php"
33
+ " src/helpers.php"
34
34
]
35
35
},
36
36
"require-dev" : {
37
+ "phpunit/phpunit" : " ^9.0" ,
37
38
"laminas/laminas-code" : " ~3.4" ,
38
39
"symfony/console" : " ~4.3|~5.0" ,
39
- "phpunit/phpunit" : " ~7.5|~8.0" ,
40
40
"symfony/var-dumper" : " ~4.3|~5.0"
41
41
},
42
42
"autoload-dev" : {
43
43
"psr-4" : {
44
- "Serafim \\ Pipe\\ Tests\\ " : " tests/ "
44
+ "Fun \\ Pipe\\ Tests\\ " : " tests"
45
45
},
46
46
"files" : [
47
47
" tests/stubs/functions.php"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals =" true"
3
- backupStaticAttributes =" false"
4
- bootstrap =" vendor/autoload.php"
2
+ <phpunit backupGlobals =" false"
5
3
colors =" true"
6
- convertErrorsToExceptions =" true"
7
- convertNoticesToExceptions =" true"
8
- convertWarningsToExceptions =" true"
9
- processIsolation =" false"
10
- stopOnFailure =" false" >
4
+ bootstrap =" vendor/autoload.php"
5
+ failOnRisky =" true"
6
+ failOnWarning =" true"
7
+ >
11
8
<testsuites >
12
9
<testsuite name =" Test Suite" >
13
- <directory suffix =" TestCase.php" >./ tests</directory >
10
+ <directory suffix =" TestCase.php" >tests</directory >
14
11
</testsuite >
15
12
</testsuites >
16
13
<filter >
20
17
</filter >
21
18
<php >
22
19
<ini name =" error_reporting" value =" -1" />
23
- <ini name =" memory_limit" value =" -1" />
20
+ <ini name =" intl.default_locale" value =" en" />
21
+ <ini name =" intl.error_level" value =" 0" />
22
+ <ini name =" memory_limit" value =" -1" />
24
23
</php >
25
24
</phpunit >
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* This file was automatically generated
4
5
*
5
6
* @license MIT
6
7
* @noinspection ALL
7
8
*/
8
9
9
-
10
- namespace Serafim \Pipe ;
10
+ namespace Fun \Pipe ;
11
11
12
12
/**
13
13
* @noinspection AutoloadingIssuesInspection
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
4
5
*
5
6
* For the full copyright and license information, please view the LICENSE
6
7
* file that was distributed with this source code.
7
8
*/
9
+
8
10
declare (strict_types=1 );
9
11
10
- namespace Serafim \Pipe \Console ;
12
+ namespace Fun \Pipe \Console ;
11
13
12
14
use Laminas \Code \Generator \ClassGenerator ;
13
15
use Laminas \Code \Generator \DocBlockGenerator ;
14
16
use Laminas \Code \Generator \FileGenerator ;
15
17
use Laminas \Code \Generator \ParameterGenerator ;
16
18
use Laminas \Code \Reflection \FunctionReflection ;
17
- use Serafim \Pipe \Pipe ;
19
+ use Fun \Pipe \Pipe ;
18
20
use Symfony \Component \Console \Command \Command ;
19
21
use Symfony \Component \Console \Input \InputInterface ;
20
22
use Symfony \Component \Console \Input \InputOption ;
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
4
5
*
5
6
* For the full copyright and license information, please view the LICENSE
6
7
* file that was distributed with this source code.
7
8
*/
9
+
8
10
declare (strict_types=1 );
9
11
10
- namespace Serafim \Pipe \Exception ;
12
+ namespace Fun \Pipe \Exception ;
11
13
12
14
/**
13
15
* Class FunctionNotFoundException
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
+
9
10
declare (strict_types=1 );
10
11
11
- namespace Serafim \Pipe ;
12
+ namespace Fun \Pipe ;
12
13
13
14
/**
14
15
* @mixin Pipe
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
+
9
10
declare (strict_types=1 );
10
11
11
- namespace Serafim \Pipe ;
12
+ namespace Fun \Pipe ;
12
13
13
- use Serafim \Pipe \Exception \FunctionNotFoundException ;
14
- use Serafim \Placeholder \Placeholder ;
14
+ use Fun \Pipe \Exception \FunctionNotFoundException ;
15
+ use Fun \Placeholder \Placeholder ;
15
16
16
17
/**
17
18
* Object-oriented pipe operator implementation based on PHP Pipe operator.
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
+
9
10
declare (strict_types=1 );
10
11
11
- namespace Serafim \Pipe ;
12
+ namespace Fun \Pipe ;
12
13
13
14
/**
14
15
* Interface PipeInterface
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
4
5
*
5
6
* For the full copyright and license information, please view the LICENSE
6
7
* file that was distributed with this source code.
7
8
*/
9
+
8
10
declare (strict_types=1 );
9
11
10
- namespace Serafim \Pipe ;
12
+ namespace Fun \Pipe ;
11
13
12
14
/**
13
15
* Trait RendererTrait
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
9
10
10
declare (strict_types=1 );
11
11
12
- namespace Serafim \Pipe ;
12
+ namespace Fun \Pipe ;
13
13
14
14
/**
15
15
* Class Trace
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
+
9
10
declare (strict_types=1 );
10
11
11
- use Serafim \Pipe \Pipe ;
12
- use Serafim \Pipe \PipeInterface ;
12
+ use Fun \Pipe \Pipe ;
13
+ use Fun \Pipe \PipeInterface ;
13
14
14
15
if (! \function_exists ('pipe ' )) {
15
16
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
9
10
10
declare (strict_types=1 );
11
11
12
- namespace Serafim \Pipe \Tests ;
12
+ namespace Fun \Pipe \Tests ;
13
13
14
14
/**
15
15
* Class TestFunctionPiping
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * This file is part of Pipe package.
4
+ * This file is part of phpfn package.
5
5
*
6
6
* For the full copyright and license information, please view the LICENSE
7
7
* file that was distributed with this source code.
8
8
*/
9
9
10
10
declare (strict_types=1 );
11
11
12
- namespace Serafim \Pipe \Tests ;
12
+ namespace Fun \Pipe \Tests ;
13
13
14
- use Serafim \Pipe \PipeInterface ;
14
+ use Fun \Pipe \PipeInterface ;
15
15
16
16
/**
17
17
* Class NamespacedFunctionsTestCase
You can’t perform that action at this time.
0 commit comments