Payton Swick
Payton Swick
Originally reported in https://github.com/Automattic/wp-calypso/pull/65180 To reproduce: - Add a product to the cart and then manually visit `/domains/add/:site`. - Using the masterbar cart, remove the product from the cart. -...
Currently the credit card payment methods in checkout operate as follows: Submit the payment to the transactions endpoint; when we get a successful response, call the payment complete callback and...
Intended to fix https://github.com/sirbrillig/phpcs-variable-analysis/issues/253
As reported in https://github.com/sirbrillig/phpcs-variable-analysis/pull/234 > Array functions like array_merge() and array_values() are "expensive".
As pointed out by @jrfnl in https://github.com/sirbrillig/phpcs-variable-analysis/pull/207, which added some missing superglobals, `$php_errormsg` is only available conditionally, and even then is deprecated. Therefore I think we should remove it from...
```php function whileLooopAssignWithUndefinedShift() { $suggestions = []; while ($part = array_shift($parts)) { // undefined variable parts $suggestions[] = $part; } return $suggestions; } ``` `$parts` is not marked as undefined....
Work-in-progress. I'm not actually sure how to do this because the scoping is quite difficult. Assistance would be greatly appreciated! Fixes #101
@davidrothstein suggested this, and I think it might be a good idea. When an abstract class has methods, those methods may have arguments but no function body (essentially a function...
Originally described in #84. Variables in PHP may have a dynamic symbol name, and are called [variable variables](https://www.php.net/manual/en/language.variables.variable.php). For example, the following function prints `hello`, which is a string stored...
### Prerequisites * [x] Put an X between the brackets on this line if you have done all of the following: * Reproduced the problem in Safe Mode: * Followed...