diff --git a/README.md b/README.md index 669414b..dbe3729 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ then you should add it as a development-time dependency: forProjects(); +return Factory::create(new Nexus82())->forProjects(); ``` @@ -61,10 +61,10 @@ two optional arguments (the email address and starting year of license). forProjects(); -+return Factory::create(new Nexus73())->forLibrary('My Library', 'John Doe', 'john@doe.com', 2020); +-return Factory::create(new Nexus82())->forProjects(); ++return Factory::create(new Nexus82())->forLibrary('My Library', 'John Doe', 'john@doe.com', 2020); ``` This setting will configure a license header similar to below: @@ -93,10 +93,10 @@ these will not be shown on the license header allowing flexibility on the copyri forProjects(); -+return Factory::create(new Nexus73())->forLibrary('My Library', 'John Doe'); +-return Factory::create(new Nexus82())->forProjects(); ++return Factory::create(new Nexus82())->forLibrary('My Library', 'John Doe'); ``` This will give the following license header: @@ -124,10 +124,10 @@ If you feel that a specific rule in the ruleset is not appropriate for you, you forProjects(); -+return Factory::create(new Nexus73(), [ +-return Factory::create(new Nexus82())->forProjects(); ++return Factory::create(new Nexus82(), [ + 'binary_operator_spaces' => false, +])->forProjects(); @@ -159,10 +159,10 @@ containing your desired options. forProjects(); -+return Factory::create(new Nexus73(), [], [ +-return Factory::create(new Nexus82())->forProjects(); ++return Factory::create(new Nexus82(), [], [ + 'usingCache' => false, + 'hideProgress => true, +])->forProjects(); @@ -194,7 +194,7 @@ final class MyCompany extends AbstractRuleset '@PSR2' => true, ... ]; - $this->requiredPHPVersion = 70400; + $this->requiredPHPVersion = 80200; $this->autoActivateIsRiskyAllowed = true; } }