Skip to content

adrienroches-sensio/spns.oop.2024-10-08

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPC2 - 2024.10

Install

Clone this repository For example using SSH :

$ git clone [email protected]:adrienroches-sensio/spns.oop.2024-10-08.git

Then go inside the created directory and run :

$ composer install

Running tests

$ ./vendor/bin/phpunit --coverage-html ./coverage --testdox

For mutation testing :

$ ./vendor/bin/infection
$ # or
$ ./vendor/bin/infection --only-covered

Trying the app

$ php ./run.php

Trying patterns

$ # Singleton pattern
$ php ./pattern/singleton.php
$ # Container pattern
$ php ./pattern/container.php
$ # Proxy pattern
$ php ./pattern/proxy.php
$ # Play with iterators
$ php ./pattern/iterator.php

Play with Generics

See https://phpstan.org/r/b6e0257b-3e5d-441c-a2e0-a56121b745fc

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages