Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Call to a member function is_changed() on null #1

Closed
Mehrdad-Dadkhah opened this issue Feb 27, 2019 · 1 comment

Comments

@Mehrdad-Dadkhah
Copy link

Hi
tnx for good package.

I have this error:

Exit Code: 255(Unknown error)                                                
                                                                               
  Working directory: /var/www/html                                             
                                                                               
  Output:                                                                      
  ================                                                             
                                                                               
  Fatal error: Uncaught Error: Call to a member function is_changed() on null  
   in phar:///var/www/html/vendor/zhouyl/phpfmt-tool/fmt.phar/fmt.stub.php:13  
  888                                                                          
  Stack trace:                                                                 
  #0 /var/www/html/vendor/zhouyl/phpfmt-tool/fmt.phar(10): include()           
  #1 {main}                                                                    
    thrown in phar:///var/www/html/vendor/zhouyl/phpfmt-tool/fmt.phar/fmt.stu  
  b.php on line 13888                                                          
                                                                               
                                                                               
  Error Output:                                                                
  ================                                                             
  Formatting ...                                                               
  /var/www/html/app/Console/Commands                                           
    0/10 [>---------------------------]   0%                                   
    1/10 [==>-------------------------]  10% 
@zhouyl
Copy link
Owner

zhouyl commented Apr 20, 2019

sorry for the late reply.
I recommend you use phpcsfixer, I have not used phpfmt anymore.

phpfmt requires these compilation options:
--enable-sysvsem --enable-sysvshm --enable-sysvmsg

@zhouyl zhouyl closed this as completed Apr 20, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants