Skip to content

Example on how to setup a unit-tested library with php7 / composer / phpunit

License

Notifications You must be signed in to change notification settings

k0pernikus/php-fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FizzBuzz

Playground project in order for me to refresh how to setup proper php project ;)

Usage

(new FizzBuzz())->fizzBuzz(42) // returns "42"
(new FizzBuzz())->fizzBuzz(3) // returns "Fizz
(new FizzBuzz())->fizzBuzz(5) // returns "Buzz"
(new FizzBuzz())->fizzBuzz(5) // returns "FizzBuzz"

Running test

$ composer test

About

Example on how to setup a unit-tested library with php7 / composer / phpunit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages