Skip to content

Commit

Permalink
Merge branch 'dev-4.6'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/Condorcet.php
  • Loading branch information
julien-boudry committed Jan 28, 2024
2 parents 6780c60 + 3abadd2 commit 574e257
Show file tree
Hide file tree
Showing 111 changed files with 3,648 additions and 4,155 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://blockchair.com/bitcoin/address/bc1qesj74vczsetqjkfcwqymyns9hl6k220dhl0sr9 # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
custom: https://blockchair.com/bitcoin/address/bc1q3jllk3qd9fjvvuqy07tawkv7t6h7qjf55fc2gh # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ CHANGELOG
=========
All notable changes to this project will be documented in this file.

## [v4.6.0] - 2024-01-28
### Description
Half-migration of tests to PestPHP.

### Added
- Experimental WoollyM PHP DataFrame driver.

## [v4.5.1] - 2023-12-01
### Description
Support for Symfony 7 components

## [v4.5.0] - 2023-07-11
### Description
A major release, including two new voting methods, additions to the internal API, and additions to the public API. It also comes with its fair share of refinements and fixes in various areas, notably the Console.
Expand Down
42 changes: 21 additions & 21 deletions Dev/CondorcetDocumentationGenerator/BookLibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@

enum BookLibrary: string
{
public const BASE = Generate::BOOK_URL.'/3.AsPhpLibrary/';
public const BASE = Generate::BOOK_URL . '/3.AsPhpLibrary/';

case VotingMethods = Generate::BOOK_URL.'/VotingMethods';
case VotingMethods = Generate::BOOK_URL . '/VotingMethods';

case Installation = self::BASE.'1.Installation';
case Flow = self::BASE.'2.WorkFlow';
case Installation = self::BASE . '1.Installation';
case Flow = self::BASE . '2.WorkFlow';

case Election = self::BASE.'3.CreateAnElection';
case Election = self::BASE . '3.CreateAnElection';

case Candidates = self::BASE.'4.Candidates';
case Candidates = self::BASE . '4.Candidates';

case Votes = self::BASE.'5.Votes/1.AddVotes';
case AddVotes = self::BASE.'5.Votes/1.AddVotes';
case VotesTags = self::BASE.'5.Votes/2.VotesTags';
case ManageVotes = self::BASE.'5.Votes/3.ManageVotes';
case VotesConstraints = self::BASE.'5.Votes/4.VoteConstraints';
case VoteWeight = self::BASE.'5.Votes/5.VoteWeight';
case Votes = self::BASE . '5.Votes/1.AddVotes';
case AddVotes = self::BASE . '5.Votes/1.AddVotes';
case VotesTags = self::BASE . '5.Votes/2.VotesTags';
case ManageVotes = self::BASE . '5.Votes/3.ManageVotes';
case VotesConstraints = self::BASE . '5.Votes/4.VoteConstraints';
case VoteWeight = self::BASE . '5.Votes/5.VoteWeight';

case Results = self::BASE.'.AddVotes';
case ResultsWinner = self::BASE.'6.Results/1.WinnerAndLoser';
case ResultsRanking = self::BASE.'6.Results/2.FullRanking';
case ResultsImplicitExplicit = self::BASE.'6.Results/4.ImplicitOrExplicitMod';
case ResultsVotingMethods = self::BASE.'6.Results/5.VotingMethods';
case Results = self::BASE . '.AddVotes';
case ResultsWinner = self::BASE . '6.Results/1.WinnerAndLoser';
case ResultsRanking = self::BASE . '6.Results/2.FullRanking';
case ResultsImplicitExplicit = self::BASE . '6.Results/4.ImplicitOrExplicitMod';
case ResultsVotingMethods = self::BASE . '6.Results/5.VotingMethods';

case Crypto = self::BASE.'7.GoFurther/CryptographicChecksum';
case ElectionFilesFormats = self::BASE.'7.GoFurther/ElectionFilesFormats';
case MassiveElection = self::BASE.'7.GoFurther/GetStarteToHandleMillionsOfVotes';
case Timer = self::BASE.'7.GoFurther/TimerBenchMarking';
case Crypto = self::BASE . '7.GoFurther/CryptographicChecksum';
case ElectionFilesFormats = self::BASE . '7.GoFurther/ElectionFilesFormats';
case MassiveElection = self::BASE . '7.GoFurther/GetStarteToHandleMillionsOfVotes';
case Timer = self::BASE . '7.GoFurther/TimerBenchMarking';
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@
#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
class Book
{
public function __construct(public readonly BookLibrary $chapter)
{
}
public function __construct(public readonly BookLibrary $chapter) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
#[Attribute(Attribute::TARGET_METHOD)]
class Description
{
public function __construct(public readonly string $text)
{
}
public function __construct(public readonly string $text) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
class Example
{
public function __construct(public readonly string $name, public readonly string $link)
{
}
public function __construct(public readonly string $name, public readonly string $link) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ class FunctionParameter

public function __construct(string $text)
{
$this->text = (mb_substr($text, -1) === '.') ? $text : $text.'.';
$this->text = (mb_substr($text, -1) === '.') ? $text : $text . '.';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
#[Attribute(Attribute::TARGET_METHOD)]
class FunctionReturn
{
public function __construct(public readonly string $text)
{
}
public function __construct(public readonly string $text) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@
use Attribute;

#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY | Attribute::TARGET_CLASS_CONSTANT | Attribute::TARGET_CLASS)]
class InternalModulesAPI
{
}
class InternalModulesAPI {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY | Attribute::TARGET_CLASS_CONSTANT | Attribute::TARGET_CLASS)]
class PublicAPI extends InternalModulesAPI
{
public function __construct(string ...$class)
{
}
public function __construct(string ...$class) {}
}
Loading

0 comments on commit 574e257

Please sign in to comment.