Skip to content

Commit

Permalink
Update unit tests:
Browse files Browse the repository at this point in the history
- add declare(strict_types = 1);
  • Loading branch information
webeweb committed Apr 5, 2024
1 parent d174e49 commit 902ee7a
Show file tree
Hide file tree
Showing 120 changed files with 240 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/AbstractTestCase.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Model/TestCredit.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Statistic/TestStatistics.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayActorsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayAdaptersTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayCategoriesTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayChannelsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayCommentatorsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayComposersTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayCountriesTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayDescsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayDirectorsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayDisplayNamesTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayEditorsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayEpisodeNumsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayGuestsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayIconsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayKeywordsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayPresentersTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayProducersTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayProgrammesTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayRatingsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayReviewsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayStarRatingsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArraySubtitlesTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayTitlesTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayUrlsTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Arrays/TestArrayWritersTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Objects/TestLanguageLanguageTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Objects/TestPresentPresentTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Objects/TestValueValueTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringChannelTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringStartTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringSystemTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/AbstractCreditTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/ActorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/AdapterTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/AspectTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/AudioTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/CategoryTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/ChannelTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/ColourTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/CommentatorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/ComposerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/CountryTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/CreditsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/DateTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/DescTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/DirectorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the xmltv-library package.
*
Expand Down
Loading

0 comments on commit 902ee7a

Please sign in to comment.