/phplab-tasks-2022

task for Epam PHP course

Primary LanguagePHP

PHP Tasks

Requirements

  • PHP 8.1 - 8.1.1
  • Composer

How to install

  • Create your own repository with the same name " phplab-tasks-2022" in your account
  • Clone repository to your PC
  • Clone this repository copy and move files to your repository
  • cd into your repository folder
  • Execute in terminal composer install

PHP Unit

https://phpunit.readthedocs.io/en/9.5/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 resolve conflicts