Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"

steps:
- name: "Checkout"
Expand All @@ -50,7 +51,7 @@ jobs:
run: "composer install --no-interaction --no-progress"

- name: "Transform source code"
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

- name: "Lint"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/reflection-golden-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"

steps:
- uses: Wandalen/[email protected]
Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
run: "composer install --no-interaction --no-progress"

- name: "Transform source code"
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

Expand All @@ -120,7 +121,7 @@ jobs:
run: "composer install --no-interaction --no-progress"

- name: "Transform source code"
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
operating-system: [ubuntu-latest, windows-latest]

steps:
Expand All @@ -56,7 +57,7 @@ jobs:
run: "composer install --no-interaction --no-progress"

- name: "Transform source code"
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

Expand All @@ -69,6 +70,10 @@ jobs:
if: matrix.php-version == '7.2'
run: "composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 composer/semver:^1.2 --update-with-dependencies --ignore-platform-reqs"

- name: "Update PHPUnit"
if: matrix.php-version != '7.2' && matrix.php-version != '7.3'
run: "composer update phpunit/phpunit -W"

- name: "PHPStan"
run: "make phpstan"

Expand All @@ -85,6 +90,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"

steps:
- name: "Checkout"
Expand All @@ -101,6 +107,9 @@ jobs:
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"

- name: "Update PHPUnit"
run: "composer update phpunit/phpunit -W"

- name: "Cache Result cache"
uses: actions/cache@v4
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
operating-system: [ ubuntu-latest, windows-latest ]

steps:
Expand All @@ -61,10 +62,14 @@ jobs:
run: "composer install --no-interaction --no-progress"

- name: "Transform source code"
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

- name: "Update PHPUnit"
if: matrix.php-version != '7.3'
run: "composer update phpunit/phpunit -W"

- name: "Tests"
run: "make tests"

Expand Down
1 change: 1 addition & 0 deletions build/composer-dependency-analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'symfony/process',
'symfony/service-contracts',
'symfony/string',
'nette/php-generator',
];

return $config
Expand Down
22 changes: 18 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@
"jetbrains/phpstorm-stubs": "dev-master#bdc8acd7c04c0c87197849c7cdd27e44b67b56c7",
"nette/bootstrap": "^3.0",
"nette/di": "^3.1.4",
"nette/neon": "^3.3.1",
"nette/neon": "3.3.3",
"nette/php-generator": "3.6.9",
"nette/schema": "^1.2.2",
"nette/utils": "^3.2.5",
"nikic/php-parser": "^4.17.1",
"ondram/ci-detector": "^3.4.0",
"ondrejmirtes/better-reflection": "6.25.0.15",
"ondrejmirtes/better-reflection": "6.25.0.17",
"phpstan/php-8-stubs": "0.3.97",
"phpstan/phpdoc-parser": "1.29.1",
"psr/http-message": "^1.1",
"react/async": "^3",
"react/child-process": "^0.6.4",
"react/child-process": "^0.7",
"react/dns": "^1.10",
"react/event-loop": "^1.2",
"react/http": "^1.1",
Expand Down Expand Up @@ -81,14 +82,23 @@
"composer/ca-bundle": [
"patches/cloudflare-ca.patch"
],
"hoa/exception": [
"patches/Idle.patch"
],
"hoa/file": [
"patches/File.patch",
"patches/Read.patch"
],
"hoa/iterator": [
"patches/Buffer.patch",
"patches/Lookahead.patch"
],
"hoa/compiler": [
"patches/HoaException.patch",
"patches/Invocation.patch",
"patches/Rule.patch",
"patches/Lexer.patch"
"patches/Lexer.patch",
"patches/TreeNode.patch"
],
"hoa/consistency": [
"patches/Consistency.patch"
Expand All @@ -109,6 +119,10 @@
],
"nette/di": [
"patches/DependencyChecker.patch"
],
"nette/neon": [
"patches/NetteNeonStringNode.patch",
"patches/NeonParser.patch"
]
}
},
Expand Down
Loading
Loading