Skip to content

Commit

Permalink
Fix code style issues.
Browse files Browse the repository at this point in the history
In the latest release of PHP CS Fixer and empty body of class, interface, trait, enum or function
will be abbreviated as {} and placed on the same line as the previous symbol, separated by a single space.

Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
  • Loading branch information
stelgenhof committed Oct 10, 2023
1 parent 3be9528 commit 3c1928d
Show file tree
Hide file tree
Showing 192 changed files with 192 additions and 576 deletions.
4 changes: 1 addition & 3 deletions src/Yasumi/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Interface Exception.
*/
interface Exception
{
}
interface Exception {}
4 changes: 1 addition & 3 deletions src/Yasumi/Exception/InvalidYearException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
* @author Quentin Neyrat <quentin.neyrat@gmail.com>
*/
class InvalidYearException extends \InvalidArgumentException implements Exception
{
}
class InvalidYearException extends \InvalidArgumentException implements Exception {}
4 changes: 1 addition & 3 deletions src/Yasumi/Exception/ProviderNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@
*
* @author Quentin Neyrat <quentin.neyrat@gmail.com>
*/
class ProviderNotFoundException extends \InvalidArgumentException implements Exception
{
}
class ProviderNotFoundException extends \InvalidArgumentException implements Exception {}
4 changes: 1 addition & 3 deletions src/Yasumi/Exception/UnknownLocaleException.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class UnknownLocaleException.
*/
class UnknownLocaleException extends \InvalidArgumentException implements Exception
{
}
class UnknownLocaleException extends \InvalidArgumentException implements Exception {}
4 changes: 1 addition & 3 deletions tests/Australia/AustralianCapitalTerritory/AnzacDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing ANZAC day in Australian Capital Territory (Australia)..
*/
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest
{
}
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Australia day in Australian Capital Territory (Australia)..
*/
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest
{
}
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/AustralianCapitalTerritory/BoxingDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Boxing Day in Australian Capital Territory (Australia)..
*/
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest
{
}
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Christmas Day in Australian Capital Territory (Australia)..
*/
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest
{
}
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Easter Monday in Australian Capital Territory (Australia)..
*/
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest
{
}
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Good Friday in Australian Capital Territory (Australia)..
*/
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest
{
}
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing National Day of Mourning in Australian Capital Territory (Australia)..
*/
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest
{
}
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing New Years Day in Australian Capital Territory (Australia)..
*/
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest
{
}
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/AnzacDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing ANZAC day in New South Wales (Australia)..
*/
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest
{
}
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/AustraliaDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Australia day in New South Wales (Australia)..
*/
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest
{
}
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/BoxingDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Boxing Day in New South Wales (Australia)..
*/
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest
{
}
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/ChristmasDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Christmas Day in New South Wales (Australia)..
*/
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest
{
}
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/EasterMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Easter Monday in New South Wales (Australia)..
*/
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest
{
}
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/GoodFridayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Good Friday in New South Wales (Australia)..
*/
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest
{
}
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/NationalDayOfMourningTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing National Day of Mourning in New South Wales (Australia)..
*/
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest
{
}
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NewSouthWales/NewYearsDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing New Years Day in New South Wales (Australia)..
*/
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest
{
}
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/AnzacDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing ANZAC day in Northern Territory (Australia).
*/
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest
{
}
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/AustraliaDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Australia day in Northern Territory (Australia).
*/
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest
{
}
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/BoxingDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Boxing Day in Northern Territory (Australia).
*/
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest
{
}
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/ChristmasDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Christmas Day in Northern Territory (Australia).
*/
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest
{
}
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/EasterMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Easter Monday in Northern Territory (Australia).
*/
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest
{
}
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/GoodFridayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Good Friday in Northern Territory (Australia).
*/
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest
{
}
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing National Day of Mourning in Northern Territory (Australia)..
*/
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest
{
}
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest {}
4 changes: 1 addition & 3 deletions tests/Australia/NorthernTerritory/NewYearsDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing New Years Day in Northern Territory (Australia).
*/
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest
{
}
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/AnzacDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing ANZAC day in Queensland (Australia)..
*/
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest
{
}
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/AustraliaDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Australia day in Queensland (Australia)..
*/
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest
{
}
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/BoxingDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Boxing Day in Queensland (Australia)..
*/
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest
{
}
class BoxingDayTest extends \Yasumi\tests\Australia\BoxingDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/AnzacDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing ANZAC day in Brisbane (Australia)..
*/
class AnzacDayTest extends \Yasumi\tests\Australia\Queensland\AnzacDayTest
{
}
class AnzacDayTest extends \Yasumi\tests\Australia\Queensland\AnzacDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/AustraliaDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Australia day in Brisbane (Australia)..
*/
class AustraliaDayTest extends \Yasumi\tests\Australia\Queensland\AustraliaDayTest
{
}
class AustraliaDayTest extends \Yasumi\tests\Australia\Queensland\AustraliaDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/BoxingDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Boxing Day in Brisbane (Australia)..
*/
class BoxingDayTest extends \Yasumi\tests\Australia\Queensland\BoxingDayTest
{
}
class BoxingDayTest extends \Yasumi\tests\Australia\Queensland\BoxingDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/ChristmasDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Christmas Day in Brisbane (Australia)..
*/
class ChristmasDayTest extends \Yasumi\tests\Australia\Queensland\ChristmasDayTest
{
}
class ChristmasDayTest extends \Yasumi\tests\Australia\Queensland\ChristmasDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/EasterMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Easter Monday in Brisbane (Australia)..
*/
class EasterMondayTest extends \Yasumi\tests\Australia\Queensland\EasterMondayTest
{
}
class EasterMondayTest extends \Yasumi\tests\Australia\Queensland\EasterMondayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/GoodFridayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Good Friday in Brisbane (Australia)..
*/
class GoodFridayTest extends \Yasumi\tests\Australia\Queensland\GoodFridayTest
{
}
class GoodFridayTest extends \Yasumi\tests\Australia\Queensland\GoodFridayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/LabourDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Labour Day in Brisbane (Australia)..
*/
class LabourDayTest extends \Yasumi\tests\Australia\Queensland\LabourDayTest
{
}
class LabourDayTest extends \Yasumi\tests\Australia\Queensland\LabourDayTest {}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing National Day of Mourning in Brisbane (Australia)..
*/
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\Queensland\NationalDayOfMourningTest
{
}
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\Queensland\NationalDayOfMourningTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/NewYearsDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing New Years Day in Brisbane (Australia)..
*/
class NewYearsDayTest extends \Yasumi\tests\Australia\Queensland\NewYearsDayTest
{
}
class NewYearsDayTest extends \Yasumi\tests\Australia\Queensland\NewYearsDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/Brisbane/QueensBirthdayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Queen's Birthday in Brisbane (Australia)..
*/
class QueensBirthdayTest extends \Yasumi\tests\Australia\Queensland\QueensBirthdayTest
{
}
class QueensBirthdayTest extends \Yasumi\tests\Australia\Queensland\QueensBirthdayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/ChristmasDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Christmas Day in Queensland (Australia)..
*/
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest
{
}
class ChristmasDayTest extends \Yasumi\tests\Australia\ChristmasDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/EasterMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Easter Monday in Queensland (Australia)..
*/
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest
{
}
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/GoodFridayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Good Friday in Queensland (Australia)..
*/
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest
{
}
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/NationalDayOfMourningTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing National Day of Mourning in Queensland (Australia)..
*/
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest
{
}
class NationalDayOfMourningTest extends \Yasumi\tests\Australia\NationalDayOfMourningTest {}
4 changes: 1 addition & 3 deletions tests/Australia/Queensland/NewYearsDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing New Years Day in Queensland (Australia)..
*/
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest
{
}
class NewYearsDayTest extends \Yasumi\tests\Australia\NewYearsDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/SouthAustralia/AnzacDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing ANZAC day in South Australia (Australia)..
*/
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest
{
}
class AnzacDayTest extends \Yasumi\tests\Australia\AnzacDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/SouthAustralia/AustraliaDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Australia day in South Australia (Australia)..
*/
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest
{
}
class AustraliaDayTest extends \Yasumi\tests\Australia\AustraliaDayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/SouthAustralia/EasterMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Easter Monday in South Australia (Australia)..
*/
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest
{
}
class EasterMondayTest extends \Yasumi\tests\Australia\EasterMondayTest {}
4 changes: 1 addition & 3 deletions tests/Australia/SouthAustralia/GoodFridayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
/**
* Class for testing Good Friday in South Australia (Australia)..
*/
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest
{
}
class GoodFridayTest extends \Yasumi\tests\Australia\GoodFridayTest {}
Loading

0 comments on commit 3c1928d

Please sign in to comment.