- Refactored fallback submission logic in `class-event-handler.php` to remove `wp_die`/`exit` calls and use redirects for error handling, enabling proper unit testing. - Implemented meta-data saving (dates, venue, organizer) in the fallback logic using `update_post_meta`. - Updated unit tests (`test-event-management.php`) to remove `markTestIncomplete` calls related to handler errors and uncommented meta assertions. Unit tests for fallback logic now pass. - Added Instructions section and Return to Dashboard button to the event form shortcode (`display_event_form_shortcode`). - Applied basic theme styling classes (`ast-container`, `notice`, `ast-button`) to the event form. - Updated `docs/implementation_plan.md` to reflect completion of tasks 4.1-4.5 and set focus to Task 5. Refs: Task 4.1, 4.2, 4.3, 4.4, 4.5
		
			
				
	
	
		
			76 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "name": "brain/monkey",
 | |
|     "description": "Mocking utility for PHP functions and WordPress plugin API",
 | |
|     "keywords": [
 | |
|         "testing",
 | |
|         "test",
 | |
|         "mockery",
 | |
|         "patchwork",
 | |
|         "mock",
 | |
|         "mock functions",
 | |
|         "runkit",
 | |
|         "redefinition",
 | |
|         "monkey patching",
 | |
|         "interception"
 | |
|     ],
 | |
|     "authors": [
 | |
|         {
 | |
|             "name": "Giuseppe Mazzapica",
 | |
|             "email": "giuseppe.mazzapica@gmail.com",
 | |
|             "homepage": "https://gmazzap.me",
 | |
|             "role": "Developer"
 | |
|         }
 | |
|     ],
 | |
|     "support": {
 | |
|         "issues": "https://github.com/Brain-WP/BrainMonkey/issues",
 | |
|         "source": "https://github.com/Brain-WP/BrainMonkey"
 | |
|     },
 | |
|     "license": "MIT",
 | |
|     "require": {
 | |
|         "php": ">=5.6.0",
 | |
|         "mockery/mockery": "^1.3.5 || ^1.4.4",
 | |
|         "antecedent/patchwork": "^2.1.17"
 | |
|     },
 | |
|     "require-dev": {
 | |
|         "phpunit/phpunit": "^5.7.26 || ^6.0 || ^7.0 || >=8.0 <8.5.12 || ^8.5.14 || ^9.0",
 | |
|         "phpcompatibility/php-compatibility": "^9.3.0",
 | |
|         "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
 | |
|     },
 | |
|     "autoload": {
 | |
|         "psr-4": {
 | |
|             "Brain\\Monkey\\": "src/"
 | |
|         },
 | |
|         "files": [
 | |
|             "inc/api.php"
 | |
|         ]
 | |
|     },
 | |
|     "autoload-dev": {
 | |
|         "files": [
 | |
|             "vendor/antecedent/patchwork/Patchwork.php"
 | |
|         ],
 | |
|         "psr-4": {
 | |
|             "Brain\\Monkey\\Tests\\": "tests/src/",
 | |
|             "Brain\\Monkey\\Tests\\Unit\\": "tests/cases/unit/",
 | |
|             "Brain\\Monkey\\Tests\\Functional\\": "tests/cases/functional/"
 | |
|         }
 | |
|     },
 | |
|     "minimum-stability": "dev",
 | |
|     "prefer-stable": true,
 | |
|     "config": {
 | |
|         "optimize-autoloader": true,
 | |
|         "allow-plugins": {
 | |
|             "dealerdirect/phpcodesniffer-composer-installer": true
 | |
|         }
 | |
|     },
 | |
|     "extra": {
 | |
|         "branch-alias": {
 | |
|             "dev-version/1": "1.x-dev",
 | |
|             "dev-master": "2.x-dev"
 | |
|         }
 | |
|     },
 | |
|     "scripts" : {
 | |
|         "phpcompat": [
 | |
|             "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs -ps . --standard=PHPCompatibility --ignore=*/vendor/* --extensions=php --basepath=./ --runtime-set testVersion 5.6-"
 | |
|         ]
 | |
|     }
 | |
| }
 |