Skip to content

Commit

Permalink
Merge pull request #85 from pedro-mendonca/dev
Browse files Browse the repository at this point in the history
Update plugin headers and rename test files
  • Loading branch information
pedro-mendonca authored Oct 17, 2024
2 parents 5d46289 + 2e4cc61 commit 148bab7
Show file tree
Hide file tree
Showing 8 changed files with 1,144 additions and 391 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.

2 changes: 0 additions & 2 deletions gp-toolbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
* @wordpress-plugin
* Plugin Name: GP Toolbox
* Plugin URI: https://wordpress.org/plugins/gp-toolbox/
* GitHub Plugin URI: https://github.com/pedro-mendonca/GP-Toolbox
* Primary Branch: main
* Description: This set of tools extends the functionality of GlotPress, bringing to light any potential problems hidden under the hood, keeping it clean, fast and trouble-free.
* Version: 1.0.5
* Requires at least: 5.3
Expand Down
Loading

0 comments on commit 148bab7

Please sign in to comment.