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

fix: Account for WPCF7_ShortcodeManager being deprecated #46

Merged
merged 33 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
594865a
Update deps
kasparsd Dec 16, 2024
f84d293
Bump the tested
kasparsd Dec 16, 2024
38d1134
We’re PHP 5.6 and can do this now
kasparsd Dec 16, 2024
104dd0e
Add deps locally for editor autocomplete
kasparsd Dec 16, 2024
8318909
Ignore everything by default
kasparsd Dec 16, 2024
4c0b089
Be specific about what we track
kasparsd Dec 16, 2024
7353604
Add license
kasparsd Dec 16, 2024
18a12d4
Reduce tag count to 5 to include the most important stuff
kasparsd Dec 16, 2024
dcb6b86
Link our own stuff
kasparsd Dec 16, 2024
b3ad1f0
Ignore things
kasparsd Dec 16, 2024
49a644e
Let wp-env map it instead
kasparsd Dec 16, 2024
11bd900
Use an https example
kasparsd Dec 16, 2024
ca4cdd3
Controls for consistency
kasparsd Dec 16, 2024
f4bd1d8
Link the plugin
kasparsd Dec 16, 2024
494912e
Be specific about the supported implementations
kasparsd Dec 16, 2024
871f42e
Better instructions
kasparsd Dec 16, 2024
0917476
Use path mapping to ensure predictable directory name
kasparsd Dec 16, 2024
e8b7b67
Fix #45
kasparsd Dec 16, 2024
047174b
Per linter
kasparsd Dec 16, 2024
29a5c59
Support for linting
kasparsd Dec 16, 2024
e9d8e3d
Ignore more for release
kasparsd Dec 16, 2024
d4e9dce
Visibility per linter
kasparsd Dec 16, 2024
05ceb27
Allow local overrides
kasparsd Dec 16, 2024
5c68eba
Add phpunit support
kasparsd Dec 16, 2024
90f6c2a
Enable xdebug
kasparsd Dec 16, 2024
5387bc9
Activate the plugins
kasparsd Dec 16, 2024
42a9429
Describe the test
kasparsd Dec 16, 2024
6992835
Match the name
kasparsd Dec 16, 2024
2a10985
Describe how we work
kasparsd Dec 16, 2024
699e814
Describe what exactly
kasparsd Dec 16, 2024
837472e
Ignore query monitor db capture
kasparsd Dec 16, 2024
73f048e
Add query monitor and mail capture
kasparsd Dec 16, 2024
a8fe8fe
Per linter
kasparsd Dec 16, 2024
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
10 changes: 6 additions & 4 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/tests
/vendor
/node_modules
/assets/dotorg
/tests/
/vendor/
/node_modules/
/tools/
/tests/
/assets/dotorg/
Gruntfile.js
composer.json
composer.lock
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
/node_modules
/vendor
.DS_Store
.phpunit.result.cache

# Local overrides.
/phpcs.xml
/phpunit.xml
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "XDebug",
"type": "php",
"request": "launch",
"port": 9003,
"pathMappings": {
"/var/www/html/wp-content/plugins/contact-form-7-extras": "${workspaceFolder}",
"/var/www/html/wp-content": "${workspaceFolder}/tools/local/wp-content",
"/var/www/html": "${workspaceFolder}/tools/local/wordpress"
}
}
]
}
8 changes: 5 additions & 3 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"plugins": [
"."
]
"core": "./tools/local/wordpress",
"mappings": {
"wp-content": "./tools/local/wp-content",
"wp-content/plugins/contact-form-7-extras": "."
}
}
41 changes: 40 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,52 @@
"source": "https://github.com/kasparsd/contact-form-7-extras",
"docs": "https://formcontrols.com/docs"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"require-dev": {
"wp-coding-standards/wpcs": "^2.0"
"wp-coding-standards/wpcs": "^3.1",
"roots/wordpress": "^6.7",
"wpackagist-plugin/contact-form-7": "^6.0",
"roots/wordpress-core-installer": "^1.100",
"wpackagist-theme/twentytwentyfive": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"wp-phpunit/wp-phpunit": "^6.7",
"yoast/phpunit-polyfills": "^3.0",
"wpackagist-plugin/query-monitor": "^3.17",
"wpackagist-plugin/wp-mail-debugger": "^1.1"
},
"scripts": {
"lint": [
"phpcs",
"composer validate"
],
"format": [
"phpcbf"
],
"test": [
"phpunit"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"composer/installers": true
}
},
"extra": {
"wordpress-install-dir": "tools/local/wordpress",
"installer-paths": {
"tools/local/wp-content/plugins/{$name}/": [ "type:wordpress-plugin" ],
"tools/local/wp-content/themes/{$name}/": [ "type:wordpress-theme" ]
}
}
}
Loading
Loading