Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin headers and rename test files #85

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
@@ -1,4 +1,4 @@
<?php

Check warning on line 1 in gp-toolbox.php

View workflow job for this annotation

GitHub Actions / Plugin Check

plugin_header_invalid_plugin_uri_domain

The "Plugin URI" header in the plugin file is not valid.

Check warning on line 1 in gp-toolbox.php

View workflow job for this annotation

GitHub Actions / Plugin Check

plugin_header_invalid_plugin_uri_domain

The "Plugin URI" header in the plugin file is not valid.
/**
* GP Toolbox
*
Expand All @@ -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