Skip to content

Commit

Permalink
GH Actions/reusable-phpstan.yml: rename version input to `phpstanVe…
Browse files Browse the repository at this point in the history
…rsion`

.. to improve clarity of what the option is about.
  • Loading branch information
jrfnl committed Nov 8, 2024
1 parent 99cede7 commit 9283b07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reusable-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PHPStan
on:
workflow_call:
inputs:
version:
phpstanVersion:
description: "The PHPStan version to use. Defaults to the latest available version."
type: string
required: false
Expand All @@ -27,10 +27,10 @@ jobs:
- name: Create tools string
id: tools
run: |
if [ "${{ inputs.version }}" == "" ]; then
if [ "${{ inputs.phpstanVersion }}" == "" ]; then
echo 'TOOLS=phpstan' >> "$GITHUB_OUTPUT"
else
echo 'TOOLS=phpstan:${{ inputs.version }}' >> "$GITHUB_OUTPUT"
echo 'TOOLS=phpstan:${{ inputs.phpstanVersion }}' >> "$GITHUB_OUTPUT"
fi
- name: Install PHP
Expand Down

0 comments on commit 9283b07

Please sign in to comment.