Phpstorm commit failed with error

PhpStorm не может подписать git commit. Почему? Коммиты подписываются gpg. При попытке сделать коммит (или мерж-коммит, как на скрине) с помощью gui в PhpStorm выходит ошибка: gpg failed to sign the data failed to write commit object В логах PhpStorm: 2021-10-07 12:32:35,737 [8688771] INFO — 4idea.branch.GitMergeOperation — starting 2021-10-07 12:32:35,737 [8688771] INFO — 4idea.branch.GitMergeOperation […]

Содержание

  1. PhpStorm не может подписать git commit. Почему?
  2. PhpStorm не может подписать git commit. Почему?
  3. Resolve conflicts
  4. Non-Distributed Version Control Systems
  5. Distributed Version Control Systems
  6. Resolve conflicts
  7. Productivity tips
  8. No run task with commit with phpstorm #254
  9. Comments

PhpStorm не может подписать git commit. Почему?

Коммиты подписываются gpg. При попытке сделать коммит (или мерж-коммит, как на скрине) с помощью gui в PhpStorm выходит ошибка:

gpg failed to sign the data
failed to write commit object

В логах PhpStorm:

2021-10-07 12:32:35,737 [8688771] INFO — 4idea.branch.GitMergeOperation — starting
2021-10-07 12:32:35,737 [8688771] INFO — 4idea.branch.GitMergeOperation — next repository: \wsl$Ubuntu-20.04homeuserprojects*********скрыл**********
2021-10-07 12:32:35,797 [8688831] INFO — #git4idea.commands.GitHandler — [*********скрыл**********] git -c core.quotepath=false -c log.showSignature=false merge master
2021-10-07 12:32:35,837 [8688871] INFO — #git4idea.commands.GitHandler — error: gpg failed to sign the data
2021-10-07 12:32:35,837 [8688871] INFO — #git4idea.commands.GitHandler — fatal: failed to write commit object
2021-10-07 12:32:35,857 [8688891] INFO — 4idea.branch.GitMergeOperation — Unknown error. <128>

Предполагаю, это из-за того, что PhpStorm не может отобразить форму для ввода пароля.

При этом, если буду комитить через консоль PhpStorm, отлично работает:

Так же, если в консоли ввести пароль, например:
echo «test» | gpg —clearsign

Откроется сессиия, и в PhpStrom можно будет какое-то время пользоваться gui git. Пока не закроется сессия, чтобы нужно было ввести заново пароль.

Еще замечание, что такая ошибка возникает для проектов, которые расположены внутри файловой системы WSL. Если проект будет на хостовой Windows, подпись работает штатно.

Конфигурация git:

Windows 10 pro.
PHPStorm 2021.2.2

> wsl —list —verbose
Ubuntu-20.04 Running 2

Почему возникает какая ошибка? Как починить?

Источник

PhpStorm не может подписать git commit. Почему?

Коммиты подписываются gpg. При попытке сделать коммит (или мерж-коммит, как на скрине) с помощью gui в PhpStorm выходит ошибка:

gpg failed to sign the data
failed to write commit object

В логах PhpStorm:

2021-10-07 12:32:35,737 [8688771] INFO — 4idea.branch.GitMergeOperation — starting
2021-10-07 12:32:35,737 [8688771] INFO — 4idea.branch.GitMergeOperation — next repository: \wsl$Ubuntu-20.04homeuserprojects*********скрыл**********
2021-10-07 12:32:35,797 [8688831] INFO — #git4idea.commands.GitHandler — [*********скрыл**********] git -c core.quotepath=false -c log.showSignature=false merge master
2021-10-07 12:32:35,837 [8688871] INFO — #git4idea.commands.GitHandler — error: gpg failed to sign the data
2021-10-07 12:32:35,837 [8688871] INFO — #git4idea.commands.GitHandler — fatal: failed to write commit object
2021-10-07 12:32:35,857 [8688891] INFO — 4idea.branch.GitMergeOperation — Unknown error. <128>

Предполагаю, это из-за того, что PhpStorm не может отобразить форму для ввода пароля.

При этом, если буду комитить через консоль PhpStorm, отлично работает:

Так же, если в консоли ввести пароль, например:
echo «test» | gpg —clearsign

Откроется сессиия, и в PhpStrom можно будет какое-то время пользоваться gui git. Пока не закроется сессия, чтобы нужно было ввести заново пароль.

Еще замечание, что такая ошибка возникает для проектов, которые расположены внутри файловой системы WSL. Если проект будет на хостовой Windows, подпись работает штатно.

Конфигурация git:

Windows 10 pro.
PHPStorm 2021.2.2

> wsl —list —verbose
Ubuntu-20.04 Running 2

Почему возникает какая ошибка? Как починить?

Источник

Resolve conflicts

Depending on your version control system, conflicts may arise in different situations.

When you work in a team, you may come across a situation when somebody commits changes to a file you are currently working on. If these changes do not overlap (that is, changes were made to different lines of code), the conflicting files are merged automatically. However, if the same lines were affected, your version control system cannot randomly pick one side over the other, and asks you to resolve the conflict.

Conflicts may also arise when merging, rebasing or cherry-picking branches.

Non-Distributed Version Control Systems

When you try to edit a file that has a newer version on the server, PhpStorm informs you about that, showing a message popup in the editor: In this case, you should update your local version before changing the file, or merge changes later.

If you attempt to commit a file that has a newer repository version, the commit fails, and an error is displayed in the bottom right corner telling you that the file you are trying to commit is out of date.

The failed commit behavior is regulated by the Create changelist on failed commit list in the Version Control | Confirmation page of the Settings dialog.

If you synchronize a file that already has local changes with a newer repository version committed by somebody else, a conflict occurs. The conflicting file gets the Merged with conflicts status. The file remains in the same changelist in the Local Changes view, but its name is highlighted in red. If the file is currently opened in the editor, the filename on the tab header is also highlighted in red.

Distributed Version Control Systems

Under distributed version control systems, such as Git and Mercurial, conflicts arise when a file you have committed locally has changes to the same lines of code as the latest upstream version and when you attempt to perform one of the following operations: pull, merge, rebase, cherry-pick, unstash, or apply patch.

If there are conflicts, these operations will fail, and you will be prompted to accept the upstream version, prefer your version, or merge the changes manually:

The Conflicts dialog is triggered automatically when a conflict is detected on the Version Control level.

If you click Close in this dialog, or call a Git operation that leads to a merge conflict from command line, a Merge Conflicts node will appear in the Local Changes view with a link to resolve them:

PhpStorm provides a tool for resolving conflicts locally. This tool consists of three panes:

The left page shows the read-only local copy

The right pane shows the read-only version checked in to the repository

The central pane shows a fully-functional editor where the results of merging and conflict resolving are displayed. Initially, the contents of this pane is the same as the base revision of the file, that is, the revision from which both conflicting versions are derived.

Resolve conflicts

Click Merge in the Conflicts dialog, the Resolve link in the Local Changes view, or select the conflicting file in the editor and choose VCS | | Resolve Conflicts from the main menu.

To automatically merge all non-conflicting changes, click ( Apply All Non-Conflicting Changes ) on the toolbar. You can also use the ( Apply Non-Conflicting Changes from the Left Side ) and ( Apply Non-Conflicting Changes from the Right Side ) to merge non-conflicting changes from the left/right parts of the dialog respectively.

To resolve a conflict, you need to select which action to apply (accept or ignore ) to the left (local) and the right (repository) version, and check the resulting code in the central pane:

You can also right-click a highlighted conflict in the central pane and use the commands from the context menu. The Resolve using Left and Resolve using Right commands provide a shortcut to accepting changes from one side and ignoring them from the other side respectively:

For simple conflicts (for example, if the beginning and the end of the same line have been modified in different file revisions), the Resolve simple conflicts button that allows merging the changes in one click becomes available.

Such conflicts are not resolved with the Apply All Non-Conflicting Changes action since you must make sure that they are resolved properly.

Note that the central pane is a fully-functional editor, so you can make changes to the resulting code directly in this dialog.

It may also be useful to compare different versions to resolve a conflict. Use the toolbar button to invoke the list of options. Note that Base refers to the file version that the local and the repository versions originated from (initially displayed in the middle pane), while Middle refers to the resulting version.

Review merge results in the central pane and click Apply .

Productivity tips

You can configure PhpStorm to always apply non-conflicting changes automatically instead of telling it to do so from the Merge dialog. To do this, select the Automatically apply non-conflicting changes option on the Tools | Diff Merge page of the IDE settings Ctrl+Alt+S .

Manage changes in the central pane

You can manage changes in the central pane using the toolbar that appears when you hover the mouse cursor over a change marker in the gutter, and then click it. The toolbar is displayed together with a frame showing the previous contents of the modified line:

For example, when there are multiple non-conflicting changes, and you only need to skip one or two of them, it’s easier to apply all of them simultaneously using the Apply all non-conflicting changes action, and then undo the unwanted ones using the Revert action from this toolbar.

Источник

No run task with commit with phpstorm #254

Q A
Branch v0.11.0
Bug? yes
New feature? no
Question? no
Documentation? no

I’m new with this tool and I already love it! But I have a problem when I use it with phpstorm with Windows. It seems that grumphp doesn’t catch the event to run all tasks (phpcs only for my tests).

I made some test and when I run a commit like phpstorm made it with the following command:
git -c core.quotepath=false commit —signoff —only -m «test» — src/AppBundle/Entity/Platform.php

The commit works without any test :s . If I git add the file before and I run the same command, grumphp runs the task and display the expected error for the test.

I’m not very good in English, (I m French) if you don’t understand something I can try to reexplain ^^,

My configuration
PHP7.1.0
Windows 10 (Vesion 1607)
PHPStorm2016.3.2
Symfony2.8.15
Git/GitBashForWindows 2.11.0

Steps to reproduce with PHPStorm:

  • Change file like DefaultController to have an error like «Missing function doc comment»
  • Directly clic on commit changes or «ctrl + k»
  • Fill message field and clic on commit or commit and push.

Result with PHPStorm:

Steps to reproduce with GitBashForWindows:

  • Change file like DefaultController to have an error like «Missing function doc comment»

Result with GitBashForWindows:

The text was updated successfully, but these errors were encountered:

Источник

Читайте также:  Dir 300 прошивкой zyxel keenetic

Adblock
detector

  • Odinokun

Работаю на PHPStorm на Windows 7, установлен git. Последнее время не получается делать коммиты: вываливается ошибка «Error:could not open ‘.git/COMMIT_EDITMSG’: Permission denied»

Если этот файл удалить то можно сделать коммит, но только до следующего раза.

Кто-нибудь сталкивался с проблемой? Как решить?


  • Вопрос задан

    более трёх лет назад

  • 2686 просмотров

Пригласить эксперта

Понимаю, что не актуально, но вдруг кому ещё пригодиться.

Для решения данной проблемы необходимо просто снять атрибут «Скрытый» с файла COMMIT_EDITMSG.

а из git bash коммит делается корректно? если нет, то смотрите в сторону наследуемых ACL. Скорее всего вновь созданный COMMIT_EDITMSG не наследует правильные права от .git.

через git bash не проверял, но через git gui все — все ок.


  • Показать ещё
    Загружается…

09 февр. 2023, в 13:28

777 руб./за проект

12 февр. 2023, в 21:32

80000 руб./за проект

12 февр. 2023, в 21:30

2900 руб./за проект

Минуточку внимания

0 / 0 / 1

Регистрация: 28.12.2015

Сообщений: 85

1

06.04.2021, 11:11. Показов 720. Ответов 4


В PhpStorm нажимаю зеленую кнопку VCS, далее Commit and Push. Выскакивает окно с ошибкой «Commit failed with error:
pathspec ‘images/comment/regru.svg’ did not match any file(s) known to git»
Нигде не могу найти перевод pathspec.
Пожалуйста, подскажите, как преодолеть эту ошибку и зафиксировать изменения файла на GitHub.

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



2364 / 2236 / 575

Регистрация: 27.05.2011

Сообщений: 7,681

07.04.2021, 16:53

2

Что-то пошло не так. Зайди в папку с проектом через консоль и введи git status



0



0 / 0 / 1

Регистрация: 28.12.2015

Сообщений: 85

07.04.2021, 21:03

 [ТС]

3

уже заходил и вводил



0



2364 / 2236 / 575

Регистрация: 27.05.2011

Сообщений: 7,681

08.04.2021, 11:35

4

И что он говорит про regru.svg , может ее git add нужно сделать?



0



0 / 0 / 1

Регистрация: 28.12.2015

Сообщений: 85

08.04.2021, 16:38

 [ТС]

5

Молчит про regru.svg, git add . уже сделано.



0



IT_Exp

Эксперт

87844 / 49110 / 22898

Регистрация: 17.06.2006

Сообщений: 92,604

08.04.2021, 16:38

5

First test without git add

In the file I add some return lines to raise an error with phpcs

  1. Bofore commit:
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   src/AppBundle/AppBundle.php

no changes added to commit (use "git add" and/or "git commit -a")
$ git diff
diff --git a/src/AppBundle/AppBundle.php b/src/AppBundle/AppBundle.php
index 129cbf3..b18869d 100644
--- a/src/AppBundle/AppBundle.php
+++ b/src/AppBundle/AppBundle.php
@@ -10,4 +10,7 @@ use SymfonyComponentHttpKernelBundleBundle;

 class AppBundle extends Bundle
 {
+
+
+
 }
  1. Run commit :
$ git -c core.quotepath=false commit --only -m "up" -- src/AppBundle/AppBundle.php
[2017-01-03 13:55:19] GrumPHP.INFO: run command: diff "-r -p -m -M --full-index --staged"  [] []
[2017-01-03 13:55:20] GrumPHP.DEBUG: last command (diff) duration: 203.87ms [] []
[2017-01-03 13:55:20] GrumPHP.DEBUG: last command (diff) return code: 0 [] []
[2017-01-03 13:55:20] GrumPHP.DEBUG: last command (diff) output:  [] []
GrumPHP detected a pre-commit command.
GrumPHP is sniffing your code!
Running task 1/7: Composer
Running task 2/7: Blacklist
Running task 3/7: Phpcs
Running task 4/7: PhpMd
Running task 5/7: PhpParser
Running task 6/7: Phpunit
Running task 7/7: SecurityChecker
GrumPHP detected a commit-msg command.
GrumPHP is sniffing your code!
                \ ,
                  `|
                  ) (   .-""-.
                  | |  /_  {  '.
                  | | (/ `   } )
                  | |  ^/ ^`}   {
                     =  ( {   )
                      '-, {   {{
                      _.'  ) }  )
                     .-'   (     (
                     /'-.'_. ) (  }
                     _(    {   _/
                      ) '--' `-;  
                  _.-'       /  / /
           </>_.'         .'  / /
       </></>/.  '      /<// /
       </>  _ |`- _ . -/|<// (
    </>    - _- `  _.-'`_/- |  
    </>        -  - -  -     \
     }`</>                </>`{
     { </>-</>_</>_</>-</> }
     }      </> </> </>      {
  </>.                         </>
  </>                          </>
   {`</>                     </>`}
   } </>-</>_</>_</>_</>-</> {
   {      </> </> </> </>      }
   }                               }
   {            N I C E            {
</>            W O R K            </>
</>                               </>
  `</>                          </>'
   </>-</>_</>_</>_</>_</>-</>
        </> </> </> </> </>
[master 5474ebf] up
 1 file changed, 3 insertions(+)

After commit:

$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)
nothing to commit, working tree clean

(command display nothing)

Second test with git add

I git push first.
In the same file I add some other return lines to have git change and to raise an error with phpcs

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   src/AppBundle/AppBundle.php

no changes added to commit (use "git add" and/or "git commit -a")
$ git diff
diff --git a/src/AppBundle/AppBundle.php b/src/AppBundle/AppBundle.php
index b18869d..514883d 100644
--- a/src/AppBundle/AppBundle.php
+++ b/src/AppBundle/AppBundle.php
@@ -12,5 +12,8 @@ class AppBundle extends Bundle
 {


+
+

+
 }
$ git add src/AppBundle/AppBundle.php

(command display nothing)

$ git -c core.quotepath=false commit --only -m "up" -- src/AppBundle/AppBundle.php
[2017-01-03 14:21:36] GrumPHP.INFO: run command: diff "-r -p -m -M --full-index --staged"  [] []
[2017-01-03 14:21:36] GrumPHP.DEBUG: last command (diff) duration: 202.46ms [] []
[2017-01-03 14:21:36] GrumPHP.DEBUG: last command (diff) return code: 0 [] []
[2017-01-03 14:21:36] GrumPHP.DEBUG: last command (diff) output: diff --git a/src/AppBundle/AppBundle.php b/src/AppBundle/AppBundle.php index b18869dde3042c4293a6f9567f977fb97a52e50e..514883db0389046e047ce1bd1c8b8f5c561e1c26 100644 --- a/src/AppBundle/AppBundle.php +++ b/src/AppBundle/AppBundle.php @@ -12,5 +12,8 @@ class AppBundle extends Bundle  {     + +       +  }  [] []
GrumPHP detected a pre-commit command.
GrumPHP is sniffing your code!
Running task 1/7: Composer
Running task 2/7: Blacklist
Running task 3/7: Phpcs
Command: "C:Scriptsbinphpcs.BAT" "--standard=vendor/endouble/symfony3-custom-coding-standard/Symfony3Custom/" "--report-full" "--report-json" "src/AppBundle/AppBundle.php"

Command: "binphpcbf.BAT" "--standard=vendor/endouble/symfony3-custom-coding-standard/Symfony3Custom/" "D:ProjectswebsitesrcAppBundleAppBundle.php"

Running task 4/7: PhpMd
Command: "binphpmd.BAT" "src/AppBundle/AppBundle.php" "text" "phpmd.xml" "--exclude" "Tests,tests"

Running task 5/7: PhpParser
Running task 6/7: Phpunit
Command: "binphpunit.BAT" "--configuration=grumphp-phpunit.xml"

Running task 7/7: SecurityChecker
                                       .....'',;;::cccllllllllllllcccc:::;;,,,''...'',,'..
                            ..';cldkO00KXNNNNXXXKK000OOkkkkkxxxxxddoooddddddxxxxkkkkOO0XXKx:.
                      .':ok0KXXXNXK0kxolc:;;,,,,,,,,,,,;;,,,''''''',,''..              .'lOXKd'
                 .,lx00Oxl:,'............''''''...................    ...,;;'.             .oKXd.
              .ckKKkc'...'',:::;,'.........'',;;::::;,'..........'',;;;,'.. .';;'.           'kNKc.
           .:kXXk:.    ..       ..................          .............,:c:'...;:'.         .dNNx.
          :0NKd,          .....''',,,,''..               ',...........',,,'',,::,...,,.        .dNNx.
         .xXd.         .:;'..         ..,'             .;,.               ...,,'';;'. ...       .oNNo
         .0K.         .;.              ;'              ';                      .'...'.           .oXX:
        .oNO.         .                 ,.              .     ..',::ccc:;,..     ..                lXX:
       .dNX:               ......       ;.                'cxOKK0OXWWWWWWWNX0kc.                    :KXd.
     .l0N0;             ;d0KKKKKXK0ko:...              .l0X0xc,...lXWWWWWWWWKO0Kx'                   ,ONKo.
   .lKNKl...'......'. .dXWN0kkk0NWWWWWN0o.            :KN0;.  .,cokXWWNNNNWNKkxONK: .,:c:.      .';;;;:lk0XXx;
  :KN0l';ll:'.         .,:lodxxkO00KXNWWWX000k.       oXNx;:okKX0kdl:::;'',;coxkkd, ...'. ...'''.......',:lxKO:.
 oNNk,;c,'',.                      ...;xNNOc,.         ,d0X0xc,.     .dOd,           ..;dOKXK00000Ox:.   ..''dKO,
'KW0,:,.,:..,oxkkkdl;'.                'KK'              ..           .dXX0o:'....,:oOXNN0d;.'. ..,lOKd.   .. ;KXl.
;XNd,;  ;. l00kxoooxKXKx:..ld:         ;KK'                             .:dkO000000Okxl;.   c0;      :KK;   .  ;XXc
'XXdc.  :. ..    '' 'kNNNKKKk,      .,dKNO.                                   ....       .'c0NO'      :X0.  ,.  xN0.
.kNOc'  ,.      .00. ..''...      .l0X0d;.             'dOkxo;...                    .;okKXK0KNXx;.   .0X:  ,.  lNX'
 ,KKdl  .c,    .dNK,            .;xXWKc.                .;:coOXO,,'.......       .,lx0XXOo;...oNWNXKk:.'KX;  '   dNX.
  :XXkc'....  .dNWXl        .';l0NXNKl.          ,lxkkkxo' .cK0.          ..;lx0XNX0xc.     ,0Nx'.','.kXo  .,  ,KNx.
   cXXd,,;:, .oXWNNKo'    .'..  .'.'dKk;        .cooollox;.xXXl     ..,cdOKXXX00NXc.      'oKWK'     ;k:  .l. ,0Nk.
    cXNx.  . ,KWX0NNNXOl'.           .o0Ooldk;            .:c;.':lxOKKK0xo:,.. ;XX:   .,lOXWWXd.      . .':,.lKXd.
     lXNo    cXWWWXooNWNXKko;'..       .lk0x;       ...,:ldk0KXNNOo:,..       ,OWNOxO0KXXNWNO,        ....'l0Xk,
     .dNK.   oNWWNo.cXK;;oOXNNXK0kxdolllllooooddxk00KKKK0kdoc:c0No        .'ckXWWWNXkc,;kNKl.          .,kXXk,
      'KXc  .dNWWX;.xNk.  .kNO::lodxkOXWN0OkxdlcxNKl,..        oN0'..,:ox0XNWWNNWXo.  ,ONO'           .o0Xk;
      .ONo    oNWWN0xXWK, .oNKc       .ONx.      ;X0.          .:XNKKNNWWWWNKkl;kNk. .cKXo.           .ON0;
      .xNd   cNWWWWWWWWKOkKNXxl:,'...;0Xo'.....'lXK;...',:lxk0KNWWWWNNKOd:..   lXKclON0:            .xNk.
      .dXd   ;XWWWWWWWWWWWWWWWWWWNNNNNWWNNNNNNNNNWWNNNNNNWWWWWNXKNNk;..        .dNWWXd.             cXO.
      .xXo   .ONWNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWNNK0ko:'..OXo          'l0NXx,              :KK,
      .OXc    :XNk0NWXKNWWWWWWWWWWWWWWWWWWWWWNNNX00NNx:'..       lXKc.     'lONN0l.              .oXK:
      .KX;    .dNKoON0;lXNkcld0NXo::cd0NNO:;,,'.. .0Xc            lXXo..'l0NNKd,.              .c0Nk,
      :XK.     .xNX0NKc.cXXl  ;KXl    .dN0.       .0No            .xNXOKNXOo,.               .l0Xk;.
     .dXk.      .lKWN0d::OWK;  lXXc    .OX:       .ONx.     . .,cdk0XNXOd;.   .'''....;c:'..;xKXx,
     .0No         .:dOKNNNWNKOxkXWXo:,,;ONk;,,,,,;c0NXOxxkO0XXNXKOdc,.  ..;::,...;lol;..:xKXOl.
     ,XX:             ..';cldxkOO0KKKXXXXXXXXXXKKKKK00Okxdol:;'..   .';::,..':llc,..'lkKXkc.
     :NX'    .     ''            ..................             .,;:;,',;ccc;'..'lkKX0d;.
     lNK.   .;      ,lc,.         ................        ..,,;;;;;;:::,....,lkKX0d:.
    .oN0.    .'.      .;ccc;,'....              ....'',;;;;;;;;;;'..   .;oOXX0d:.
    .dN0.      .;;,..       ....                ..''''''''....     .:dOKKko;.
     lNK'         ..,;::;;,'.........................           .;d0X0kc'.
     .xXO'                                                 .;oOK0x:.
      .cKKo.                                    .,:oxkkkxk0K0xc'.
        .oKKkc,.                         .';cok0XNNNX0Oxoc,.
          .;d0XX0kdlc:;,,,',,,;;:clodkO0KK0Okdl:,'..
              .,coxO0KXXXXXXXKK0OOxdoc:,..
                        ...
                   |    |     /    /
          _____  _____ _   _  _____
          |  __ |_   _|  | |/ ____| /
          | |__) | | | |  | | |  __
          |  _  /  | | | . ` | | |_ |     /
          | |   _| |_| |  | |__| |
          |_|  ______|_| _|_____|       /
        
                  _____  _____ _   _  _____
                |  __ |_   _|  | |/ ____|  /
                | |__) | | | |  | | |  __
                 |  _  /  | | | . ` | | |_ |   /
                | |   _| |_| |  | |__| |
            /    |_|  ______|_| _|_____| 

                   _____  _____ _   _  _____   /
            /     |  __ |_   _|  | |/ ____|  /
                 | |__) | | | |  | | |  __
                  |  _  /  | | | . ` | | |_ |
                 | |   _| |_| |  | |__| |  
              /   |_|  ______|_| _|_____| 
                /      /     |    |          

FILE: ...websitesrcAppBundleAppBundle.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 17 | WARNING | [ ] Please trim any trailing whitespace
 17 | ERROR   | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Time: 101ms; Memory: 4Mb

You can fix some errors by running following command:
"binphpcbf.BAT" "--standard=vendor/endouble/symfony3-custom-coding-standard/Symfony3Custom/" "D:ProjectswebsitesrcAppBundleAppBundle.php"
To skip commit checks, add -n or --no-verify flag to commit command

Понравилась статья? Поделить с друзьями:
  • Phase1 initialization failed windows 10 как исправить
  • Phpstorm 502 bad gateway как исправить
  • Phase 1 initialization failed windows 10 как исправить через командную строку
  • Phantom 4 battery signal error
  • Pest cause 1 fatal error or trigger 128 warnings in the editor перевод