Skip to content

Run phpstan-src tests and PHPStan with this phpdoc-parser - #331

Merged
ondrejmirtes merged 1 commit into
2.3.xfrom
test-phpstan-src
Oct 26, 2026
Merged

ondrejmirtes merged 1 commit into
2.3.xfrom
test-phpstan-src

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

Adds a workflow that checks out phpstan/phpstan-src 2.3.x, replaces vendor/phpstan/phpdoc-parser/src with this repository's src/, and runs make tests (PHP 8.2–8.5) and make phpstan (PHP 8.5). It works the same way as the existing Slevomat Coding Standard workflow.

Ran the same steps locally against phpstan-src: 22614 tests OK (106 skipped), PHPStan reported no errors.

Amp thread: https://ampcode.com/threads/T-01a179a5-580c-7253-9c42-00ace3f03617

Comment on lines +35 to +36
- name: "Checkout"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Comment on lines +38 to +43
- name: "Checkout phpstan-src"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: phpstan/phpstan-src
path: phpstan-src
ref: 2.3.x
with:
repository: phpstan/phpstan-src
path: phpstan-src
ref: 2.3.x
ref: 2.3.x

- name: "Install PHP"
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # v2
@ondrejmirtes
ondrejmirtes merged commit a7a1c23 into 2.3.x Oct 26, 2026
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants