mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Bump qa tools
This commit is contained in:
+10
-10
@@ -8,7 +8,7 @@ jobs:
|
|||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Restore/cache tools folder
|
- name: Restore/cache tools folder
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
name: Unit tests
|
name: Unit tests
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: composer
|
- name: composer
|
||||||
uses: docker://composer
|
uses: docker://composer
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
- phpunit-with-coverage
|
- phpunit-with-coverage
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup cache environment
|
- name: Setup cache environment
|
||||||
id: cache-env
|
id: cache-env
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
key: ${{ steps.cache-env.outputs.key }}
|
key: ${{ steps.cache-env.outputs.key }}
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@master
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extension: ${{ env.extensions }}
|
extension: ${{ env.extensions }}
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [setup, phpunit]
|
needs: [setup, phpunit]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
- name: Restore/cache vendor folder
|
- name: Restore/cache vendor folder
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
all-build-${{ hashFiles('**/composer.lock') }}
|
all-build-${{ hashFiles('**/composer.lock') }}
|
||||||
all-build-
|
all-build-
|
||||||
- name: Code style check
|
- name: Code style check
|
||||||
uses: phpDocumentor/coding-standard@master
|
uses: phpDocumentor/coding-standard@latest
|
||||||
with:
|
with:
|
||||||
args: -s
|
args: -s
|
||||||
|
|
||||||
@@ -152,7 +152,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [setup, phpunit]
|
needs: [setup, phpunit]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
- name: composer
|
- name: composer
|
||||||
uses: docker://composer
|
uses: docker://composer
|
||||||
env:
|
env:
|
||||||
@@ -184,7 +184,7 @@ jobs:
|
|||||||
- phpunit
|
- phpunit
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup cache environment
|
- name: Setup cache environment
|
||||||
id: cache-env
|
id: cache-env
|
||||||
@@ -201,7 +201,7 @@ jobs:
|
|||||||
key: ${{ steps.cache-env.outputs.key }}
|
key: ${{ steps.cache-env.outputs.key }}
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@master
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extension: ${{ env.extensions }}
|
extension: ${{ env.extensions }}
|
||||||
@@ -231,7 +231,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [setup, phpunit]
|
needs: [setup, phpunit]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
- name: fetch tags
|
- name: fetch tags
|
||||||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||||
- name: BC Check
|
- name: BC Check
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ setup: install-phive
|
|||||||
|
|
||||||
.PHONY: phpcs
|
.PHONY: phpcs
|
||||||
phpcs:
|
phpcs:
|
||||||
docker run -it --rm -v${PWD}:/opt/project -w /opt/project phpdoc/phpcs-ga:v1.0.0 -s
|
docker run -it --rm -v${PWD}:/opt/project -w /opt/project phpdoc/phpcs-ga:latest -s
|
||||||
|
|
||||||
.PHONY: phpcbf
|
.PHONY: phpcbf
|
||||||
phpcbf:
|
phpcbf:
|
||||||
docker run -it --rm -v${PWD}:/opt/project -w /opt/project phpdoc/phpcs-ga:v1.0.0 phpcbf
|
docker run -it --rm -v${PWD}:/opt/project -w /opt/project phpdoc/phpcs-ga:latest phpcbf
|
||||||
|
|
||||||
.PHONY: phpstan
|
.PHONY: phpstan
|
||||||
phpstan:
|
phpstan:
|
||||||
@@ -25,7 +25,7 @@ phpstan:
|
|||||||
|
|
||||||
.PHONY: psalm
|
.PHONY: psalm
|
||||||
psalm:
|
psalm:
|
||||||
docker run -it --rm -v${PWD}:/opt/project -w /opt/project mickaelandrieu/psalm-ga
|
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.2 tools/psalm
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
|
|||||||
@@ -2,4 +2,5 @@
|
|||||||
<phive xmlns="https://phar.io/phive">
|
<phive xmlns="https://phar.io/phive">
|
||||||
<phar name="phpunit" version="^8.4.3" installed="8.4.3" location="./tools/phpunit" copy="true"/>
|
<phar name="phpunit" version="^8.4.3" installed="8.4.3" location="./tools/phpunit" copy="true"/>
|
||||||
<phar name="phpstan" version="^0.9.1" installed="0.12.2" location="./tools/phpstan" copy="true"/>
|
<phar name="phpstan" version="^0.9.1" installed="0.12.2" location="./tools/phpstan" copy="true"/>
|
||||||
|
<phar name="psalm" version="^3.12.1" installed="3.12.1" location="./tools/psalm" copy="true"/>
|
||||||
</phive>
|
</phive>
|
||||||
|
|||||||
@@ -282,6 +282,8 @@ final class StandardTagFactory implements TagFactory
|
|||||||
* Retrieves a series of ReflectionParameter objects for the static 'create' method of the given
|
* Retrieves a series of ReflectionParameter objects for the static 'create' method of the given
|
||||||
* tag handler class name.
|
* tag handler class name.
|
||||||
*
|
*
|
||||||
|
* @param class-string $handlerClassName
|
||||||
|
*
|
||||||
* @return ReflectionParameter[]
|
* @return ReflectionParameter[]
|
||||||
*/
|
*/
|
||||||
private function fetchParametersForHandlerFactoryMethod(string $handlerClassName) : array
|
private function fetchParametersForHandlerFactoryMethod(string $handlerClassName) : array
|
||||||
|
|||||||
Reference in New Issue
Block a user