Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ecs
 
 

README.md

Nette Coding Standard Vagrant Project

License

This project allows you to run a Nette Coding Standard check&fix in environments with PHP <7.1.

Usage

Install

Install Vagrant and Virtualbox.

Synchronize project folder

Add project folder, you want to check, to Vagrantfile:

Vagrant.configure("2") do |config|
  ...
  config.vm.synced_folder "path/to/project-to-check", "/vagrant_data/project-to-check"
  ...
end

Note: You can add multiple project folders

Style check & fix

Now run Vagrant and connect via SSH.

$ vagrant up
$ vagrant ssh

Once you are connected via SSH move to /vagrant folder and run check&fix.

$ ./ecs check /vagrant_data/project-to-check/app/ --config vendor/nette/coding-standard/coding-standard-php70.neon --fix

For more details read Nette Coding Standard documentation.

About

This project allows you to run a Nette Coding Standard check&fix in environments with PHP <7.1.

Resources

License

Releases

No releases published

Packages

No packages published

Languages