PHP 7.3

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/php-73.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=BasicsTest
  • Linux users: ./vendor/bin/phpunit --filter=BasicsTest

How to run specific test

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

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