Commit eec5cab 1 parent e103d90 commit eec5cab Copy full SHA for eec5cab
File tree 6 files changed +60
-0
lines changed
6 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rector PHP
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ - ' [0-9]+.[0-9]+'
7
+ pull_request : ~
8
+ jobs :
9
+ rector :
10
+ name : Run rector
11
+ uses : ibexa/gh-workflows/.github/workflows/rector.yml@main
12
+ secrets :
13
+ SATIS_NETWORK_KEY : ${{ secrets.SATIS_NETWORK_KEY }}
14
+ SATIS_NETWORK_TOKEN : ${{ secrets.SATIS_NETWORK_TOKEN }}
15
+ TRAVIS_GITHUB_TOKEN : ${{ secrets.TRAVIS_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 26
26
"ibexa/code-style" : " ~2.0.0" ,
27
27
"ibexa/doctrine-schema" : " ~5.0.x-dev" ,
28
28
"ibexa/phpstan" : " ~5.0.x-dev" ,
29
+ "ibexa/rector" : " ~5.0.x-dev" ,
29
30
"phpstan/phpstan" : " ^2.0" ,
30
31
"phpstan/phpstan-phpunit" : " ^2.0" ,
31
32
"phpstan/phpstan-symfony" : " ^2.0" ,
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /**
4
+ * @copyright Copyright (C) Ibexa AS. All rights reserved.
5
+ * @license For full copyright and license information view LICENSE file distributed with this source code.
6
+ */
7
+ declare (strict_types=1 );
8
+
9
+ use Ibexa \Contracts \Rector \Factory \IbexaRectorConfigFactory ;
10
+
11
+ return (new IbexaRectorConfigFactory (
12
+ [
13
+ __DIR__ . '/src ' ,
14
+ __DIR__ . '/tests ' ,
15
+ ]
16
+ ))->createConfig ();
Original file line number Diff line number Diff line change
1
+ name : Rector PHP
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ - ' [0-9]+.[0-9]+'
7
+ pull_request : ~
8
+ jobs :
9
+ rector :
10
+ name : Run rector
11
+ uses : ibexa/gh-workflows/.github/workflows/rector.yml@main
Original file line number Diff line number Diff line change 20
20
"ibexa/code-style" : " ~2.0.0" ,
21
21
"ibexa/doctrine-schema" : " ~5.0.x-dev" ,
22
22
"ibexa/phpstan" : " ~5.0.x-dev" ,
23
+ "ibexa/rector" : " ~5.0.x-dev" ,
23
24
"phpstan/phpstan" : " ^2.0" ,
24
25
"phpstan/phpstan-phpunit" : " ^2.0" ,
25
26
"phpstan/phpstan-symfony" : " ^2.0" ,
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /**
4
+ * @copyright Copyright (C) Ibexa AS. All rights reserved.
5
+ * @license For full copyright and license information view LICENSE file distributed with this source code.
6
+ */
7
+ declare (strict_types=1 );
8
+
9
+ use Ibexa \Contracts \Rector \Factory \IbexaRectorConfigFactory ;
10
+
11
+ return (new IbexaRectorConfigFactory (
12
+ [
13
+ __DIR__ . '/src ' ,
14
+ __DIR__ . '/tests ' ,
15
+ ]
16
+ ))->createConfig ();
You can’t perform that action at this time.
0 commit comments