Skip to content

Bogdan-Shklanka2002/PHP_homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Tasks

Requirements

  • PHP 7.3
  • Composer

How to install

  • Fork your own copy of repository to your account
  • Clone to your PC
  • cd into cloned repository folder
  • Execute in terminal git remote add upstream https://github.com/LvivScriptCommunity/phplab-tasks.git
  • Execute in terminal composer install

PHP Unit

https://phpunit.readthedocs.io/en/9.2/textui.html

How to run all tests

  • Windows users: .\vendor\bin\phpunit
  • Linux users: ./vendor/bin/phpunit

How to run all tests from specific file

  • Windows users: .\vendor\bin\phpunit --filter=IsLeapYearTest
  • Linux users: ./vendor/bin/phpunit --filter=IsLeapYearTest

How to Keep a Git Fork up to Date

  • cd into cloned repository folder
  • Execute in terminal git fetch upstream
  • Execute in terminal git pull upstream master
  • Execute in terminal composer dump-autoload

OR

Follow the instruction to update from GitHub Web UI:

How to resolve conflicts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages