Skip to content

Commit

Permalink
Rename PHPStan neon ->dist
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Oct 17, 2024
1 parent b688e47 commit 2e4cc61
Show file tree
Hide file tree
Showing 7 changed files with 1,144 additions and 389 deletions.
2 changes: 1 addition & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ package.json
phpcompat.xml.dist
phpcs.xml.dist
phpmd.xml.dist
phpstan.neon
phpstan.neon.dist
postcss.config.js
README.md
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
/phpcompat.xml.dist export-ignore
/phpcs.xml.dist export-ignore
/phpmd.xml.dist export-ignore
/phpstan.neon export-ignore
/phpstan.neon.dist export-ignore
/postcss.config.js export-ignore
/README.md export-ignore
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
# These files configure Composer. Changes could affect the outcome.
- 'composer.*'
# This file configures PHPStan. Changes could affect the outcome.
- 'phpstan.neon'
- 'phpstan.neon.dist'
# Changes to workflow files should always verify all workflows are successful.
- '.github/workflows/*.yml'
# Allows you to run this workflow manually from the Actions tab.
Expand Down Expand Up @@ -66,4 +66,4 @@ jobs:
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH

- name: Run PHPStan static analysis (PHP ${{ matrix.php-versions }})
run: phpstan analyse -c phpstan.neon --error-format=checkstyle --memory-limit=1G | cs2pr
run: phpstan analyse -c phpstan.neon.dist --error-format=checkstyle --memory-limit=1G | cs2pr
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"ergebnis/composer-normalize": "^2.44.0",
"johnbillion/wp-compat": "^0.2.2",
"johnbillion/wp-compat": "^0.2.3",
"pedro-mendonca/glotpress-stubs": "4.0.1",
"phpcompatibility/phpcompatibility-wp": "^2.1.5",
"phpmd/phpmd": "^2.15.0",
Expand Down Expand Up @@ -82,7 +82,7 @@
"lint:md:docs": "npm run lint:md:docs",
"lint:php": "phpcs -v --standard=phpcs.xml.dist",
"lint:phpmd": "phpmd . text phpmd.xml.dist",
"lint:phpstan": "phpstan analyse -c phpstan.neon --memory-limit=1G",
"lint:phpstan": "phpstan analyse -c phpstan.neon.dist --memory-limit=1G",
"lint:pkg-json": "npm run lint:pkg-json",
"phpcs-i": "phpcs -i",
"scripts-list": "composer run-script --list",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e4cc61

Please sign in to comment.