Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5293adf

Browse files
authored
PHP 8.4 Support (#80)
* fix: for PHP 8.4 - cloned abandoned deps to this repo Composer and PHPUnit run without errors or warnings now. * fix: all new deps working with composer and phpunit * fix: forgot to change composer patch path * fix local deps and patch * integrate subpackage workflows and fix dep refs * trying to fix dep refs one more time * fixing all "Check Active Classes" jobs * fixing all subpackage Rector issues * re-fixing subpackage workflows * fixed phpstan error * fixed last 2 workflow errors
1 parent e3d2982 commit 5293adf

File tree

249 files changed

+9814
-12
lines changed

Some content is hidden

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

249 files changed

+9814
-12
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: autowire-array-parameter Code Analysis
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
code_analysis:
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
actions:
12+
-
13+
name: 'PHPStan'
14+
run: cd src-deps/autowire-array-parameter && composer phpstan --ansi
15+
16+
-
17+
name: 'Composer Validate'
18+
run: cd src-deps/autowire-array-parameter && composer validate --ansi
19+
20+
-
21+
name: 'Rector'
22+
run: cd src-deps/autowire-array-parameter && composer rector --ansi
23+
24+
-
25+
name: 'Coding Standard'
26+
run: cd src-deps/autowire-array-parameter && composer fix-cs --ansi
27+
28+
-
29+
name: 'Tests'
30+
run: cd src-deps/autowire-array-parameter && vendor/bin/phpunit
31+
32+
-
33+
name: 'PHP Linter'
34+
run: cd src-deps/autowire-array-parameter && vendor/bin/parallel-lint src tests
35+
36+
-
37+
name: 'Check Commented Code'
38+
run: cd src-deps/autowire-array-parameter && vendor/bin/easy-ci check-commented-code src tests --ansi
39+
40+
-
41+
name: 'Check Active Classes'
42+
run: >
43+
cd src-deps/autowire-array-parameter
44+
&& vendor/bin/class-leak check src --skip-type="Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass"
45+
46+
name: ${{ matrix.actions.name }}
47+
runs-on: ubuntu-latest
48+
49+
steps:
50+
- uses: actions/checkout@v3
51+
# see https://github.com/shivammathur/setup-php
52+
- uses: shivammathur/setup-php@v2
53+
with:
54+
php-version: 8.1
55+
coverage: none
56+
57+
# composer install cache - https://github.com/ramsey/composer-install
58+
- uses: "ramsey/composer-install@v2"
59+
with:
60+
working-directory: "src-deps/autowire-array-parameter"
61+
62+
- run: ${{ matrix.actions.run }}

.github/workflows/code_analysis.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,18 @@ jobs:
5555
coverage: none
5656
- uses: "ramsey/composer-install@v2"
5757
- run: ${{ matrix.actions.run }}
58+
59+
autowire-array-parameter_code_analysis:
60+
uses: ./.github/workflows/autowire-array-parameter_code_analysis.yml
61+
62+
easy-testing_code_analysis:
63+
uses: ./.github/workflows/easy-testing_code_analysis.yml
64+
65+
package-builder_code_analysis:
66+
uses: ./.github/workflows/package-builder_code_analysis.yml
67+
68+
smart-file-system_code_analysis:
69+
uses: ./.github/workflows/smart-file-system_code_analysis.yml
70+
71+
symplify-kernel_code_analysis:
72+
uses: ./.github/workflows/symplify-kernel_code_analysis.yml
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: easy-testing Code Analysis
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
code_analysis:
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
actions:
12+
-
13+
name: 'PHPStan'
14+
run: cd src-deps/easy-testing && composer phpstan --ansi
15+
16+
-
17+
name: 'Composer Validate'
18+
run: cd src-deps/easy-testing && composer validate --ansi
19+
20+
-
21+
name: 'Rector'
22+
run: cd src-deps/easy-testing && composer rector --ansi
23+
24+
-
25+
name: 'Coding Standard'
26+
run: cd src-deps/easy-testing && composer fix-cs --ansi
27+
28+
-
29+
name: 'Tests'
30+
run: cd src-deps/easy-testing && vendor/bin/phpunit
31+
32+
-
33+
name: 'PHP Linter'
34+
run: cd src-deps/easy-testing && vendor/bin/parallel-lint src tests
35+
36+
-
37+
name: 'Check Commented Code'
38+
run: cd src-deps/easy-testing && vendor/bin/easy-ci check-commented-code src tests --ansi
39+
40+
-
41+
name: 'Check Active Classes'
42+
run: >
43+
cd src-deps/easy-testing
44+
&& vendor/bin/class-leak check src
45+
--skip-type="Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass"
46+
--skip-type="Symplify\\EasyTesting\\Kernel\\EasyTestingKernel"
47+
48+
name: ${{ matrix.actions.name }}
49+
runs-on: ubuntu-latest
50+
51+
steps:
52+
- uses: actions/checkout@v3
53+
# see https://github.com/shivammathur/setup-php
54+
- uses: shivammathur/setup-php@v2
55+
with:
56+
php-version: 8.1
57+
coverage: none
58+
59+
# composer install cache - https://github.com/ramsey/composer-install
60+
- uses: "ramsey/composer-install@v2"
61+
with:
62+
working-directory: "src-deps/easy-testing"
63+
64+
- run: ${{ matrix.actions.run }}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: package-builder Code Analysis
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
code_analysis:
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
actions:
12+
-
13+
name: 'PHPStan'
14+
run: cd src-deps/package-builder && composer phpstan --ansi
15+
16+
-
17+
name: 'Composer Validate'
18+
run: cd src-deps/package-builder && composer validate --ansi
19+
20+
-
21+
name: 'Rector'
22+
run: cd src-deps/package-builder && composer rector --ansi
23+
24+
-
25+
name: 'Coding Standard'
26+
run: cd src-deps/package-builder && composer fix-cs --ansi
27+
28+
-
29+
name: 'Tests'
30+
run: cd src-deps/package-builder && vendor/bin/phpunit
31+
32+
-
33+
name: 'PHP Linter'
34+
run: cd src-deps/package-builder && vendor/bin/parallel-lint src tests
35+
36+
-
37+
name: 'Check Commented Code'
38+
run: cd src-deps/package-builder && vendor/bin/easy-ci check-commented-code src tests --ansi
39+
40+
-
41+
name: 'Check Active Classes'
42+
run: >
43+
cd src-deps/package-builder
44+
&& vendor/bin/class-leak check src
45+
--skip-type="Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass"
46+
--skip-type="Symplify\\PackageBuilder\\Diff\\DifferFactory"
47+
48+
name: ${{ matrix.actions.name }}
49+
runs-on: ubuntu-latest
50+
51+
steps:
52+
- uses: actions/checkout@v3
53+
# see https://github.com/shivammathur/setup-php
54+
- uses: shivammathur/setup-php@v2
55+
with:
56+
php-version: 8.1
57+
coverage: none
58+
59+
# composer install cache - https://github.com/ramsey/composer-install
60+
- uses: "ramsey/composer-install@v2"
61+
with:
62+
working-directory: "src-deps/package-builder"
63+
64+
- run: ${{ matrix.actions.run }}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: smart-file-system Code Analysis
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
code_analysis:
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
actions:
12+
-
13+
name: 'PHPStan'
14+
run: cd src-deps/smart-file-system && composer phpstan --ansi
15+
16+
-
17+
name: 'Composer Validate'
18+
run: cd src-deps/smart-file-system && composer validate --ansi
19+
20+
-
21+
name: 'Rector'
22+
run: cd src-deps/smart-file-system && composer rector --ansi
23+
24+
-
25+
name: 'Coding Standard'
26+
run: cd src-deps/smart-file-system && composer fix-cs --ansi
27+
28+
-
29+
name: 'Tests'
30+
run: cd src-deps/smart-file-system && vendor/bin/phpunit
31+
32+
-
33+
name: 'PHP Linter'
34+
run: cd src-deps/smart-file-system && vendor/bin/parallel-lint src tests
35+
36+
-
37+
name: 'Check Commented Code'
38+
run: cd src-deps/smart-file-system && vendor/bin/easy-ci check-commented-code src tests --ansi
39+
40+
-
41+
name: 'Check Active Classes'
42+
run: >
43+
cd src-deps/smart-file-system
44+
&& vendor/bin/class-leak check src --skip-type="Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass"
45+
46+
name: ${{ matrix.actions.name }}
47+
runs-on: ubuntu-latest
48+
49+
steps:
50+
- uses: actions/checkout@v3
51+
# see https://github.com/shivammathur/setup-php
52+
- uses: shivammathur/setup-php@v2
53+
with:
54+
php-version: 8.1
55+
coverage: none
56+
57+
# composer install cache - https://github.com/ramsey/composer-install
58+
- uses: "ramsey/composer-install@v2"
59+
with:
60+
working-directory: "src-deps/smart-file-system"
61+
62+
- run: ${{ matrix.actions.run }}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: symplify-kernel Code Analysis
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
code_analysis:
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
actions:
12+
-
13+
name: 'PHPStan'
14+
run: cd src-deps/symplify-kernel && composer phpstan --ansi
15+
16+
-
17+
name: 'Composer Validate'
18+
run: cd src-deps/symplify-kernel && composer validate --ansi
19+
20+
-
21+
name: 'Rector'
22+
run: cd src-deps/symplify-kernel && composer rector --ansi
23+
24+
-
25+
name: 'Coding Standard'
26+
run: cd src-deps/symplify-kernel && composer fix-cs --ansi
27+
28+
-
29+
name: 'Tests'
30+
run: cd src-deps/symplify-kernel && vendor/bin/phpunit
31+
32+
-
33+
name: 'PHP Linter'
34+
run: cd src-deps/symplify-kernel && vendor/bin/parallel-lint src tests
35+
36+
-
37+
name: 'Check Commented Code'
38+
run: cd src-deps/symplify-kernel && vendor/bin/easy-ci check-commented-code src tests --ansi
39+
40+
-
41+
name: 'Check Active Classes'
42+
run: cd src-deps/symplify-kernel && vendor/bin/class-leak check src
43+
44+
name: ${{ matrix.actions.name }}
45+
runs-on: ubuntu-latest
46+
47+
steps:
48+
- uses: actions/checkout@v3
49+
# see https://github.com/shivammathur/setup-php
50+
- uses: shivammathur/setup-php@v2
51+
with:
52+
php-version: 8.1
53+
coverage: none
54+
55+
# composer install cache - https://github.com/ramsey/composer-install
56+
- uses: "ramsey/composer-install@v2"
57+
with:
58+
working-directory: "src-deps/symplify-kernel"
59+
60+
- run: ${{ matrix.actions.run }}

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
composer.lock
2-
/vendor
3-
/.phpunit.cache
2+
vendor
3+
.phpunit.cache

0 commit comments

Comments
 (0)