refactor: email placeholder, additional content support and formatting #2448
Annotations
10 errors and 7 warnings
templates/emails/plain/product-published.php#L20
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/product-published.php#L24
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/product-published.php#L29
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/product-published.php#L33
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/withdraw-new.php#L23
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/withdraw-new.php#L27
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/withdraw-new.php#L31
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/withdraw-new.php#L35
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/withdraw-new.php#L39
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
templates/emails/plain/withdraw-new.php#L43
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
templates/emails/vendor-new-order.php#L81
Stand-alone post-increment statement found. Use pre-increment instead: ++$i .
|
templates/emails/vendor-completed-order.php#L80
Stand-alone post-increment statement found. Use pre-increment instead: ++$i .
|
includes/Emails/VendorCompletedOrder.php#L208
It is recommended not to use reserved keyword "bool" as function parameter name. Found: $bool
|
includes/Emails/VendorNewOrder.php#L216
It is recommended not to use reserved keyword "bool" as function parameter name. Found: $bool
|
The logs for this run have expired and are no longer available.
Loading