Skip to content
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
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ where applicable.

## Unreleased

- Initial SymPress Migration package documentation.
### Changed

- Split WP-CLI migration command execution and reporting into focused collaborators.
- Adopt shared SymPress QA tooling for package scripts and development dependencies.

### Fixed

- Cover rollback behavior when a migration fails during reverse execution.
25 changes: 13 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,11 @@
"symfony/console": "^8.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^2.1",
"friendsofphp/php-cs-fixer": "^3.94",
"sympress/coding-standards": "dev-main",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"brain/monkey": "^2",
"symfony/var-dumper": "^8.1"
"friendsofphp/php-cs-fixer": "^3.94",
"mockery/mockery": "^1.6",
"symfony/var-dumper": "^8.1",
"sympress/qa": "dev-main"
},
"autoload": {
"psr-4": {
Expand All @@ -33,19 +30,22 @@
"scripts": {
"cs": [
"Composer\\Config::disableProcessTimeout",
"phpcs --standard=phpcs.xml.dist"
"qa cs"
],
"cs:fix": [
"Composer\\Config::disableProcessTimeout",
"phpcbf --standard=phpcs.xml.dist"
"qa cs:fix"
],
"static-analysis": [
"Composer\\Config::disableProcessTimeout",
"phpstan analyse --memory-limit=1G --no-progress -c phpstan.neon.dist"
"qa static-analysis"
],
"tests": [
"Composer\\Config::disableProcessTimeout",
"phpunit --configuration phpunit.xml.dist --no-coverage"
"qa tests"
],
"test": [
"@tests"
],
"qa": [
"@cs",
Expand All @@ -58,7 +58,8 @@
"optimize-autoloader": true,
"preferred-install": "dist",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"repositories": [
Expand Down
2 changes: 1 addition & 1 deletion docs/example/your-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Plugin Name: Your Plugin
* Description: Example plugin using the migration system
* Version: 1.0.0
* Requires PHP: 8.2
* Requires PHP: 8.5
*/

declare(strict_types=1);
Expand Down
Loading