Skip to content

vanam/ncs-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages