[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 42fc725add 092/308: Hardened match for code sn
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 42fc725add 092/308: Hardened match for code sniffer standard. |
Date: |
Tue, 25 Jan 2022 10:59:33 -0500 (EST) |
branch: elpa/drupal-mode
commit 42fc725add2167afa755054f7dc38b2e1408cc98
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Hardened match for code sniffer standard.
---
drupal/flymake-phpcs.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drupal/flymake-phpcs.el b/drupal/flymake-phpcs.el
index ead33ab7db..162a3e4fdd 100644
--- a/drupal/flymake-phpcs.el
+++ b/drupal/flymake-phpcs.el
@@ -32,11 +32,11 @@
(let ((standards (with-output-to-string
(with-current-buffer standard-output
(call-process (executable-find flymake-phpcs-command)
nil (list t nil) nil "-i")))))
- (string-match
- "\\(Drupal[^,
+ (when (string-match
+ "\\(Drupal[^,
]*\\)"
- standards)
- (match-string-no-properties 1 standards)))
+ standards)
+ (match-string-no-properties 1 standards))))
"Name of Drupal coding standard rules for PHP CodeSniffer."
:link '(url-link :tag "Drupal Code Sniffer"
"http://drupal.org/project/drupalcs")
:group 'drupal)
- [nongnu] elpa/drupal-mode 5386751a5d 069/308: Fixed module version in module menu., (continued)
- [nongnu] elpa/drupal-mode 5386751a5d 069/308: Fixed module version in module menu., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 8fc32e7641 053/308: Made `drupal-detect-drupal-version' more reliable., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ce7e9d2bf3 043/308: Various cleanup., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 00aae1e5e8 070/308: Added support for `web-mode'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 48a90d94ed 061/308: Fixed spelling., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode b8863a5c82 054/308: Added first take on automated tests., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 8599809578 058/308: Flymake-phpcs also highlights trailing whitespace., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode aa87684203 048/308: Added `require' for supported libraries., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 897fbfb4a5 082/308: Added small optimization for byte compiler., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode a53c312da1 089/308: Improved info file auto-insert skeleton., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 42fc725add 092/308: Hardened match for code sniffer standard.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode 4688c8f0cb 101/308: Fixed use of `called-interactively-p'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 7866012679 103/308: Fixed link to other drupal-modes at Gitub, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 8951d9a7e8 105/308: Extended documentation of `drupal/flymake-phpcs-standard'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3df6f6725c 110/308: Add contributing guidelines., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f0ae32d88a 111/308: Added first take at a `drush-make-mode'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode cd3e68f6b3 113/308: Better support for hook_form_FORM_ID_alter() et al., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode a22be38d3c 114/308: Read FORM_ID from minibuffer in `drupal-insert-hook'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 71f3ba70fe 116/308: Added .inc files as `php-mode` as well., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 2245c415ee 123/308: Added check for `drupal-drush-program` is set., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 213ebf5e65 124/308: Fixed eshell site-alias expansion for aliases beginning with @. Suggestion by Tassilo Horn:, ELPA Syncer, 2022/01/25